Skip to content

Custom target boards support for legacy NXP LPC series MCU on Mbed OS6

License

Notifications You must be signed in to change notification settings

toyowata/nxp-legacy-lpc-mbed6

Repository files navigation

NXP legacy LPC target support for Mbed OS 6 baremetal

Custom target boards support for legacy NXP LPC series MCUs

How to build and flash to target board

Mbed CLI 1

$ 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 CLI 2

$ 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}

Mbed Studio

  • 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

Support target board

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 firmware binary

How to add custom target to mbed-os-tools

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

How to use RTOS feature

Remove "bare-metal" from requires key in the mbed_app.json.

    "requires": ["bare-metal"],

Known issues

  • None

About

Custom target boards support for legacy NXP LPC series MCU on Mbed OS6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published