crashtest-r0ket/firmware
Stefan `Sec` Zehl 5a71fbd1ee New fahrplan from ray 2012-04-07 19:15:17 +02:00
..
applications Add new/better snake.c from git://github.com/MascHman/r0ket.git 2012-01-28 18:53:02 +01:00
basic Do UUID init globally. Increase firmware version 2012-04-03 14:24:22 +02:00
core Make memcpy smaller. We don't need the speed :) 2012-01-27 22:42:56 +01:00
filesystem Better start l0dable with no keys pressed. Most don't like it. 2012-01-31 17:49:20 +01:00
flame moved flame code into core 2011-12-22 14:33:48 +01:00
funk Merge branch 'master' of github.com:r0ket/r0ket 2012-04-02 13:47:15 +02:00
l0dable New fahrplan from ray 2012-04-07 19:15:17 +02:00
lcd Revert "Refactor to make the LCD initialization be data driven code" 2012-02-06 21:01:37 +01:00
lpc1xxx disabled CRP in linker script 2011-12-12 21:06:57 +01:00
usb Avoid duplicate symbols in usbhid.o and usbmsc.o 2011-08-12 19:10:38 +02:00
usbcdc usbcdc: increased ringbuffer size 2011-12-23 00:33:09 +01:00
.gitignore Generate linker map-file, to better judge space consumption 2012-02-01 04:55:22 +01:00
BRIDGE-PROTOCOL added bridge protocol 2011-12-11 16:15:05 +01:00
LICENSE added license 2011-06-20 23:03:56 +02:00
Makefile Generate linker map-file, to better judge space consumption 2012-02-01 04:55:22 +01:00
Makefile.inc Sanitize linking for main firmware, too. 2012-01-27 22:33:44 +01:00
Makefile.util Fix build on Mac OS X 2011-08-01 05:45:16 +02:00
README.building Add some notes for people using a standard cross-gcc 2012-01-28 18:10:16 +01:00
SECRETS disabled all crypto 2011-12-18 01:59:57 +01:00
SECRETS.release disabled all crypto 2011-12-18 01:59:57 +01:00
SERIAL_DOKU rudimentary filter stuff 2011-08-06 17:32:22 +02:00
getkey.pl ENCRYPT. WE ARE APPLE! :-) 2011-08-05 19:55:29 +02:00
main.c Do UUID init globally. Increase firmware version 2012-04-03 14:24:22 +02:00
release-all Make release-all able to take $MAKE for non-gnumake systems 2012-01-28 18:04:44 +01:00
sysdefs.h Remove duplicate sydefs.h confusion. 2012-01-15 14:04:26 +01:00

README.building

### A note on the compiler
We are currently using the CodeSourcery gcc (see wiki for link).
You can also use a standard arm cross-gcc
 (https://github.com/esden/summon-arm-toolchain)
but please note that this creates larger binaries.
We are talking about 100-200 bytes for firmware.bin,
you will run into space problems with the default firmware.
Sorry about that.

### Make flags supported by this Makefile

APP=<foo>
- builds "application" foo (check <foo>.c and the <foo> subdir in applications/)

TABLE=NO
- removes jumptable from the firmware -- firmware will be smaller but will
  not support l0dables

USBSERIAL=YES
- builds with usb serial code instead of usb mass storage code.
NOTE: need to run "make clean" before changing this flag.

Some examples:

# build official firmware (firmware.bin)
make

# build interactive RF test firmware (=serial.bin)
make APP=serial TABLE=NO USBSERIAL=YES clean all

# build RF bridge firmware (e.g. game server r0ket) (=bridge.bin)
make APP=bridge TABLE=NO USBSERIAL=YES clean all

# build one l0dable as a firmware (for standalone testing or simulat0r)
make APP=l0dable LAPP=<l0dablename> (=l0dable.bin)

# build all l0dables
make l0dables

# build one l0dable
cd l0dables && make <l0dablename>.c0d