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:ek_lm3s6965_gcc [2017/08/16 15:39] voorburg |
manual:demos:ek_lm3s6965_gcc [2017/08/16 15:40] voorburg [Building the Demo Program] |
||
---|---|---|---|
Line 29: | Line 29: | ||
Before the bootloader can be used, it needs to be built and programmed into the LM3S6965'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 LM3S6965's internal flash memory. The steps in this section only need to be done once. | ||
- | Batch files are added to aid in building the software program. First clean the bootloader program by double-clicking the file "\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\**Boot**\cmd\**clean.bat**". Next, build the bootloader program by double-clicking the file "\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\**Boot**\cmd\**build.bat**". The output should look like: | + | To build the bootloader, open a command prompt in directory **\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\Boot\** and run the command: |
+ | |||
+ | <code> | ||
+ | make clean all | ||
+ | </code> | ||
+ | |||
+ | The expected output is: | ||
<code> | <code> | ||
Line 48: | Line 54: | ||
===== Building the Demo Program ===== | ===== Building the Demo Program ===== | ||
- | Batch files are added to aid in building the demo program. First clean the demo program by double-clicking the file "\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\**Prog**\cmd\**clean.bat**". Next, build the demo program by double-clicking the file "\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\**Prog**\cmd\**build.bat**". The output should look like: | + | To build the user program, open a command prompt in directory **\Target\Demo\ARMCM3_LM3S_EK_LM3S6965_GCC\Prog\** and run the command: |
+ | |||
+ | <code> | ||
+ | make clean all | ||
+ | </code> | ||
+ | |||
+ | The expected output is: | ||
<code> | <code> |