-
Notifications
You must be signed in to change notification settings - Fork 35
Build the firmware
Paul RATHGEB edited this page Apr 21, 2015
·
1 revision
In order to build the firmware, you'll need to install LPCXpresso and activate it for the free edition. LPCXpresso can be downloaded from here : http://www.lpcware.com/lpcxpresso/download Once downloaded and installed, LPCXpresso must be activated from the Help / Activate menu.
To prepare all the needed file to build the firmware, follow these steps:
mkdir UPER_FW
cd UPER_FW
git clone https://github.com/ks156/UPER
git clone https://github.com/8devices/MemoryManager
git clone https://github.com/GiedriusM/SFP
- On the file menu, click on New -> Project...
- Select a C/C++ -> C Project, and click next
- Write MemoryManager as project name. Uncheck Use default location, and point to the MemoryManager files
- Select Static Library -> Empty project as Project type, and Code Red MCU tools as toolchain
- In the next screen, be sure that DEBUG and RELEASE are checked, and click next
- Select the correct MCU : LPC11Uxx -> LPC11U34/421 and click finish
- On the file menu, click on New -> Project...
- Select a C/C++ -> C Project, and click next
- Write SFP as project name. Uncheck Use default location, and point to the SFP files
- Select Static Library -> Empty project as Project type, and Code Red MCU tools as toolchain
- In the next screen, be sure that DEBUG and RELEASE are checked, and click next
- Select the correct MCU : LPC11Uxx -> LPC11U34/421 and click finish
- On the file menu, click on New -> Project...
- Select a C/C++ -> C Project, and click next
- Write UPER as project name. Uncheck Use default location, and point to the UPER files
- Select Executable -> Empty project as Project type, and Code Red MCU tools as toolchain
- In the next screen, be sure that DEBUG and RELEASE are checked, and click next
- Select the correct MCU : LPC11Uxx -> LPC11U34/421 and click finish
The easiest way to set all the build variables for the three project is to simply download .cproject files, and replace those automatically created by LPCXpresso.
To do it, first close the IDE, and then follow the instructions:
curl -o .cproject https://raw.githubusercontent.com/ks156/misc/master/lpc/memorymanager_cproject
cp .cproject MemoryManager/.cproject
curl -o .cproject https://raw.githubusercontent.com/ks156/misc/master/lpc/sfp_cproject
cp .cproject SFP/.cproject
curl -o .cproject https://raw.githubusercontent.com/ks156/misc/master/lpc/uper_cproject
cp .cproject UPER/.cproject
The project settings will be applied at next IDE starts.
TODO
- Home
- WeIO Recovery - Manual Update
- Supported Hardware
- How-to extend WeIO flash space
- WeIO Super Starter Kit Components
- OTA Updates
- Troubleshooting
- Misc
- Developer Pages