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 | ||
projects:crazyradio:dev_env [2012-02-20 22:01] arnaud |
projects:crazyradio:dev_env [2016-09-22 09:54] arnaud |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Crazyradio development environment ====== | ====== Crazyradio development environment ====== | ||
- | The crazyradio dongle is based on a Nordic semiconductor nRF24LU1 chip. This chip contains a 8051-compatible microcontroller and is programmed using the SDCC compiler. | + | The crazyradio dongle is based on a Nordic semiconductor nRF24LU1 chip. This chip contains a 8051-compatible microcontroller and is programmed using the SDCC compiler. For compiling instruction see the project [[https:// |
- | As of version 0.31 the dongle program must be compiled with an SDCC version < 3.0 because of some register declaration are broken with SDCC 3. | + | ===== Documentation |
- | + | ||
- | ===== Compilation ===== | + | |
- | + | ||
- | These instruction works on a recent (as of 2012-02) linux distribution: | + | |
- | + | ||
- | * Download SDCC 2.9 http:// | + | |
- | * Extract SDCC in your home folder | + | |
- | * The radio can be compiled as follow: | + | |
- | <code bash> | + | |
- | [crazyradio]$ export SDCC=~/ | + | |
- | [crazyradio]$ make | + | |
- | mkdir -p bin | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | objcopy -I ihex bin/ | + | |
- | [crazyradio]$ | + | |
- | </ | + | |
- | * // | + | |
- | + | ||
- | ===== Documentations | + | |
{{: | {{: | ||