mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 12:59:04 +00:00
esp8266: add support for this chip
Many thanks to cnlohr for the nosdk8266 project:
https://github.com/cnlohr/nosdk8266
This commit is contained in:
committed by
Ron Evans
parent
0b9b293651
commit
2ce17a1892
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user