Building the TARGET_XADOW_M0 fails on MBED 2 rev 142 and later (checked up to 172) with: Error: Library name 'platform' is not unique (defined in '/tmp/chroots/ch-32cf0677-917d-4063-970e-6b43474ba95e/extras/mbed/TARGET_LPC11U35_501/TOOLCHAIN_ARM_MICRO/mbed_lib.json' and '/tmp/chroots/ch-32cf0677-917d-4063-970e-6b43474ba95e/extras/mbed/TARGET_XADOW_M0/TOOLCHAIN_ARM_MICRO/mbed_lib.json')
main.cpp@10:b8278cbbc99d, 2019-10-08 (annotated)
- Committer:
- ruevs
- Date:
- Tue Oct 08 08:53:55 2019 +0000
- Revision:
- 10:b8278cbbc99d
- Parent:
- 7:6acc714a143b
Building the TARGET_XADOW_M0 fails on MBED 2 rev 172 (https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400) with:; ; Error: Library name 'platform' is not unique (defined in '/tmp/chroots/ch-61c13650-bafb-40ee-bc8b-5842d8ff86d8/extras/m...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
yihui | 7:6acc714a143b | 3 | DigitalOut blue_led(P0_20); |
dan | 0:7dec7e9ac085 | 4 | |
dan | 0:7dec7e9ac085 | 5 | int main() { |
dan | 0:7dec7e9ac085 | 6 | while(1) { |
yihui | 7:6acc714a143b | 7 | blue_led = 1; |
dan | 0:7dec7e9ac085 | 8 | wait(0.2); |
yihui | 7:6acc714a143b | 9 | blue_led = 0; |
stevep | 4:81cea7a352b0 | 10 | wait(0.2); |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |