cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I download a library for the STM32F303K8 Nucleo MCU

Deep Shah
Associate II
Posted on December 06, 2016 at 09:50

This is my first microcontroller besides an HCS12 I used in class, and I am a little confused. I have updated the firmware to the latest version, and have used mbed to do a blink LED and test the GPIO. However, this is all done from pre-built functions. Where can I find the library for the Nucleo STM32F303K8 board to create my own programs? Thanks in advanced.

#beginner #stm32 #nucleo #library #stm32f3 #stm32_usb_device_library
6 REPLIES 6
Walid FTITI_O
Senior II
Posted on December 06, 2016 at 10:13

Hi

deepshah93

,

You can create you own project using the STM32CubeF3 library wich can be dowloaded from this

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef3.html

. For STM32F303K8-Nucelo go to this path STM32Cube_FW_F3_V1.6.0\Projects\STM32F303K8-Nucleo . Check the ready-to-use example there and start you own project by using the template project.

-Walid F-

Posted on December 07, 2016 at 06:54

Thank you! This may sound silly, but to put this project onto the MCU, do I just put the main.c, main.h, and related files into the MCU from Windows Explorer? Mbed generates a .bin file and I was not sure if I upload the files generated from STM32Cube into mbed so they can be compiled into a .bin file.

Posted on December 07, 2016 at 09:49

Hi

deepshah93

,

For mbed project, I recommend that youuse the mbed compiler at this

https://developer.mbed.org/handbook/mbed-Compiler

which allow you to import the Cube library.

-Walid F-

Posted on December 14, 2016 at 01:27

I am able to create new projects using mbed with importing the stm32f30x.h library, but I still do not know how to import the Cube library that I create. I tried to import it and received many errors.

Posted on December 14, 2016 at 01:43

I used the modified Eclipse program and saw when I build the application there is a .bin file in the debug folder, is this what I will be transferring to the MCU?

Posted on December 14, 2016 at 11:43

you would follow relevant handbook guide lines n the mbed web site ->

https://developer.mbed.org/handbook/Importing-code