Custom target boards support for legacy NXP LPC series MCUs
$ mbed import https://github.com/toyowata/nxp-legacy-lpc-mbed6
$ cd nxp-legacy-lpc-mbed6
$ mbed compile -m AE_LPC11U35_MB -t gcc_arm --flash
$ mbed-tools import https://github.com/toyowata/nxp-legacy-lpc-mbed6
$ cd nxp-legacy-lpc-mbed6
$ mbed-tools compile -m LPC11U68 -t gcc_arm
$ python postbuild.py {build_dir}/nxp-legacy-lpc-mbed6.bin
$ cp -X {build_dir}/nxp-legacy-lpc-mbed6.bin {mbed_drive}
- Launch Mbed Studio application
- Menu [File] - [Import Program...]
- Put
https://github.com/toyowata/nxp-legacy-lpc-mbed6
in the URL box - Press
Add Program
button - Select target and build program
Board | Target name |
---|---|
Akizuki denshi AE-LPC11U35-MB | AE_LPC11U35_MB |
Crane Electronics Airio Base | AIRIO_BASE |
Switch Science mbed LPC824 | SSCI824 |
NXP LPCXpresso824-MAX | LPC824 |
NXP LPCXpresso1549 | LPC1549 |
NXP LPCXpresso1769 (OM13085) | LPC1769 |
NXP LPCXpresso11U68 | LPC11U68 |
- DAPLink interface firmware for AE-LPC11U35-MB ae-lpc11u35-mb_crc.zip
Reference: https://qiita.com/toyowata/items/a57ee1dfa884b29c298d - DAPLink interface firmware for Airio Base lpc11u35_airio_base_if_crc.bin
- DAPLink interface firmware for NXP LPCXpresso1769 (OM13085) lpc11u35_lpc1769_if_crc.bin
Reference: https://os.mbed.com/users/MACRUM/notebook/lpcxpresso1769-om13085/
https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-ls#mocking-renaming-platforms
Example: Adding AE-LPC11U35-MB custom target
$ mbedls --mock CA00:AE_LPC11U35_MB
Remove "bare-metal"
from requires
key in the mbed_app.json.
"requires": ["bare-metal"],
- None