summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-01-12 09:53:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-01-12 09:53:54 +0100
commitc00a200c508e18c41b6c55506ee35a2f21a6fa57 (patch)
treea96264d9b95038199b282b5a716b78bf217cf43c /src/arch/arduino-nano
parentf9d2d27ff67b6cecf9b969617bc2355bb9e2273c (diff)
add optional aspectc++ support
Diffstat (limited to 'src/arch/arduino-nano')
-rw-r--r--src/arch/arduino-nano/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index cd6227b..f4dd78e 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -14,6 +14,10 @@ NM = avr-nm
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
+ifeq (${aspectc}, 1)
+ CXX = ag++ -r build/repo.acp -v 0 --c_compiler avr-g++ -p . --Xcompiler
+endif
+
TARGETS += src/arch/arduino-nano/arch.cc
TARGETS += src/arch/arduino-nano/driver/gpio.cc
TARGETS += src/arch/arduino-nano/driver/stdout.cc