include optimized

This commit is contained in:
Robin Müller 2020-10-12 23:24:39 +02:00
parent 8f7bb757a4
commit efdb44b759
4 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@ -103,3 +103,4 @@ local.properties
.cache-main .cache-main
.scala_dependencies .scala_dependencies
.worksheet .worksheet
/Release/

View File

@ -8,5 +8,7 @@ PSRC += arduino_core/ArduinoCore-avr/libraries/SPI/src/SPI.cpp
# extra Arduino libraries # extra Arduino libraries
ARDLIBS = ARDLIBS =
EXTRAINCDIRS = arduino_core/ArduinoCore-avr/libraries/SPI/src
# this line includes the Makefile.base # this line includes the Makefile.base
include arduino_core/arduino-base.mk include arduino_core/arduino-base.mk

@ -1 +1 @@
Subproject commit 12822f737d00f0d00c202fa57750676a0596f50d Subproject commit 527ec7353dc51c35168c2b77e7981e6329323f89

View File

@ -8,7 +8,7 @@
//SPI is formally a library, so it is not part of the objects compiled //SPI is formally a library, so it is not part of the objects compiled
//from the core and we need to include it explicitly //from the core and we need to include it explicitly
#include "arduino_core/ArduinoCore-avr/libraries/SPI/src/SPI.h" #include <SPI.h>
//Define which port to use for the SPI Chip Select //Define which port to use for the SPI Chip Select
#define CS_PORT PORTC #define CS_PORT PORTC