This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:demos:nucleo_f091rc_gcc [2017/07/19 15:14] voorburg [Building and programming the Bootloader] |
manual:demos:nucleo_f091rc_gcc [2019/09/24 22:12] 127.0.0.1 external edit |
||
---|---|---|---|
Line 56: | Line 56: | ||
===== Building the Demo Program ===== | ===== Building the Demo Program ===== | ||
- | When using EmBitz, simply open the project file by double-clicking the file: \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\ide\**stm32f091.ebp** from the Windows Explorer. To build the demo program, select //Build -> Rebuild all target files// from the program's menu. | + | To build the user program, open a command prompt in directory **\Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Prog\** and run the command: |
+ | |||
+ | <code> | ||
+ | make clean all | ||
+ | </code> | ||
+ | |||
+ | The expected output is: | ||
+ | |||
+ | <code> | ||
+ | +++ Cleaning build environment | ||
+ | +++ Clean complete | ||
+ | +++ Assembling [startup_stm32f0xx.S] | ||
+ | +++ Compiling [boot.c] | ||
+ | +++ Compiling [main.c] | ||
+ | ... | ||
+ | +++ Linking [demoprog_stm32f091.elf] | ||
+ | ... | ||
+ | +++ Build complete [demoprog_stm32f091.srec] | ||
+ | |||
+ | </code> | ||
The output file is | The output file is | ||
* \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec** | * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec** | ||
- | |||
===== Firmware update procedure ===== | ===== Firmware update procedure ===== |