targets: WIP on Arduino Uno R4

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2025-02-16 13:22:28 +01:00
parent 5988be8790
commit a2b2926d4f
6 changed files with 343 additions and 7 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"inherits": ["ra4m1"],
"build-tags": ["arduino_unor4"],
"flash-command": "bossac -i -e -w -v -R -U --port={port} --offset=0x4000 {bin}",
"serial-port": ["2341:8057", "2341:0057"],
"flash-1200-bps-reset": "true"
}
+3 -5
View File
@@ -1,10 +1,8 @@
{
"inherits": ["cortex-m4"],
"build-tags": ["ra4m1", "renesas"],
"build-tags": ["ra4m1", "r7fa4m1ab", "renesas"],
"linkerscript": "targets/ra4m1.ld",
"extra-files": [
"src/device/renesas/r7fa4m2ad.s"
],
"openocd-transport": "swd",
"openocd-target": "atsame5x"
"src/device/renesas/r7fa4m1ab.s"
]
}
+1 -1
View File
@@ -2,7 +2,7 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000+0x4000, LENGTH = 0x00080000-0x4000 /* First 16KB used by bootloader */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x00030000
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x00040000
}
_stack_size = 4K;