diff --git a/firmware/README.building b/firmware/README.building new file mode 100644 index 0000000..954edae --- /dev/null +++ b/firmware/README.building @@ -0,0 +1,32 @@ +make flags supported by this Makefile + +APP= +- builds "application" foo (check .c and the 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= (=l0dable.bin) + +# build all l0dables +make l0dables + +#build one l0dable +cd l0dables && make .c0d