crashtest-r0ket/firmware
Stefan `Sec` Zehl 3e22f2b652 Some documentation for the Makefile system here 2012-01-02 23:57:06 +01:00
..
applications fxed flame code 2011-12-25 14:12:30 +01:00
basic Fix all warnings (except table.c and ff.c). Turn off "unused function" warnings 2011-12-23 01:07:48 +01:00
core Add USBSERIAL=YES to avoid the need for editing projectconfig.h 2012-01-02 23:54:46 +01:00
filesystem Fix all warnings (except table.c and ff.c). Turn off "unused function" warnings 2011-12-23 01:07:48 +01:00
flame moved flame code into core 2011-12-22 14:33:48 +01:00
funk Change MAC for fixed mesh 2011-12-28 01:44:30 +01:00
l0dable unions need to be packed 2012-01-02 21:26:45 +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 ENCRYPT. WE ARE APPLE! :-) 2011-08-05 19:55:29 +02: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 Make "make flash" honor the APP= firmware name 2012-01-02 23:56:41 +01:00
Makefile.inc Add USBSERIAL=YES to avoid the need for editing projectconfig.h 2012-01-02 23:54:46 +01:00
Makefile.util Fix build on Mac OS X 2011-08-01 05:45:16 +02:00
README.building Some documentation for the Makefile system here 2012-01-02 23:57:06 +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 forgot to increment version number. 2011-12-28 12:49:23 +01:00
release-all Support for extra (non-executable) files 2011-12-23 11:05:13 +01:00
sysdefs.h Disable memcpy/memmove optimazation in simulat0r, it collides with the efforts not to interfere with libc 2011-08-06 16:41:58 +02:00

README.building

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