build_your_own_firmware
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
build_your_own_firmware [2013/10/04 18:56] – external edit 127.0.0.1 | 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.txt · Last modified: 2013/10/05 10:37 by breaker27