Skip to content

Commit cd545e2

Browse files
author
jan
committed
Add issue #555 to compile inoon allboards test
1 parent 47bbfbb commit cd545e2

File tree

1 file changed

+11
-0
lines changed
  • io.sloeber.tests/src/templates/CreateAndCompileTest

1 file changed

+11
-0
lines changed

io.sloeber.tests/src/templates/CreateAndCompileTest/sketch.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
#include "Arduino.h"
22

3+
#ifdef ARDUINO_BOARD
4+
char mychar1[] = ARDUINO_BOARD;
5+
#endif
6+
7+
#ifdef USB_MANUFACTURER
8+
char mychar2[] = USB_MANUFACTURER;
9+
#endif
10+
#ifdef USB_PRODUCT
11+
char mychar3[] = USB_PRODUCT;
12+
#endif
13+
314

415

516
//The setup function is with spaces between the curly braces

0 commit comments

Comments
 (0)