User Tools

Site Tools


projects:crazyradio:dev_env

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
Last revision Both sides next revision
projects:crazyradio:dev_env [2013-12-03 09:14]
macke
projects:crazyradio:dev_env [2019-09-05 14:53]
kimberly
Line 1: Line 1:
-====== Crazyradio development environment ======+<WRAP center round important 60%> 
 +This page is deprecated and is moved to the main Bitcraze website. Please go to:
  
-The crazyradio dongle is based on a Nordic semiconductor nRF24LU1 chipThis chip contains a 8051-compatible microcontroller and is programmed using the SDCC compiler.+ [[ 
 +https://www.bitcraze.io/docs/crazyradio-firmware/master/dev_env/ 
 +]]
  
-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.+</WRAP>
  
-From version 0.4 the dongle firmware has been ported to SDCC 3.0. So it can be compiled out of the box without the need of an old SDCC version. 
  
-===== Compilation ===== +====== Crazyradio development environment ======
- +
-These instruction works on a recent (as of 2012-02) linux distribution:+
  
-  * Download SDCC 3.2 http://sourceforge.net/projects/sdcc/files/sdcc-linux-x86/3.2.0/ +The crazyradio dongle is based on a Nordic semiconductor nRF24LU1 chipThis chip contains a 8051-compatible microcontroller and is programmed using the SDCC compilerFor compiling instruction see the project [[https://github.com/bitcraze/crazyradio-firmware#bitcraze-crazyradio-dongle-|readme on github]].
-  * Extract SDCC in your home folder +
-  * The radio can be compiled as follow: +
-<code bash> +
-[crazyradio]$ export SDCC=~/sdcc/bin/sdcc +
-[crazyradio]$ make +
-mkdir -p bin +
-/home/arnaud/sdcc/bin/sdcc -Iinc/ --model-medium -c src/main.c -o bin/main.rel +
-/home/arnaud/sdcc/bin/sdcc -Iinc/ --model-medium -c src/radio.c -o bin/radio.rel +
-/home/arnaud/sdcc/bin/sdcc -Iinc/ --model-medium -c src/usb.c -o bin/usb.rel +
-/home/arnaud/sdcc/bin/sdcc -Iinc/ --model-medium -c src/usbDescriptor.c -o bin/usbDescriptor.rel +
-/home/arnaud/sdcc/bin/sdcc -Iinc/ --model-medium -c src/led.c -o bin/led.rel +
-/home/arnaud/sdcc/bin/sdcc --xram-loc 0x8000 --xram-size 2048 --model-medium bin/main.rel bin/radio.rel bin/usb.rel bin/usbDescriptor.rel bin/led.rel -o bin/cradio.ihx +
-objcopy -I ihex bin/cradio.ihx -O binary bin/cradio.bin +
-[crazyradio]$  +
-</code> +
-  * //cradio.ihx// can be programmed with the USB bootloader. //cradio.bin// is to be used with the SPI flasher //nrfprog//+
  
 ===== Documentation ===== ===== Documentation =====
projects/crazyradio/dev_env.txt · Last modified: 2020-05-12 14:12 by kimberly