aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-03-10 18:40:15 +0100
committerRon Evans <[email protected]>2020-03-17 14:46:56 +0100
commit5089d1a5a79a605304db114718145666635bbb77 (patch)
tree7bc12603088101194e273beb6f46c5e58ea8c1bd /Makefile
parent66afcb3b390ffdec0c891ff72adb177f5e3d6846 (diff)
downloadtinygo-5089d1a5a79a605304db114718145666635bbb77.tar.gz
tinygo-5089d1a5a79a605304db114718145666635bbb77.zip
avr: add atmega1284 chip support
Not tested on actual hardware, only on simavr. The main motivation for adding this chip is to be able to run simulated tests using a much larger memory space (16kB RAM, 128kB flash) without jumping to the XMega devices that may not be as well supported by LLVM.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7213eaf70..41f4d8fae 100644
--- a/Makefile
+++ b/Makefile
@@ -287,6 +287,8 @@ smoketest:
$(TINYGO) build -size short -o test.hex -target=pca10056-s140v7 examples/blinky1
@$(MD5SUM) test.hex
ifneq ($(AVR), 0)
+ $(TINYGO) build -size short -o test.hex -target=atmega1284p examples/serial
+ @$(MD5SUM) test.hex
$(TINYGO) build -size short -o test.hex -target=arduino examples/blinky1
@$(MD5SUM) test.hex
$(TINYGO) build -size short -o test.hex -target=arduino-nano examples/blinky1