Skip to content

Commit

Permalink
Merge pull request #372 from pennam/nano_nora
Browse files Browse the repository at this point in the history
Nano ESP32: enable CI and fix examples build
  • Loading branch information
pennam authored Jul 19, 2023
2 parents a6a7952 + dabc9b0 commit dc50659
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
type: renesas_portenta
- fqbn: arduino:renesas_uno:unor4wifi
type: renesas_uno
- fqbn: arduino:esp32:nano_nora
type: arduino_esp32


# make board type-specific customizations to the matrix jobs
Expand Down Expand Up @@ -200,6 +202,16 @@ jobs:
platforms: |
# Install renesas_uno platform via Boards Manager
- name: arduino:renesas_uno
# Nano ESP32
- board:
type: arduino_esp32
platforms: |
# Install arduino_esp32 platform via Boards Manager
- name: arduino:esp32
libraries: |
- name: Arduino_ESP32_OTA
sketch-paths: |
- examples/ArduinoIoTCloud-DeferredOTA
# ESP8266 boards
- board:
type: esp8266
Expand Down
2 changes: 1 addition & 1 deletion examples/ArduinoIoTCloud-Basic/ArduinoIoTCloud-Basic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "arduino_secrets.h"
#include "thingProperties.h"

#if !defined(LED_BUILTIN)
#if !defined(LED_BUILTIN) && !defined(ARDUINO_NANO_ESP32)
static int const LED_BUILTIN = 2;
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "arduino_secrets.h"
#include "thingProperties.h"

#if defined(ESP32)
#if !defined(LED_BUILTIN) && !defined(ARDUINO_NANO_ESP32)
static int const LED_BUILTIN = 2;
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "arduino_secrets.h"
#include "thingProperties.h"

#if defined(ESP32)
#if !defined(LED_BUILTIN) && !defined(ARDUINO_NANO_ESP32)
static int const LED_BUILTIN = 2;
#endif

Expand Down

0 comments on commit dc50659

Please sign in to comment.