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

The online compiler fails to build the Xadow-M0 target with MBED2 rev. 142 and later. #11652

Closed
ruevs opened this issue Oct 8, 2019 · 6 comments · Fixed by #11828
Closed

The online compiler fails to build the Xadow-M0 target with MBED2 rev. 142 and later. #11652

ruevs opened this issue Oct 8, 2019 · 6 comments · Fixed by #11828

Comments

@ruevs
Copy link

@ruevs ruevs commented Oct 8, 2019

Description

Error: Library name 'platform' is not unique (defined in '/tmp/chroots/ch-61c13650-bafb-40ee-bc8b-5842d8ff86d8/extras/mbed/TARGET_LPC11U35_501/TOOLCHAIN_ARM_MICRO/mbed_lib.json' and '/tmp/chroots/ch-61c13650-bafb-40ee-bc8b-5842d8ff86d8/extras/mbed/TARGET_XADOW_M0/TOOLCHAIN_ARM_MICRO/mbed_lib.json')

Rev: 142:4eea097 10 May 2017

Release 142 of the mbed library

Ports for Upcoming Targets

Fixes and Changes

4059: [Silicon Labs] Rename targets #4059
4187: [NCS36510] Reduce default heap size allocated by IAR to 1/4 of RAM #4187
4225: fixed missing device_name for xDot and removed progen #4225
4251: Fix C++11 build error w/ u-blox EVK-ODIN-W2 #4251
4236: STM32 Fixed warning related to __packed redefinition #4236
4190: LPC4088: Enable LWIP feature #4190
4260: Inherit Xadow M0 target from LPC11U35_501 #4260
4249: Add consistent button names across targets #4249

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug
@ciarmcom

This comment has been minimized.

Copy link
Member

@ciarmcom ciarmcom commented Oct 8, 2019

@0xc0170

This comment has been minimized.

Copy link
Member

@0xc0170 0xc0170 commented Nov 6, 2019

@0xc0170

This comment has been minimized.

Copy link
Member

@0xc0170 0xc0170 commented Nov 6, 2019

The inheritance does not look good. There is target LPC11U35_501 and Xadow inherits from this one. It should be private but because there is already a target out there, must be public. This can lead to the error above.

I can fix it on master, just creating MCU_ target out of LPC11U35_501 and both targets (LPC11U35_501 and XADOW) would inherit from it.

0xc0170 added a commit to 0xc0170/mbed-os that referenced this issue Nov 6, 2019
@0xc0170

This comment has been minimized.

Copy link
Member

@0xc0170 0xc0170 commented Nov 6, 2019

You can test the proposed fix #11828

@ruevs

This comment has been minimized.

Copy link
Author

@ruevs ruevs commented Nov 12, 2019

Sorry for not reacting earlier.
I can not import mbed-dev as a library in the online compiler (in order to try replacing the 'targets/targets.json') - it "hangs" halfway on the progress bar on the "Importing Library" dialog and eventually "An error occurred while cloning the remote repository".

@0xc0170

This comment has been minimized.

Copy link
Member

@0xc0170 0xc0170 commented Nov 13, 2019

Please test offline if you are having an issue. mbed-dev might be too big so it timeouts, known issue.

adbridge added a commit that referenced this issue Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.