mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
c2346570fb
This add the `espradio` build tag to all ESP32C3, ESP32S3, and ESP32 boards, since they all have support for wireless communication using espradio. This just makes it to people do not have to remember to use the build tag, the same as we have done with both `ninafw` and `cyw43439` build tags. Signed-off-by: deadprogram <ron@hybridgroup.com>
31 lines
995 B
JSON
31 lines
995 B
JSON
{
|
|
"inherits": ["xtensa"],
|
|
"inheritable-only": true,
|
|
"cpu": "esp32",
|
|
"features": "+atomctl,+bool,+clamps,+coprocessor,+debug,+density,+dfpaccel,+div32,+exception,+fp,+highpriinterrupts,+interrupt,+loop,+mac16,+memctl,+minmax,+miscsr,+mul32,+mul32high,+nsa,+prid,+regprotect,+rvector,+s32c1i,+sext,+threadptr,+timerint,+windowed",
|
|
"build-tags": ["esp32", "esp", "espradio"],
|
|
"scheduler": "tasks",
|
|
"serial": "uart",
|
|
"linker": "ld.lld",
|
|
"ldflags": [
|
|
"--wrap=malloc",
|
|
"--wrap=calloc",
|
|
"--wrap=free",
|
|
"--wrap=realloc",
|
|
"--wrap=ppCheckTxConnTrafficIdle"
|
|
],
|
|
"default-stack-size": 8192,
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"linkerscript": "targets/esp32.ld",
|
|
"extra-files": [
|
|
"src/device/esp/esp32.S",
|
|
"targets/esp32-interrupts.S",
|
|
"src/internal/task/task_stack_esp32.S"
|
|
],
|
|
"binary-format": "esp32",
|
|
"flash-method": "esp32flash",
|
|
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
|
"gdb": ["xtensa-esp32-elf-gdb"]
|
|
}
|