Skip to content

Commit 50776ab

Browse files
committed
Add all arduino definitions from adafruit install.sh
1 parent aa2ec39 commit 50776ab

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

misc/default.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ packages:
77
url: http://arduino.esp8266.com/stable/package_esp8266com_index.json
88
adafruit:avr:
99
url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
10+
adafruit:samd:
11+
url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
12+
esp32:esp32:
13+
url: https://dl.espressif.com/dl/package_esp32_index.json
1014

1115
platforms:
16+
1217
uno:
1318
board: arduino:avr:uno
1419
package: ~
@@ -37,6 +42,14 @@ platforms:
3742
- ARDUINO_SAMD_ZERO
3843
warnings:
3944
flags:
45+
esp32:
46+
board: esp32:esp32:featheresp32:FlashFreq=80
47+
package: esp32:esp32
48+
gcc:
49+
features:
50+
defines:
51+
warnings:
52+
flags:
4053
esp8266:
4154
board: esp8266:esp8266:huzzah:FlashSize=4M3M,CpuFrequency=80
4255
package: esp8266:esp8266
@@ -70,6 +83,39 @@ platforms:
7083
defines:
7184
warnings:
7285
flags:
86+
m4:
87+
board: adafruit:samd:adafruit_metro_m4
88+
package: adafruit:samd
89+
gcc:
90+
features:
91+
defines:
92+
warnings:
93+
flags:
94+
mega2560:
95+
board: arduino:avr:mega:cpu=atmega2560
96+
package: arduino:avr
97+
gcc:
98+
features:
99+
defines:
100+
warnings:
101+
flags:
102+
cplayClassic:
103+
board: arduino:avr:circuitplay32u4cat
104+
package: arduino:avr
105+
gcc:
106+
features:
107+
defines:
108+
warnings:
109+
flags:
110+
cplayExpress:
111+
board: arduino:samd:adafruit_circuitplayground_m0
112+
package: arduino:samd
113+
gcc:
114+
features:
115+
defines:
116+
warnings:
117+
flags:
118+
73119

74120
compile:
75121
libraries: ~
@@ -78,6 +124,10 @@ compile:
78124
- due
79125
- zero
80126
- leonardo
127+
- m4
128+
- esp32
129+
- esp8266
130+
- mega2560
81131

82132
unittest:
83133
compilers:

spec/ci_config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
expect(zero[:gcc].class).to eq(Hash)
2626

2727
expect(default_config.package_url("adafruit:avr")).to eq("https://adafruit.github.io/arduino-board-index/package_adafruit_index.json")
28-
expect(default_config.platforms_to_build).to match(["uno", "due", "zero", "leonardo"])
28+
expect(default_config.platforms_to_build).to match(["uno", "due", "zero", "leonardo", "m4", "esp32", "esp8266", "mega2560"])
2929
expect(default_config.platforms_to_unittest).to match(["uno", "due", "zero", "leonardo"])
3030
expect(default_config.aux_libraries_for_build).to match([])
3131
expect(default_config.aux_libraries_for_unittest).to match([])

0 commit comments

Comments
 (0)