This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:v2:building_pixy_firmware [2018/04/09 21:52] jfrench - Imported by DokuWiki Advanced Plugin |
wiki:v2:building_pixy_firmware [2018/06/12 13:41] (current) pixycam |
||
---|---|---|---|
Line 5: | Line 5: | ||
====== Building Pixy Firmware ====== | ====== Building Pixy Firmware ====== | ||
- | Pixy currently uses [[http://www.keil.com/arm/mdk.asp|Keil MDK-ARM]]. We were one of the first users of the LCP4300 series from NXP and Keil was the only toolchain with comprehensive support. | + | Pixy currently uses [[http://www.keil.com/arm/mdk.asp|Keil MDK-ARM version 5]]. |
- | Keil is basically free for university users, but costs real money for everyone else. | + | 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]]. | 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 free tool from NXP (LPCXpresso), which uses GCC, please join our [[https://groups.google.com/forum/#!forum/pixy_firmware_sdk|firmware SDK group.]] | + | 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. |