-
Notifications
You must be signed in to change notification settings - Fork 40
Running on STM targets
brabo edited this page Mar 12, 2016
·
5 revisions
#Running on STM targets#
##Building##
First off you need to run make menuconfig
in the frosted directory to select your hardware.
It is important to verify you have the correct settings for your hardware in the Platform selection:
- Architecture
- MCU
- Clock speed
- Board (if applicable)
If you want to use a UART you will need to select it under Subsystems > Devices > Generic UART driver > USART 1
You can also select which userland programs will be built. In order to do so, enter the frosted-userland directory and run make menuconfig
there as well.
Afterwards, go up one directory to the frosted root again and run make
.
#Flashing# Once the build completed, you can flash to the board with:
st-flash write image.bin 0x08000000