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>
24 lines
617 B
JSON
24 lines
617 B
JSON
{
|
|
"inherits": ["cortex-m0plus"],
|
|
"build-tags": ["rp2040", "rp"],
|
|
"scheduler": "tasks",
|
|
"flash-1200-bps-reset": "true",
|
|
"flash-method": "msd",
|
|
"serial": "usb",
|
|
"msd-volume-name": ["RPI-RP2"],
|
|
"msd-firmware-name": "firmware.uf2",
|
|
"binary-format": "uf2",
|
|
"uf2-family-id": "0xe48bff56",
|
|
"rp2040-boot-patch": true,
|
|
"extra-files": [
|
|
"src/device/rp/rp2040.s"
|
|
],
|
|
"ldflags": [
|
|
"--defsym=__num_stacks=2"
|
|
],
|
|
"linkerscript": "targets/rp2040.ld",
|
|
"openocd-interface": "picoprobe",
|
|
"openocd-transport": "swd",
|
|
"openocd-target": "rp2040"
|
|
}
|