mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 11:37:46 +00:00
3a00f00f62
This changes the default stack size for the esp32-c3 and esp32-s3 to 8kb. Since they have more onboard memory and a larger stack size is needed for any networking etc this default seems like a more sensible one, in similar way to the rp2040/rp2350 defaults. Signed-off-by: deadprogram <ron@hybridgroup.com>
22 lines
800 B
JSON
22 lines
800 B
JSON
{
|
|
"inherits": ["xtensa"],
|
|
"cpu": "esp32s3",
|
|
"features": "+atomctl,+bool,+clamps,+coprocessor,+debug,+density,+div32,+esp32s3,+exception,+fp,+highpriinterrupts,+interrupt,+loop,+mac16,+memctl,+minmax,+miscsr,+mul32,+mul32high,+nsa,+prid,+regprotect,+rvector,+s32c1i,+sext,+threadptr,+timerint,+windowed",
|
|
"build-tags": ["esp32s3", "esp"],
|
|
"scheduler": "tasks",
|
|
"serial": "usb",
|
|
"linker": "ld.lld",
|
|
"default-stack-size": 8192,
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"linkerscript": "targets/esp32s3.ld",
|
|
"extra-files": [
|
|
"src/device/esp/esp32.S",
|
|
"src/internal/task/task_stack_esp32.S"
|
|
],
|
|
"binary-format": "esp32s3",
|
|
"flash-method": "esp32jtag",
|
|
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
|
"gdb": ["xtensa-esp32-elf-gdb"]
|
|
}
|