@@ -20,71 +20,78 @@ jobs:
20
20
# https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt
21
21
- fqbn : arduino:avr:mega
22
22
# platforms: |
23
- pname : arduino:avr
24
- psource -url : https://downloads.arduino.cc/packages/package_index.json
23
+ name : arduino:avr
24
+ source -url : https://downloads.arduino.cc/packages/package_index.json
25
25
26
26
# ESP32
27
27
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
28
28
- fqbn : esp32:esp32:esp32
29
29
# platforms: |
30
- pname : esp32:esp32
31
- psource -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
30
+ name : esp32:esp32
31
+ source -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
32
32
33
33
# ESP32-S2
34
34
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
35
35
- fqbn : esp32:esp32:esp32s2
36
36
# platforms: |
37
- pname : esp32:esp32
38
- psource -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
37
+ name : esp32:esp32
38
+ source -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
39
39
40
40
# ESP32-C3
41
41
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
42
42
- fqbn : esp32:esp32:esp32c3
43
43
# platforms: |
44
- pname : esp32:esp32
45
- psource -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
44
+ name : esp32:esp32
45
+ source -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
46
46
47
47
# Artemis / Apollo3
48
48
# https://github.com/sparkfun/Arduino_Apollo3/blob/main/boards.txt
49
49
- fqbn : SparkFun:apollo3:sfe_artemis_atp
50
50
# platforms: |
51
- pname : SparkFun:apollo3
52
- psource -url : https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
51
+ name : SparkFun:apollo3
52
+ source -url : https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
53
53
54
54
# ESP8266
55
55
# https://github.com/esp8266/Arduino/blob/master/boards.txt
56
56
- fqbn : esp8266:esp8266:thingdev
57
57
# platforms: |
58
- pname : esp8266:esp8266
59
- psource -url : https://arduino.esp8266.com/stable/package_esp8266com_index.json
58
+ name : esp8266:esp8266
59
+ source -url : https://arduino.esp8266.com/stable/package_esp8266com_index.json
60
60
61
61
# SAMD21
62
62
# https://github.com/arduino/ArduinoCore-samd/blob/master/boards.txt
63
63
- fqbn : arduino:samd:mkr1000
64
64
# platforms: |
65
- pname : arduino:samd
66
- psource -url : https://downloads.arduino.cc/packages/package_index.json
65
+ name : arduino:samd
66
+ source -url : https://downloads.arduino.cc/packages/package_index.json
67
67
68
68
# Nano BLE 33 / nRF52840
69
69
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
70
70
- fqbn : arduino:mbed:nano33ble
71
71
# platforms: |
72
- pname : arduino:mbed
73
- psource -url : https://downloads.arduino.cc/packages/package_index.json
72
+ name : arduino:mbed
73
+ source -url : https://downloads.arduino.cc/packages/package_index.json
74
74
75
75
# RP2040
76
76
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
77
77
- fqbn : rp2040:rp2040:sparkfun_promicrorp2040
78
78
# platforms: |
79
- pname : rp2040:rp2040
80
- psource-url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
79
+ name : rp2040:rp2040
80
+ source-url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
81
+
82
+ # RP2350
83
+ # https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
84
+ - fqbn : rp2040:rp2040:sparkfun_promicrorp2350
85
+ # platforms: |
86
+ name : rp2040:rp2040
87
+ source-url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
81
88
82
89
# STM32
83
90
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
84
91
- fqbn : STMicroelectronics:stm32:GenF4
85
92
# platforms: |
86
- pname : STMicroelectronics:stm32
87
- psource -url : https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
93
+ name : STMicroelectronics:stm32
94
+ source -url : https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
88
95
89
96
# not using the arduino action to compile everything - it fails to load libraries at a given ref/branch (using toolkit at a specific commit)
90
97
steps :
@@ -99,14 +106,14 @@ jobs:
99
106
uses : arduino/setup-arduino-cli@v2
100
107
101
108
- name : Arduino - Start config file
102
- run : arduino-cli config init --additional-urls ${{ matrix.board.psource -url}}
109
+ run : arduino-cli config init --additional-urls ${{ matrix.board.source -url}}
103
110
104
111
- name : Arduino - Update index
105
112
run : arduino-cli core update-index
106
113
107
114
108
115
- name : Arduino - Install platform
109
- run : arduino-cli core install ${{ matrix.board.pname }}
116
+ run : arduino-cli core install ${{ matrix.board.name }}
110
117
111
118
- name : Arduino - Install libraries
112
119
run : |
0 commit comments