forked from mohr/ArduinoIO
include optimized
This commit is contained in:
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
|
||||||
|
Submodule arduino_core updated: 12822f737d...527ec7353d
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
|
||||||
|
Reference in New Issue
Block a user