diff options
author | Yurii Soldak <[email protected]> | 2023-11-29 03:46:11 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-12-02 13:26:59 +0100 |
commit | 6420e901240842f5f0178299bcb14081b0c906da (patch) | |
tree | 7d392684c640e6d6cb4e8f6418dcb7f5724aa5ba /targets | |
parent | 2d289addb78a62de6e3b6e6b1b843ce6f65a8011 (diff) | |
download | tinygo-6420e901240842f5f0178299bcb14081b0c906da.tar.gz tinygo-6420e901240842f5f0178299bcb14081b0c906da.zip |
machine/atmega328pb: refactor to enable extra uart
Diffstat (limited to 'targets')
-rw-r--r-- | targets/atmega328pb.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/targets/atmega328pb.json b/targets/atmega328pb.json new file mode 100644 index 000000000..c4e1b447f --- /dev/null +++ b/targets/atmega328pb.json @@ -0,0 +1,15 @@ +{ + "inherits": ["avr"], + "cpu": "atmega328pb", + "build-tags": ["atmega328pb", "atmega", "avr5"], + "ldflags": [ + "--defsym=_bootloader_size=512", + "--defsym=_stack_size=512" + ], + "serial": "uart", + "linkerscript": "src/device/avr/atmega328pb.ld", + "extra-files": [ + "targets/avr.S", + "src/device/avr/atmega328pb.s" + ] +} |