File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 Dhruva Gole <[email protected] >
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ FROM zephyrprojectrtos/ci:latest AS base
5
+
6
+ RUN \
7
+ west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git && west update \
8
+ && git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API \
9
+ && sed '/WCharacter.h/ s/./\/\/ &/' ArduinoCore-API/api/ArduinoAPI.h > ArduinoCore-API/api/tmpArduinoAPI.h \
10
+ && mv ArduinoCore-API/api/tmpArduinoAPI.h ArduinoCore-API/api/ArduinoAPI.h \
11
+ && cp -r /ArduinoCore-API/api /modules/lib/Arduino-Zephyr-API/cores/arduino/. \
12
+ && cd modules/lib/Arduino-Zephyr-API && ls -la \
13
+ && west build -p -b arduino_nano_33_ble samples/blinky_arduino \
14
+ && printf '%s\n ' "Module Successfully setup and built..."
You can’t perform that action at this time.
0 commit comments