crashtest-r0ket/firmware
Stefan `Sec` Zehl 2c84b74397 Fix some warnings. 2012-01-28 19:42:44 +01:00
..
applications Add new/better snake.c from git://github.com/MascHman/r0ket.git 2012-01-28 18:53:02 +01:00
basic Fix some warnings. 2012-01-28 19:42:44 +01:00
core Make memcpy smaller. We don't need the speed :) 2012-01-27 22:42:56 +01:00
filesystem keep scrolling when the button keeps being pressed 2012-01-28 18:27:55 +01:00
flame moved flame code into core 2011-12-22 14:33:48 +01:00
funk revert part of eee6ae55 (mistakenly committed) 2012-01-26 23:49:37 +01:00
l0dable Fix some warnings. 2012-01-28 19:42:44 +01:00
lcd Fix all warnings (except table.c and ff.c). Turn off "unused function" warnings 2011-12-23 01:07:48 +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 Update gitignore 2012-01-28 18:34:43 +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 Sanitize linking for main firmware, too. 2012-01-27 22:33:44 +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 Fix some warnings. 2012-01-28 19:42:44 +01: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