User Tools

Site Tools


manual:demos:nucleo_f091rc_gcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:13]
voorburg
manual:demos:nucleo_f091rc_gcc [2017/07/19 15:16]
voorburg [Building the Demo Program]
Line 28: Line 28:
 Before the bootloader can be used, it needs to be built and programmed into the STM32F091'​s internal flash memory. The steps in this section only need to be done once. Before the bootloader can be used, it needs to be built and programmed into the STM32F091'​s internal flash memory. The steps in this section only need to be done once.
  
-To build the bootloader, open a command prompt in directory **\Target\Demo\RMCM0_STM32F0_Nucleo_F091RC_GCC\Boot\** and run the command:+To build the bootloader, open a command prompt in directory **\Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Boot\** and run the command:
  
 <​code>​ <​code>​
Line 56: Line 56:
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
-When using EmBitzsimply ​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:
  
-The output ​file is+<​code>​ 
 +make clean all 
 +</​code>​ 
 +  
 +The expected ​output is:
  
-  * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec**+<​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
  
 +  * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**emoprog_stm32f091.srec**
  
 ===== Firmware update procedure ===== ===== Firmware update procedure =====
manual/demos/nucleo_f091rc_gcc.txt · Last modified: 2023/12/04 22:17 by voorburg