Добавляем контроллер esp8266_2mb

This commit is contained in:
Mit4el
2023-04-03 20:40:19 +03:00
parent c64a2e7793
commit ac77b8fb4a
37 changed files with 282 additions and 138 deletions

View File

@@ -20,6 +20,8 @@
# esp8266_1mb_ota
# esp8285_1mb
# esp8285_1mb_ota
# esp8266_2mb
# esp8266_2mb_ota
import configparser
import os, json, sys, getopt
@@ -119,7 +121,7 @@ deviceName = profJson['projectProp']['platformio']['default_envs']
# назначаем папку с файлами прошивки в зависимости от устройства и запоминаем в профиле
dataDir = 'data_svelte'
if deviceName == 'esp8266_1mb_ota' or deviceName == 'esp8285_1mb_ota':
if deviceName == 'esp8266_1mb_ota' or deviceName == 'esp8285_1mb_ota' or deviceName == 'esp8266_2mb_ota':
dataDir = 'data_svelte_lite'
profJson['projectProp'] = {
'platformio': {