This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:v1:building_pixy_firmware [2017/12/19 21:33] jfrench - Imported by DokuWiki Advanced Plugin |
wiki:v1:building_pixy_firmware [2018/01/10 19:32] (current) jfrench escaped underscores |
||
---|---|---|---|
Line 7: | Line 7: | ||
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]]. We were one of the first users of the LCP4300 series from NXP and Keil was the only toolchain with comprehensive support. | ||
- | Keil is basically free for university users, but costs real money for everyone else. The firmware will eventually be converted to compile with GCC, hopefully soon. | + | Keil is basically free for university users, but costs real money for everyone else. |
- | 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:v1: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:v1:Uploading_New_Firmware|firmware upload mode]]. |
- | If you'd like to modify or create your own firmware, 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 free tool from NXP (LPCXpresso), which uses GCC, please join our [[https://groups.google.com/forum/#!forum/pixy_firmware_sdk|firmware SDK group.]] |