mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
targets: change default stack size for esp32c3 and esp32s3 to 8196.
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>
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
"serial": "usb",
|
"serial": "usb",
|
||||||
"rtlib": "compiler-rt",
|
"rtlib": "compiler-rt",
|
||||||
"libc": "picolibc",
|
"libc": "picolibc",
|
||||||
|
"default-stack-size": 8192,
|
||||||
"cflags": [
|
"cflags": [
|
||||||
"-march=rv32imc"
|
"-march=rv32imc"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"scheduler": "tasks",
|
"scheduler": "tasks",
|
||||||
"serial": "usb",
|
"serial": "usb",
|
||||||
"linker": "ld.lld",
|
"linker": "ld.lld",
|
||||||
"default-stack-size": 2048,
|
"default-stack-size": 8192,
|
||||||
"rtlib": "compiler-rt",
|
"rtlib": "compiler-rt",
|
||||||
"libc": "picolibc",
|
"libc": "picolibc",
|
||||||
"linkerscript": "targets/esp32s3.ld",
|
"linkerscript": "targets/esp32s3.ld",
|
||||||
|
|||||||
Reference in New Issue
Block a user