Skip to content

Commit b8fb38e

Browse files
include SW serial for Arduino 101
1 parent fdb95e4 commit b8fb38e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utility/SerialFirmata.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
#include <Firmata.h>
2525
#include "FirmataFeature.h"
26-
// SoftwareSerial is only supported for AVR-based boards
27-
// The second condition checks if the IDE is in the 1.0.x series, if so, include SoftwareSerial
26+
// SoftwareSerial is currently only supported for AVR-based boards and the Arduino 101
27+
// The third condition checks if the IDE is in the 1.0.x series, if so, include SoftwareSerial
2828
// since it should be available to all boards in that IDE.
29-
#if defined(ARDUINO_ARCH_AVR) || (ARDUINO >= 100 && ARDUINO < 10500)
29+
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_ARC32) || (ARDUINO >= 100 && ARDUINO < 10500)
3030
#include <SoftwareSerial.h>
3131
#endif
3232

0 commit comments

Comments
 (0)