Simple Blinky program for the LPC4337 using CPM chip libraries.
This projects assumes our specific breakout board for the LPC4337 chip, however it is easily adapted to different board configurations.
NOTE: this project assumes a flash-based lpc43xx microcontroller, such as the lpc4337. (there are also flashless lpc43xx microcontrollers that don't have internal flash memory).
NOTE this project assumes you are running a compatible bootloader, for example the bootloader43xx_sdcard
These need to be installed and available in your PATH.
Clone the project, and inside the project folder do:
mkdir build
cd build
cmake ..
make
This assumes you have openocd installed.
Also, note that this project assumes a bootloader is used (see the bootloader43xx_sdcard for example).
To use this firmware directly without any bootloader, simply edit link.ld and CMakeLists.txt and replace 0x1A008000
with 0x1A000000
(this is the address in flash where the firmware is placed).
run this from the build dir, see build step
make flash
If everything went right, the firmware should be running and blinking some LEDS.