tinygo/targets/esp8266.json
Ayke van Laethem 2ce17a1892 esp8266: add support for this chip
Many thanks to cnlohr for the nosdk8266 project:
    https://github.com/cnlohr/nosdk8266
2020-09-09 19:17:11 +02:00

15 строки
365 Б
JSON

{
"inherits": ["xtensa"],
"cpu": "esp8266",
"build-tags": ["esp8266", "esp"],
"linker": "xtensa-esp32-elf-ld",
"cflags": [
"-mcpu=esp8266"
],
"linkerscript": "targets/esp8266.ld",
"extra-files": [
"src/device/esp/esp8266.S"
],
"binary-format": "esp8266",
"flash-command": "esptool.py --chip=esp8266 --port {port} write_flash 0x00000 {bin} -fm qio"
}