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.
This commit is contained in:
Ayke van Laethem
2020-03-10 18:40:15 +01:00
committed by Ron Evans
parent 66afcb3b39
commit 5089d1a5a7
5 changed files with 41 additions and 1 deletions
+2
View File
@@ -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