mirror of https://github.com/arendst/Tasmota.git
Partition Wizard use ota.tasmota.com
This commit is contained in:
parent
9570b0ea89
commit
7e0f69e935
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"build": {
|
||||
"arduino":{
|
||||
"ldscript": "esp32_out.ld"
|
||||
},
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_ESP32_DEV -DBOARD_HAS_PSRAM -DARDUINO_USB_CDC_ON_BOOT=0 -DESP32_4M",
|
||||
"f_cpu": "80000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dout",
|
||||
"mcu": "esp32",
|
||||
"variant": "esp32",
|
||||
"partitions": "partitions/esp32_partition_app1856k_fs320k.csv"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_target": "esp32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "Espressif Generic ESP32 4M Flash, Tasmota 2880k Code/OTA, 320k FS",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"require_upload_port": true,
|
||||
"speed": 460800
|
||||
},
|
||||
"url": "https://en.wikipedia.org/wiki/ESP32",
|
||||
"vendor": "Espressif"
|
||||
}
|
|
@ -11,7 +11,7 @@ GENERATE = generate
|
|||
CONFIG = default/berry_conf.h
|
||||
COC = tools/coc/coc
|
||||
PY = python3
|
||||
PYCOC = tools/pycoc/main.py
|
||||
PYCOC = tools/coc/coc
|
||||
CONST_TAB = $(GENERATE)/be_const_strtab.h
|
||||
MAKE_COC = $(MAKE) -C tools/coc
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -17,7 +17,7 @@ var partition_wizard = module('partition_wizard')
|
|||
class Partition_wizard_UI
|
||||
static app_size_min = 832 # Min OTA size - let's set it at a safe 896KB for minimal Tasmota32 with TLS
|
||||
static app_size_max = 3072 # Max OTA size - (4096 - 896 - 128)
|
||||
static _default_safeboot_URL = "https://raw.githubusercontent.com/arendst/Tasmota-firmware/main/firmware/tasmota32/tasmota32%s-safeboot.bin"
|
||||
static _default_safeboot_URL = "http://ota.tasmota.com/tasmota32/release/tasmota32%s-safeboot.bin"
|
||||
|
||||
def init()
|
||||
import persist
|
||||
|
|
|
@ -123,7 +123,11 @@ String GetDeviceHardwareRevision(void) {
|
|||
#include "bootloader_flash.h"
|
||||
// ESP32_ARCH contains the name of the architecture (used by autoconf)
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#define ESP32_ARCH "esp32"
|
||||
#ifdef CORE32SOLO1
|
||||
#define ESP32_ARCH "esp32solo1"
|
||||
#else
|
||||
#define ESP32_ARCH "esp32"
|
||||
#endif
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#define ESP32_ARCH "esp32s2"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S3
|
||||
|
|
Loading…
Reference in New Issue