ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

MICRONFCBOARD fails to compile with mbed-dev source library #4613

Closed adbridge closed 7 years ago

adbridge commented 7 years ago

Description

When trying to build blinky using the mbed-dev source library, the MICRONFCBOARD board fails to compile.


Bug

Toolchain: ARM using the online IDE API

Expected behavior Target compiles

Actual behavior The following error is produced: "/src/mbed-dev/targets/TARGET_NXP/TARGET_LPC11UXX/device/TOOLCHAIN_ARM_MICRO /TARGET_LPC11U34_421/LPC11U34.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

Steps to reproduce Build MICRONFCBOARD using mbed-dev in the online compiler

0xc0170 commented 7 years ago

It seems this target inherits from TARGET_LPC11U34_421, and both of these define own startup file, and system init. It should not, otherwise we get this error.