Skip to content

Commit b5577bb

Browse files
committed
Remove uno from autobuilds, fix builds
1 parent 8471a4b commit b5577bb

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/compile_examples.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ jobs:
3333
# Note: incomplete! See https://github.com/arduino-libraries/ArduinoIoTCloud/blob/master/.github/workflows/compile-examples.yml for a complex multi-board setup
3434
matrix:
3535
board:
36-
- fqbn: arduino:avr:uno
37-
platforms: |
38-
- name: arduino:avr
3936
- fqbn: esp8266:esp8266:huzzah
4037
type: esp8266
4138
platforms: |
@@ -66,7 +63,7 @@ jobs:
6663
- examples/
6764
libraries: |
6865
- source-path: ./
69-
- name: Ethernet
66+
- name: EthernetWebServer
7067
enable-deltas-report: true
7168
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7269

examples/Blink/Blink.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010

1111
#include <EmbAJAX.h>
1212

13+
#if defined(LED_BUILTIN)
1314
#define LEDPIN LED_BUILTIN
15+
#else
16+
#define LEDPIN 2
17+
#endif
1418

1519
// Set up web server, and register it with EmbAJAX. Note: EmbAJAXOutputDriverWebServerClass is a
1620
// convenience #define to allow using the same example code across platforms

examples/Blink_Ethernet/Blink_Ethernet.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
2323
IPAddress ip(192, 168, 1, 177);
2424

25+
#if defined(LED_BUILTIN)
2526
#define LEDPIN LED_BUILTIN
27+
#else
28+
#define LEDPIN 2
29+
#endif
2630

2731
// Set up web server, and register it with EmbAJAX. Note: EmbAJAXOutputDriverWebServerClass is a
2832
// convenience #define to allow using the same example code across platforms

0 commit comments

Comments
 (0)