From 4030a40dbef2dfaf2fcef5baec01c5baa074217f Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 6 Jun 2021 18:00:16 +0200 Subject: [PATCH 1/2] ZbBridge --- boards/esp8266_2M256.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 boards/esp8266_2M256.json diff --git a/boards/esp8266_2M256.json b/boards/esp8266_2M256.json new file mode 100644 index 000000000..24a3ced47 --- /dev/null +++ b/boards/esp8266_2M256.json @@ -0,0 +1,32 @@ +{ + "build": { + "arduino": { + "ldscript": "eagle.flash.2m256.ld" + }, + "core": "esp8266", + "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01", + "f_cpu": "80000000L", + "f_flash": "40000000L", + "flash_mode": "dout", + "mcu": "esp8266", + "variant": "generic" + }, + "connectivity": [ + "wifi" + ], + "frameworks": [ + "arduino", + "esp8266-rtos-sdk", + "esp8266-nonos-sdk" + ], + "name": "Espressif Generic ESP8266 Tasmota 1M sketch 772k OTA 256k SPIFFS", + "upload": { + "maximum_ram_size": 81920, + "maximum_size": 995326, + "require_upload_port": true, + "resetmethod": "ck", + "speed": 115200 + }, + "url": "http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family", + "vendor": "Espressif" +} From 1407d820737b55b180a06272919da8270b2abc61 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 6 Jun 2021 18:05:09 +0200 Subject: [PATCH 2/2] Board not linkerscript --- platformio_tasmota_env.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio_tasmota_env.ini b/platformio_tasmota_env.ini index ce3b07144..715f2a232 100644 --- a/platformio_tasmota_env.ini +++ b/platformio_tasmota_env.ini @@ -65,7 +65,7 @@ build_flags = ${common.build_flags} ${irremoteesp_full.build_flags} [env:tasmota-zbbridge] build_flags = ${common.build_flags} -DFIRMWARE_ZBBRIDGE -board_build.ldscript = eagle.flash.2m256.ld +board = esp8266_2M256 board_build.f_cpu = 160000000L lib_extra_dirs = lib/lib_ssl