Programming LPC2148 with GNU Arm Embedded Toolchain, Makefile and lpc21isp
- This is a template project to show how LPC2148 can be programmed with GCC and Makefile
- Edit
project.mk
to add more files to the project, configure build or upload options
- Run
make PORT=COMx upload
to compile and upload the program.
Debian based Linux distros (Eg: Ubuntu)
- Install GNU Arm Embedded, GNU Make and LPC21xx ISP Flash tool
$ sudo apt install gcc-arm-none-eabi make lpc21isp
- Run
make PORT=/dev/ttyUSBx upload
to compile and upload the program. Replace x
by COM port number.