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')

Dependencies:   mbed

main.cpp

Committer:
stevep
Date:
2014-03-18
Revision:
4:81cea7a352b0
Parent:
3:2e347c65be00
Child:
7:6acc714a143b

File content as of revision 4:81cea7a352b0:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}