Skip to content

Commit 9a0817a

Browse files
committed
remove include directives unnecessary for minimal Arduino compatibility
1 parent 509a2a3 commit 9a0817a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

cores/arduino/Arduino.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
#include <avr/io.h>
3030
#include <avr/interrupt.h>
3131

32-
#include "binary.h"
32+
// mTroll minimal Arduino compatibility
33+
// #include "binary.h"
3334

3435
#ifdef __cplusplus
3536
extern "C"{
@@ -228,10 +229,13 @@ extern const uint8_t PROGMEM digital_pin_to_timer_PGM[];
228229
#endif
229230

230231
#ifdef __cplusplus
231-
#include "WCharacter.h"
232-
#include "WString.h"
233-
#include "HardwareSerial.h"
234-
#include "USBAPI.h"
232+
// mTroll minimal Arduino compatibility
233+
// #include "WCharacter.h"
234+
// #include "WString.h"
235+
// #include "HardwareSerial.h"
236+
// #include "USBAPI.h"
237+
#include <ctype.h>
238+
#include <SPI.h>
235239
#if defined(HAVE_HWSERIAL0) && defined(HAVE_CDCSERIAL)
236240
#error "Targets with both UART0 and CDC serial not supported"
237241
#endif

0 commit comments

Comments
 (0)