Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to support other targets? #1

Open
akhayyat opened this issue Dec 7, 2014 · 1 comment
Open

How to support other targets? #1

akhayyat opened this issue Dec 7, 2014 · 1 comment

Comments

@akhayyat
Copy link

akhayyat commented Dec 7, 2014

It appears the current build only supports the LPC1768 target, as suggested by the Makefile.

What are the steps required to add support for other mbed-compatible targets? e.g. LPC1549

@master-q
Copy link
Member

Ah, it's a bit complex...

  • Change LIBMBED_LPC1768 and BUILDPY_FLAG at
    LIBMBED_LPC1768 = build/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/libmbed.a
  • Change some setting at
    SYS_OBJECTS = $(MBEDDIR)/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/cmsis_nvic.o $(MBEDDIR)/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/system_LPC17xx.o $(MBEDDIR)/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/startup_LPC17xx.o $(MBEDDIR)/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/board.o $(MBEDDIR)/mbed/TARGET_LPC1768/TOOLCHAIN_GCC_ARM/retarget.o

master-q pushed a commit that referenced this issue Sep 25, 2015
master-q pushed a commit that referenced this issue Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants