{
	"inherits": ["xtensa"],
	"inheritable-only": true,
	"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",
	"ldflags": [
		"--wrap=malloc",
		"--wrap=calloc",
		"--wrap=free",
		"--wrap=realloc",
		"--wrap=ppCheckTxConnTrafficIdle"
	],
	"default-stack-size": 8192,
	"rtlib": "compiler-rt",
	"libc": "picolibc",
	"linkerscript": "targets/esp32s3.ld",
	"extra-files": [
		"src/device/esp/esp32s3.S",
		"targets/esp32s3-interrupts.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"]
}
