Skip to content

Commit 4be3c8e

Browse files
committed
Update mbed-os-to-arduino for new mbed cpp includes
1 parent c61cd8a commit 4be3c8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mbed-os-to-arduino

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -ex
22

33
MBED_CORE_LOCATION=$1
4-
BOARDNAMES=(ENVIE_M4 MBED_CONNECT_ODIN ARDUINO_NANO33BLE)
4+
BOARDNAMES=(ARDUINO_NANO33BLE)
55

66
#always work in /tmp
77
cd /tmp/
@@ -56,6 +56,7 @@ done
5656

5757
rm -rf $ARDUINOCORE/../../cores/arduino/mbed/*
5858
cd mbed-os && find . | grep "\.h" | xargs -I % cp --parents % $ARDUINOCORE/../../cores/arduino/mbed && cd ..
59+
cp mbed-os/platform/cxxsupport/mstd_* $ARDUINOCORE/../../cores/arduino/mbed/platform/cxxsupport/
5960

6061
#TODO: add #include "mbed_config.h" in "mbed.h"
6162
#TODO: rename drivers/SPI.h in drivers/SPIMaster.h and modify include in mbed.h

0 commit comments

Comments
 (0)