build_your_own_firmware
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| build_your_own_firmware [2013/10/03 15:05] – created breaker27 | build_your_own_firmware [2013/10/05 10:37] (current) – breaker27 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Get a copy of the project, if you haven' | Get a copy of the project, if you haven' | ||
| - | Go into the base station firmware directory, build the firmware | ||
| - | < | + | Go into the subdirectory of the device you want to build (e.g. " |
| - | pi@ninjablock | + | |
| + | < | ||
| + | john@doe:~/shc/ | ||
| avr-gcc -c -gdwarf-2 -DF_CPU=20000000UL -DUART_BAUD_RATE=19200UL -DUART_RX=1UL -Os -mmcu=atmega328 -I. -fdata-sections -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -std=c99 | avr-gcc -c -gdwarf-2 -DF_CPU=20000000UL -DUART_BAUD_RATE=19200UL -DUART_RX=1UL -Os -mmcu=atmega328 -I. -fdata-sections -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -std=c99 | ||
| [...] | [...] | ||
| Line 19: | Line 20: | ||
| | | ||
| 17264 33 | 17264 33 | ||
| - | pi@ninjablock | + | john@doe:~/shc/ |
| </ | </ | ||
| + | |||
| + | The resulting files are stores in the **bin** subdirectory from where you started the make command. | ||
build_your_own_firmware.1380805529.txt.gz · Last modified: 2013/10/04 18:56 (external edit)