File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
examples/ArduinoIoTCloud-Basic
src/cbor/lib/tinycbor/src Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 4646 {"fqbn": "arduino:samd:mkrnb1500", "type": "nb"},
4747 {"fqbn": "arduino:mbed:envie_m4", "type": "mbed"},
4848 {"fqbn": "arduino:mbed:envie_m7", "type": "mbed"},
49- {"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"}
49+ {"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"},
50+ {"fqbn": "esp32:esp32:esp32", "type": "esp32"}
5051 ]
5152
5253 # make board type-specific customizations to the matrix jobs
@@ -132,6 +133,15 @@ jobs:
132133 source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
133134 libraries :
134135 sketch-paths :
136+ # ESP32 boards
137+ - board :
138+ type : " esp32"
139+ platforms : |
140+ # Install ESP32 platform via Boards Manager
141+ - name: esp32:esp32
142+ source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
143+ libraries :
144+ sketch-paths :
135145
136146 steps :
137147 - name : Checkout
@@ -162,6 +172,10 @@ jobs:
162172 run : |
163173 mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
164174
175+ - name : Install ESP32 platform dependencies
176+ if : matrix.board.type == 'esp32'
177+ run : pip3 install pyserial
178+
165179 - name : Compile examples
166180 uses : arduino/compile-sketches@main
167181 with :
Original file line number Diff line number Diff line change 2222#include " arduino_secrets.h"
2323#include " thingProperties.h"
2424
25+ #if defined(ESP32)
26+ static int const LED_BUILTIN = 2 ;
27+ #endif
28+
2529void setup () {
2630 /* Initialize serial and wait up to 5 seconds for port to open */
2731 Serial.begin (9600 );
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ typedef size_t LenType;
4141
4242#pragma GCC diagnostic push
4343#pragma GCC diagnostic ignored "-Wpedantic"
44+ #pragma GCC diagnostic ignored "-Wreturn-type"
4445
4546struct Buffer
4647{
You can’t perform that action at this time.
0 commit comments