machine/atmega328pb: refactor to enable extra uart

This commit is contained in:
Yurii Soldak
2023-11-29 03:46:11 +01:00
committed by Ron Evans
parent 2d289addb7
commit 6420e90124
10 changed files with 807 additions and 678 deletions
+15
View File
@@ -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"
]
}