File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -12,33 +12,34 @@ jobs:
12
12
- name : Checkout
13
13
uses : actions/checkout@v4
14
14
with :
15
- path : Arduino-Zephyr-API
15
+ path : modules/lib/ Arduino-Zephyr-API
16
16
17
17
- name : Initialize
18
- working-directory : Arduino-Zephyr-API
19
18
run : |
20
- west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
19
+ mkdir manifest
20
+ cp modules/lib/Arduino-Zephyr-API/west.yml manifest
21
+ west init -l manifest
21
22
west update
22
23
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
23
24
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
24
25
25
26
- name : Build fade
26
- working-directory : Arduino-Zephyr-API
27
+ working-directory : modules/lib/ Arduino-Zephyr-API
27
28
run : |
28
29
west build -p -b arduino_nano_33_ble/nrf52840/sense samples/fade
29
30
30
31
- name : Build i2cdemo
31
- working-directory : Arduino-Zephyr-API
32
+ working-directory : modules/lib/ Arduino-Zephyr-API
32
33
run : |
33
34
west build -p -b arduino_nano_33_ble/nrf52840/sense samples/i2cdemo
34
35
35
36
- name : Build adc
36
- working-directory : Arduino-Zephyr-API
37
+ working-directory : modules/lib/ Arduino-Zephyr-API
37
38
run : |
38
39
west build -p -b beagleconnect_freedom/cc1352p7 samples/analog_input
39
40
40
41
- name : Archive firmware
41
42
uses : actions/upload-artifact@v4
42
43
with :
43
44
name : firmware
44
- path : Arduino-Zephyr-API/build/zephyr/zephyr.*
45
+ path : modules/lib/ Arduino-Zephyr-API/build/zephyr/zephyr.*
You can’t perform that action at this time.
0 commit comments