aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortcsullivan <tullivan99@gmail.com>2019-03-01 07:32:32 -0500
committertcsullivan <tullivan99@gmail.com>2019-03-01 07:32:32 -0500
commitd2284735eee14f2210d9ee1b77b6cecb02e0589b (patch)
tree418ead20e357b8046ffb3b5586c1ac5961fbbb89 /Makefile
parentd6869d1ec4bd24cd2c3eafa534f0849b25ec5607 (diff)
sharp screen working
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf1f58d..81d8522 100755
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CXX = $(CROSS)g++
OBJCOPY = $(CROSS)objcopy
NRFUTIL = adafruit-nrfutil
-COMFLAGS = -DFLOAT_ABI_HARD \
+COMFLAGS = -DARDUINO=100 -DFLOAT_ABI_HARD \
-DNRF52 -DNRF52832_XXAA -DS132 \
-Wno-register
@@ -40,6 +40,7 @@ CSRC = $(wildcard $(ARDUINO)/cores/nRF5/freertos/Source/*.c) \
$(ARDUINO)/libraries/Bluefruit52Lib/src/utility/bootloader_util.c
CXXSRC = $(wildcard source/*.cpp) \
+ $(wildcard source/sharp/*.cpp) \
$(ARDUINO)/libraries/Bluefruit52Lib/src/BLEAdvertising.cpp \
$(ARDUINO)/libraries/Bluefruit52Lib/src/BLECentral.cpp \
$(ARDUINO)/libraries/Bluefruit52Lib/src/BLECharacteristic.cpp \
@@ -91,7 +92,8 @@ INCLUDES = -I$(ARDUINO)/libraries/Bluefruit52Lib/src \
-I$(ARDUINO)/cores/nRF5/freertos/Source/include \
-I$(ARDUINO)/cores/nRF5/freertos/portable/CMSIS/nrf52 \
-I$(ARDUINO)/cores/nRF5/freertos/portable/GCC/nrf52 \
- -I$(ARDUINO)/variants/feather_nrf52832
+ -I$(ARDUINO)/variants/feather_nrf52832 \
+ -Isource/sharp
all: $(OUTELF) $(OUTHEX) $(OUTDFU)