forked from mohr/ArduinoIO
include optimized
This commit is contained in:
parent
8f7bb757a4
commit
efdb44b759
1
.gitignore
vendored
1
.gitignore
vendored
@ -103,3 +103,4 @@ local.properties
|
|||||||
.cache-main
|
.cache-main
|
||||||
.scala_dependencies
|
.scala_dependencies
|
||||||
.worksheet
|
.worksheet
|
||||||
|
/Release/
|
||||||
|
2
Makefile
2
Makefile
@ -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
|
2
main.cpp
2
main.cpp
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user