====== Building Pixy Firmware ====== Pixy currently uses [[http://www.keil.com/arm/mdk.asp|Keil MDK-ARM version 5]]. Keil is basically free for university users, but requires a paid license normally. To compile the firmware with Keil, you just point the IDE to the "workspace.uvmpw" workspace file in ~src/device/main\_m4. It will open a workspace with 4 different projects: main\_m4, main\_m0, libpixy\_m0, libpixy\_m4. Compile the 4 projects in this order: libpixy\_m4, libpixy\_m0, main\_m0, then finally the main\_m4 project. The main\_m4 project will create a firmware.hex output file that you can then upload into Pixy using [[wiki:v2:Uploading_New_Firmware|firmware upload mode]]. If you'd like to modify or create your own firmware using a (practically) free tool from NXP (LPCXpresso), which uses GCC, please join our [[https://groups.google.com/forum/#!forum/pixy_firmware_sdk|firmware SDK group.]] LPCXpresso support for the Pixy2 firmware hasn't been added yet, but it should (hopefully!) be straightforward.