
This prefix isn't actually used and only adds noise, so remove it. It may have been useful on Linux that makes a distinction between /dev/ttyACM* and /dev/ttyUSB* but it isn't now. Also, it's unlikely that the same vid/pid pair will be shared between an acm and usb driver anyway.
23 строки
573 Б
JSON
23 строки
573 Б
JSON
{
|
|
"inherits": ["riscv32"],
|
|
"features": "+c,+m",
|
|
"build-tags": ["esp32c3", "esp"],
|
|
"serial": "uart",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"cflags": [
|
|
"-march=rv32imc"
|
|
],
|
|
"linkerscript": "targets/esp32c3.ld",
|
|
"extra-files": [
|
|
"src/device/esp/esp32c3.S"
|
|
],
|
|
"binary-format": "esp32c3",
|
|
"flash-command": "esptool.py --chip=esp32c3 --port {port} write_flash 0x0 {bin}",
|
|
"serial-port": ["303a:1001"],
|
|
"openocd-interface": "esp_usb_jtag",
|
|
"openocd-target": "esp32c3",
|
|
"openocd-commands": ["gdb_memory_map disable"],
|
|
"gdb": ["riscv32-esp-elf-gdb"]
|
|
}
|
|
|