diff --git a/boards/esp8266_zbbridge.json b/boards/esp8266_zbbridge.json new file mode 100644 index 000000000..975c1bc8c --- /dev/null +++ b/boards/esp8266_zbbridge.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": "160000000L", + "f_flash": "40000000L", + "flash_mode": "dout", + "mcu": "esp8266", + "variant": "generic" + }, + "connectivity": [ + "wifi" + ], + "frameworks": [ + "arduino", + "esp8266-rtos-sdk", + "esp8266-nonos-sdk" + ], + "name": "Sonoff ZbBridge Tasmota 1M sketch 772k OTA 256k SPIFFS", + "upload": { + "maximum_ram_size": 81920, + "maximum_size": 995326, + "require_upload_port": true, + "resetmethod": "ck", + "speed": 115200 + }, + "url": "https://templates.blakadder.com/sonoff_ZBBridge.html", + "vendor": "Espressif" +} diff --git a/platformio_tasmota_env.ini b/platformio_tasmota_env.ini index eed8ec891..5a17320bd 100644 --- a/platformio_tasmota_env.ini +++ b/platformio_tasmota_env.ini @@ -62,8 +62,7 @@ build_flags = ${common.build_flags} ${irremoteesp_full.build_flags} [env:tasmota-zbbridge] build_flags = ${common.build_flags} -DFIRMWARE_ZBBRIDGE -board = esp8266_2M256 -board_build.f_cpu = 160000000L +board = esp8266_zbbridge lib_extra_dirs = lib/lib_ssl [env:tasmota-zigbee]