mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 12:33:42 +00:00
394116e998
This switches the rp2040 and rp2350 to use the tasks scheduler by default instead of using the cores scheduler. Too many race conditions at present, we need to look into exactly why. In the meantime, going back to the tasks as default will address a lot of these intermittent problems. Signed-off-by: deadprogram <ron@hybridgroup.com>
25 lines
788 B
JSON
25 lines
788 B
JSON
{
|
|
"inherits": ["cortex-m33"],
|
|
"build-tags": ["rp2350", "rp"],
|
|
"scheduler": "tasks",
|
|
"flash-1200-bps-reset": "true",
|
|
"flash-method": "msd",
|
|
"serial": "usb",
|
|
"msd-volume-name": ["RP2350"],
|
|
"msd-firmware-name": "firmware.uf2",
|
|
"binary-format": "uf2",
|
|
"uf2-family-id": "0xe48bff59","comment":"See page 393 of RP2350 datasheet: RP2350 Arm Secure image (i.e. one intended to be booted directly by the bootrom)",
|
|
"extra-files": [
|
|
"src/device/rp/rp2350.s",
|
|
"targets/rp2350_embedded_block.s"
|
|
],
|
|
"ldflags": [
|
|
"--defsym=__flash_size=2M",
|
|
"--defsym=__num_stacks=2"
|
|
],
|
|
"linkerscript": "targets/rp2350.ld",
|
|
"openocd-interface": "picoprobe",
|
|
"openocd-transport": "swd",
|
|
"openocd-target": "rp2350"
|
|
}
|