Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
d2a55af
Merge pull request #33 from IoTManagerProject/ver4dev
Mit4el May 15, 2024
6a288bb
Добавляем альтернативный источник обновлений
biveraxe Aug 13, 2024
d3d01f1
Добавляем варианты частичной прошивки
biveraxe Aug 13, 2024
3919e5a
DebugTrace, Nextion, BrokerMQTT
Mit4el Sep 20, 2024
d6a24b1
Nextion, VerifyOTA? RollBackConfig
Mit4el Sep 20, 2024
b32abb5
Discovery HA and HomeD
Mit4el Sep 20, 2024
596eb9c
libretiny
Mit4el Sep 20, 2024
a1ab70f
EctoControl Opentherm
Mit4el Sep 20, 2024
b9c07b8
msg by used ELF file
Mit4el Sep 20, 2024
af0f782
fix Discovery, DugTrace
Mit4el Sep 21, 2024
d63f1bb
add IRremote
Mit4el Sep 21, 2024
7f18bcd
upd IRremote
Mit4el Sep 21, 2024
dc87331
fix Строки и числа от MQTT
Mit4el Sep 26, 2024
dbad34b
add WDT 10s, fix 8266, tiny
Mit4el Nov 16, 2024
509363f
fix reset_config_bootloop
Mit4el Nov 17, 2024
e9403b2
fix wdt
Mit4el Nov 17, 2024
cfe1f04
lib tiny ignore
Mit4el Nov 19, 2024
8136d47
undo WDT
Mit4el Nov 19, 2024
d6e4ac2
tiny->bk7231, WS ping? fix clear config
Mit4el Nov 20, 2024
6820460
update Thermostat and Loging
Mit4el Nov 20, 2024
d392858
add board ESP32-C6 4mb and 8mb
Mit4el Nov 22, 2024
3a17e0c
fix bk7231n
Mit4el Nov 23, 2024
13d0b51
easy build and flash bk7231n
Mit4el Nov 24, 2024
3aaeb76
fix HomeD
Mit4el Nov 26, 2024
247cb51
speed bk7231
Mit4el Nov 26, 2024
d726e66
local sever ota
Mit4el Nov 26, 2024
5f38454
build pipline
Mit4el Nov 26, 2024
1a2de85
build pipline select boards
Mit4el Nov 26, 2024
64ce8b0
fix esp32_c3m
Mit4el Nov 26, 2024
f3ebfb3
change /home/rise to ~ for script
Mit4el Nov 26, 2024
17949a5
undo ~, try exception
Mit4el Nov 26, 2024
a1079a0
smi2 false
Mit4el Nov 26, 2024
a122de9
артифакты action github
Mit4el Nov 26, 2024
0bd5254
артифакты
Mit4el Nov 26, 2024
463fc61
pcf8591, sht30
Mit4el Nov 27, 2024
64b4e67
btn Home in localota
Mit4el Nov 29, 2024
889eb5f
fix display smi2
Mit4el Nov 30, 2024
322925f
Broker fix
Mit4el Dec 3, 2024
5e801e7
wifiIsConnect, module Broker update
Mit4el Dec 8, 2024
a844d08
module LocalUpdate, GyverLamp, WebSocket for C6
Mit4el Dec 17, 2024
68fea2a
fix esp32c6 & add ble, Fix Date Log, add BL0942, upd Descovery
Mit4el Jan 6, 2025
025bf94
подсчет среднего ADC
Mit4el Jan 6, 2025
c086c71
esp32c6 flash_size 8mb
Mit4el Jan 7, 2025
18cd043
test path script
Mit4el Jan 7, 2025
fce887d
test fix path script
Mit4el Jan 7, 2025
2397d1c
test
Mit4el Jan 7, 2025
24430de
test path script
Mit4el Jan 7, 2025
79c1810
fix абсолютных путей скриптов
Mit4el Jan 7, 2025
96b8311
пути в скриптах
Mit4el Jan 7, 2025
3791fe2
fix webSocket 8266
Mit4el Jan 7, 2025
9904b56
CI github Action
Mit4el Jan 7, 2025
130dd03
preAlfa modBus_async
Mit4el Jan 7, 2025
a6e4617
new lib BLE, чуть меньше расходует памяти
Mit4el Jan 13, 2025
f214140
add ModBusNode
Mit4el Jan 13, 2025
68d6539
удалил лишний Pcf8574
Mit4el Jan 13, 2025
d337dea
обновил конфиг по умолчанию
Mit4el Jan 13, 2025
6094c62
add module ModBusRTU
Mit4el Jan 13, 2025
9a1e92d
профиль
Mit4el Jan 13, 2025
959315b
test ModBusAsync
Mit4el Jan 13, 2025
10b1adb
upd /localota, modbusAsync
Mit4el Feb 5, 2025
229dc89
fix float & long
Mit4el Feb 5, 2025
05ea75a
upd ModBus
Mit4el Feb 8, 2025
e3d3bca
optimize memory, upd AnalogADC
Mit4el Feb 14, 2025
95b9dc3
fix BLE
Mit4el Feb 14, 2025
dccdf4a
fix ble
Mit4el Feb 14, 2025
9b620fd
new WiFi async connect
Mit4el Feb 14, 2025
9d32b0c
fix AnalogAdc
Mit4el Feb 15, 2025
2e8a7f1
Добавляем экранирование в строки сценария \\" и \\n
biveraxe Feb 16, 2025
e988481
Merge pull request #36 from 2blSoft/ver4dev
Mit4el Feb 16, 2025
9cbf5f0
upd AnalogADC, fix asyncWiFi UDP
Mit4el Feb 17, 2025
33d19be
open src EctoControl
Mit4el Feb 17, 2025
4ef929b
not lib ecto
Mit4el Feb 21, 2025
36ea71c
fix ecto modbus
Mit4el Feb 22, 2025
67a6eba
fix ecto writeRegister
Mit4el Feb 24, 2025
27f2e67
fix wifi 8266
Mit4el Feb 24, 2025
a7a02db
Исправляем ошибку в опредении вхождени в период в nowInTimePeriod
biveraxe Mar 10, 2025
78742d9
fix EctoControl
Mit4el Mar 10, 2025
104bfbf
Merge pull request #37 from 2blSoft/ver4dev
Mit4el Mar 10, 2025
8925239
Merge branch 'ver4dev' into ver4dev
Mit4el Mar 10, 2025
4bd1684
Merge pull request #39 from IoTManagerProject/ver4dev
Mit4el Mar 10, 2025
7627874
event onWifi
Mit4el Mar 13, 2025
f254fbe
асинхронный скан сети по запросу веба
Mit4el Mar 16, 2025
9beb86d
Merge pull request #398 from Mit4el/ver4dev
Mit4el Mar 16, 2025
9dca608
fix scanning wifi
Mit4el Mar 16, 2025
4c94952
Merge pull request #399 from Mit4el/ver4dev
Mit4el Mar 16, 2025
37d9c22
fix BLE и Wifi одновременно
Mit4el Mar 22, 2025
d8cb3e9
Merge pull request #400 from Mit4el/ver4dev
Mit4el Mar 22, 2025
fc50947
newWeb upd пинг всех плат, Файлы, новые графики
Mit4el Mar 22, 2025
769d6fc
WEB обновление и время
Mit4el Mar 26, 2025
f5ba827
fix wifi bk7231n
Mit4el Mar 27, 2025
6765f26
fix uart bk7231n
Mit4el Mar 27, 2025
940f68a
upd version
Mit4el Mar 27, 2025
1928806
Merge pull request #401 from Mit4el/ver4dev
Mit4el Mar 27, 2025
efc4da0
*web* 2x, 3x chart, d&d OTA, Info
Mit4el Mar 28, 2025
692a36b
fix chart 2x 3x
Mit4el Mar 28, 2025
3a2ac16
*web* fix render chart
Mit4el Mar 28, 2025
17dadf5
upd version, upd ectoControl
Mit4el Mar 29, 2025
ff7a355
fix sync time bk7231n
Mit4el Mar 29, 2025
444bd6c
*web* chart color
Mit4el Mar 30, 2025
ce1b8e4
Merge branch 'ver4dev' of https://github.com/biveraxe/IoTManager into…
biveraxe May 6, 2025
1ead6a7
Добавляем функцию hexstr в uint32_t
biveraxe May 13, 2025
9b54a17
Исправляем опечатк в модуле AhtXX
biveraxe May 13, 2025
e9cc823
Добавляем модуль управления led лентой LedFX
biveraxe May 13, 2025
d30408c
Добавляем заголовк для функции hexStringToUint32
biveraxe May 13, 2025
d417f96
Добавляем скрипт компиляции и загрузки прошивки
biveraxe May 13, 2025
6dbfa46
Merge pull request #402 from biveraxe/ver4dev
biveraxe May 13, 2025
060373e
Исправляем опечатку в названиии библиотеки
biveraxe May 15, 2025
fbdcb6e
Добавляем параметр board скрипты сборки
biveraxe May 15, 2025
bc548a1
Merge branch 'ver4dev' of https://github.com/biveraxe/IoTManager into…
biveraxe May 15, 2025
2a518bc
Merge pull request #403 from biveraxe/ver4dev
biveraxe May 15, 2025
b0d1ec9
Исправляем опечатку в условии LrdFX
biveraxe May 15, 2025
bdb8c29
Дописываем onModuleOrder в DwinI
biveraxe May 15, 2025
892e6d3
Добавляем новую функцию в сценарии doByInterval
biveraxe May 21, 2025
d11f69b
Корректируем скрипты с учетом MACOS
biveraxe May 22, 2025
33d449d
Добавляем получение символа getUtf8CharByIndex
biveraxe May 29, 2025
4b98abf
Добавляем модуль U8g2lib для работы с дисплеями
biveraxe May 29, 2025
6194169
Добавляем модуль U8g2lib для работы с дисплеями
biveraxe May 29, 2025
1a79776
Добавляем системные вызовы setInterval и doByInterval
biveraxe May 29, 2025
fe9d982
Меняем алгоритм вызова getAPI_
biveraxe May 29, 2025
49c90d2
Merge branch 'IoTManagerProject:ver4dev' into ver4dev
biveraxe May 29, 2025
0b31c8a
Merge branch 'ver4dev' of https://github.com/biveraxe/IoTManager into…
biveraxe May 29, 2025
f948741
Merge pull request #404 from biveraxe/ver4dev
biveraxe May 29, 2025
4195c38
*web Кастом Модификаторы в веб
Mit4el Jul 24, 2025
42b2d90
Merge branch 'ver4dev' into dev_newWeb
Mit4el Jul 24, 2025
22629d0
Merge pull request #40 from Mit4el/dev_newWeb
Mit4el Jul 24, 2025
7b9da80
add Board esp32_wifirep
Mit4el Jul 24, 2025
7be2d41
Merge branch 'ver4dev' into ver4dev
Mit4el Jul 24, 2025
2002a6b
Добавялем обработку в строке \\ в сценарии
biveraxe Jul 28, 2025
f1ecf3d
Уточняем версию библиотеки DallasTemperature
biveraxe Aug 14, 2025
d255efa
Merge pull request #406 from biveraxe/ver4dev
biveraxe Aug 14, 2025
f46e757
в modinfo модулей добавлен moduleDefines для условной компиляции
DmitriyTychina Sep 19, 2025
a71e608
Update PrepareProject.py
Mit4el Sep 23, 2025
e3121a2
Update platformio.ini
Mit4el Sep 23, 2025
5ed30a7
Merge pull request #408 from DmitriyTychina/ver4dev
Mit4el Sep 23, 2025
70896f6
Учитываем что moduleDefines всегда список
biveraxe Sep 24, 2025
318e3ed
Merge pull request #409 from biveraxe/ver4dev
biveraxe Sep 24, 2025
366c047
Milight: MQTT control + profile entry
weoleg Nov 22, 2025
0971409
weoleg Nov 22, 2025
85629b7
Отключены неиспользуемые модули в конфигурации myProfile.json
weoleg Nov 22, 2025
e04aff7
тест
weoleg Nov 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions .github/workflows/build_esp32c3m.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Build ESP32C3M Firmware

on:
push:
branches: [ ver4dev ]
paths:
- 'platformio.ini'
- 'src/**'
- 'include/**'
- 'lib/**'
- 'data_*/**'
- 'bin/**'
- 'tools/**'
- 'PrepareProject.py'
- '.github/workflows/build_esp32c3m.yml'
pull_request:
branches: [ ver4dev ]
paths:
- 'platformio.ini'
- 'src/**'
- 'include/**'
- 'lib/**'
- 'data_*/**'
- 'bin/**'
- 'tools/**'
- 'PrepareProject.py'
- '.github/workflows/build_esp32c3m.yml'
workflow_dispatch:

env:
BOARD: esp32c3m_4mb

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio

- name: Prepare project
run: python ./PrepareProject.py -b ${BOARD}

- name: Build firmware
run: platformio run -e ${BOARD}

- name: Build filesystem image
run: platformio run -e ${BOARD} -t buildfs --disable-auto-clean

- name: Collect artifacts
run: |
mkdir -p artifacts/${BOARD}
find .pio/build/${BOARD} -maxdepth 1 -type f -name '*.bin' -exec cp {} artifacts/${BOARD} \;
if [ -f build_${BOARD}.log ]; then cp build_${BOARD}.log artifacts/${BOARD}/; fi

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${BOARD}-firmware-${{ github.run_number }}
path: artifacts/${BOARD}
52 changes: 52 additions & 0 deletions .github/workflows/build_iotm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
env:
BOARDS: '["esp8266_4mb", "esp8266_16mb", "esp32_4mb3f", "esp32c3m_4mb", "esp32s2_4mb", "esp32s3_16mb"]'

name: Build Firmware

on:
workflow_dispatch:

jobs:
generate-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set_matrix.outputs.json }}
steps:
- name: Prepare matrix JSON Object
id: set_matrix
run: echo "json={\"board\":${{ env.BOARDS }}}" >> $GITHUB_OUTPUT

build:
needs: [ generate-matrix ]
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}

steps:
- uses: actions/checkout@v2
with:
ref: 'ver4dev'
- name: Run PrepareProject.py -b ${{ matrix.board }}
run: python3 ./PrepareProject.py -b ${{ matrix.board }}
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO
if: always()
run: platformio run
- name: Build FS
if: always()
run: platformio run -t buildfs --disable-auto-clean
- name: Rearrange Artifacts
run: |
mkdir -p artifacts/${{ matrix.board }}
find .pio/build/${{ matrix.board }} -name "*.bin" -exec mv {} artifacts/${{ matrix.board }} \;
working-directory: ${{ github.workspace }}
- name: Attach artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.board }}-${{ github.run_number }}
path: artifacts/${{ matrix.board }}
71 changes: 55 additions & 16 deletions PrepareProject.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# python PrepareProject.py --profile <ИмяФайла>
# python PrepareProject.py -p <ИмяФайла>
#
# Используя параметры -b или --board <board_name> можно уточнить для какой платы нужно подготовить проект
#
# поддерживаемые контроллеры (профили):
# esp8266_4mb
# esp8266_16mb
Expand Down Expand Up @@ -41,7 +43,22 @@ def printHelp():
PrepareProject.py
-p --profile <file.json_in_root_folder>
-u --update
-h --help''')
-h --help
-b --board <board_name>''')
with open('myProfile.json', "r", encoding='utf-8') as read_file:
profJson = json.load(read_file)
print ('')
print ('Choose a board from the list:')
# print(profJson['projectProp']['platformio']['comments_default_envs'])
print (' ', end='')
cnt = 0
for envs in profJson['projectProp']['platformio']['envs']:
if cnt == 5:
cnt = 0
print('')
print(' ', end='')
print(envs['name'] + ', ', end='')
cnt = cnt + 1


def updateModulesInProfile(profJson):
Expand All @@ -68,10 +85,11 @@ def updateModulesInProfile(profJson):

update = False # признак необходимости обновить список модулей
profile = 'myProfile.json' # имя профиля. Будет заменено из консоли, если указано при старте

selectDevice = '' # имя платы для которой хотим собрать, если её указали к командной строке -b <board>

argv = sys.argv[1:]
try:
opts, args = getopt.getopt(argv, 'hp:u', ['help', 'profile=', 'update'])
opts, args = getopt.getopt(argv, 'hp:ub:', ['help', 'profile=', 'update', 'board='])
except getopt.GetoptError:
print('Ошибка обработки параметров!')
printHelp()
Expand All @@ -82,10 +100,14 @@ def updateModulesInProfile(profJson):
printHelp()
sys.exit()
elif opt in ("-p", "--profile"):
print('Загрузка профиля из файла:' + arg)
profile = arg
elif opt in ("-u", "--update"):
print('Создание новой конфигурации по исходным файлам!')
update = True

elif opt in ("-b", "--board"):
print('Создание профиля для платы:' + arg)
selectDevice = arg

if Path(profile).is_file():
# подтягиваем уже существующий профиль
Expand Down Expand Up @@ -121,9 +143,17 @@ def updateModulesInProfile(profJson):
with open(profile, "w", encoding='utf-8') as write_file:
json.dump(profJson, write_file, ensure_ascii=False, indent=4, sort_keys=False)


# определяем какое устройство используется в профиле
deviceName = profJson['projectProp']['platformio']['default_envs']
deviceName = ''
if selectDevice == '':
# определяем какое устройство используется в профиле
deviceName = profJson['projectProp']['platformio']['default_envs']
else:
for envs in profJson['projectProp']['platformio']['envs']:
if envs['name'] == selectDevice:
deviceName = selectDevice
if deviceName == '':
deviceName = profJson['projectProp']['platformio']['default_envs']
print(f"\x1b[1;31;31m Board ", selectDevice, " not found in ",profile,"!!! Use ",deviceName," \x1b[0m")

# заполняем папку /data файлами прошивки в зависимости от устройства
if deviceName == 'esp8266_1mb_ota' or deviceName == 'esp8285_1mb_ota' or deviceName == 'esp8266_2mb_ota':
Expand All @@ -134,7 +164,8 @@ def updateModulesInProfile(profJson):
deviceType = 'esp32*'
if not 'esp32' in deviceName:
deviceType = 'esp82*'

if 'bk72' in deviceName:
deviceType = 'bk72*'
# генерируем файлы проекта на основе подготовленного профиля
# заполняем конфигурационный файл прошивки параметрами из профиля
with open("data_svelte/settings.json", "r", encoding='utf-8') as read_file:
Expand All @@ -151,7 +182,8 @@ def updateModulesInProfile(profJson):
# параллельно собираем необходимые активным модулям библиотеки для включения в компиляцию для текущего типа устройства (esp8266_4m, esp32_4mb, esp8266_1m, esp8266_1m_ota)
activeModulesName = [] # список имен активных модулей
allLibs = "" # подборка всех библиотек необходимых модулям для дальнейшей записи в конфигурацию platformio
itemsCount = 1;
allDefs = "\n" # для каждого модуля создаем глобальный define
itemsCount = 1
includeDirs = "" # подборка путей ко всем модулям для дальнейшей записи в конфигурацию platformio
itemsJson = json.loads('[{"name": "Выберите элемент", "num": 0}]')
for section, modules in profJson['modules'].items():
Expand All @@ -160,6 +192,8 @@ def updateModulesInProfile(profJson):
if module['active']:
with open(module['path'] + "/modinfo.json", "r", encoding='utf-8') as read_file:
moduleJson = json.load(read_file)
if 'moduleDefines' in moduleJson['about']:
allDefs = allDefs + "\n".join("-D" + d for d in moduleJson['about']['moduleDefines'])
if deviceName in moduleJson['usedLibs']: # проверяем поддерживает ли модуль текущее устройство
if not 'exclude' in moduleJson['usedLibs'][deviceName]: # смотрим не нужно ли исключить данный модуль из указанной платы deviceName
activeModulesName.append(moduleJson['about']['moduleName']) # запоминаем имена для использования на след шагах
Expand All @@ -170,6 +204,7 @@ def updateModulesInProfile(profJson):
configItemsJson['num'] = itemsCount
configItemsJson['name'] = str(itemsCount) + ". " + configItemsJson['name']
itemsCount = itemsCount + 1
configItemsJson['moduleName'] = moduleJson['about']['moduleName']
itemsJson.append(configItemsJson)
else: # В первую очередь ищем по имени deviceName, чтобы для данной платы можно было уточнить либы. Если не нашли плату по имени в usedLibs пробуем найти её по типу deviceType
if deviceType in moduleJson['usedLibs']: # проверяем поддерживает ли модуль текущее устройство
Expand All @@ -179,9 +214,10 @@ def updateModulesInProfile(profJson):
allLibs = allLibs + "\n" + libPath
for configItemsJson in moduleJson['configItem']:
configItemsJson['num'] = itemsCount
configItemsJson['name'] = str(itemsCount) + ". " + configItemsJson['name']
itemsCount = itemsCount + 1
itemsJson.append(configItemsJson)
configItemsJson['name'] = str(itemsCount) + ". " + configItemsJson['name']
itemsCount = itemsCount + 1
itemsJson.append(configItemsJson)
configItemsJson['moduleName'] = moduleJson['about']['moduleName']

with open("data_svelte/items.json", "w", encoding='utf-8') as write_file:
json.dump(itemsJson, write_file, ensure_ascii=False, indent=4, sort_keys=False)
Expand All @@ -192,12 +228,12 @@ def updateModulesInProfile(profJson):
allAPI_exec = ""
for activModuleName in activeModulesName:
allAPI_head = allAPI_head + "\nvoid* getAPI_" + activModuleName + "(String subtype, String params);"
allAPI_exec = allAPI_exec + "\nif ((tmpAPI = getAPI_" + activModuleName + "(subtype, params)) != nullptr) return tmpAPI;"
allAPI_exec = allAPI_exec + "\nif ((tmpAPI = getAPI_" + activModuleName + "(subtype, params)) != nullptr) foundAPI = tmpAPI;"
apicpp = '#include "ESPConfiguration.h"\n'
apicpp = apicpp + allAPI_head
apicpp = apicpp + '\n\nvoid* getAPI(String subtype, String params) {\nvoid* tmpAPI;'
apicpp = apicpp + '\n\nvoid* getAPI(String subtype, String params) {\nvoid* tmpAPI; void* foundAPI = nullptr;'
apicpp = apicpp + allAPI_exec
apicpp = apicpp + '\nreturn nullptr;\n}'
apicpp = apicpp + '\nreturn foundAPI;\n}'
with open('src/modules/API.cpp', 'w') as f:
f.write(apicpp)

Expand All @@ -217,7 +253,10 @@ def updateModulesInProfile(profJson):
config.read("platformio.ini")
config["env:" + deviceName + "_fromitems"]["lib_deps"] = allLibs
config["env:" + deviceName + "_fromitems"]["build_src_filter"] = includeDirs
config["env:" + deviceName + "_fromitems"]["build_flags"] = allDefs
config["platformio"]["default_envs"] = deviceName
if "${env:" + deviceName + "_fromitems.build_flags}" not in config["env:" + deviceName]["build_flags"]:
config["env:" + deviceName]["build_flags"] += "\n${env:" + deviceName + "_fromitems.build_flags}"
# config["platformio"]["data_dir"] = profJson['projectProp']['platformio']['data_dir']
with open("platformio.ini", 'w') as configFile:
config.write(configFile)
Expand Down Expand Up @@ -251,4 +290,4 @@ def updateModulesInProfile(profJson):

# print(f"\x1b[1;32;41m Операция завершена. \x1b[0m")



4 changes: 2 additions & 2 deletions PrepareServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def copyFileIfExist(fileName, deviceName):
deviceName = config["platformio"]["default_envs"]

homeDir = os.path.expanduser('~')
os.system(homeDir + "\.platformio\penv\Scripts\pio run")
os.system(homeDir + "\.platformio\penv\Scripts\pio run -t buildfs --disable-auto-clean")
os.system(homeDir + "/.platformio/penv/Scripts/pio run")
os.system(homeDir + "/.platformio/penv/Scripts/pio run -t buildfs --disable-auto-clean")

if copyFileIfExist("firmware.bin", deviceName) and copyFileIfExist("littlefs.bin", deviceName):
copyFileIfExist("partitions.bin", deviceName)
Expand Down
59 changes: 59 additions & 0 deletions build_esp32c3m.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Processing esp32c3m_4mb (framework: arduino; board: lolin_c3_mini; platform: espressif32 @6.6.0)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
PLATFORMIO_DIRC:\Users\IT-TehNika\.platformio
���� �������, ��! C:\Users\IT-TehNika\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiClient.cpp
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lolin_c3_mini.html
PLATFORM: Espressif 32 (6.6.0) > WEMOS LOLIN C3 Mini
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 67 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.18.0
|-- PubSubClient @ 2.8.0
|-- EncButton @ 2.0.0
|-- TM16xx LEDs and Buttons @ 0.7.2503+sha.ab716f4
|-- Adafruit GFX Library @ 1.12.4+sha.e4df4cc
|-- Adafruit BusIO @ 1.17.4
|-- Adafruit BME280 Library @ 2.3.0
|-- Adafruit BMP280 Library @ 2.6.8
|-- DHT sensor library for ESPx @ 1.19.0
|-- MAX6675 library @ 1.1.2
|-- WS2812FX @ 1.4.5
|-- dscKeybusInterface @ 3.0.0+sha.ce12e1c
|-- AHTxx @ 1.2.0+sha.701814c
|-- DallasTemperature @ 4.0.5
|-- EspSoftwareSerial @ 8.1.0
|-- Wire @ 2.0.0
|-- OneWire @ 2.3.8
|-- iarduino RTC (���� ��������� �������) @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
|-- LittleFS @ 2.0.0
|-- FS @ 2.0.0
|-- SPIFFS @ 2.0.0
|-- WiFi @ 2.0.0
|-- HTTPClient @ 2.0.0
|-- HTTPUpdate @ 2.0.0
|-- TickerScheduler
|-- Update @ 2.0.0
|-- WebServer @ 2.0.0
|-- WebSockets @ 2.3.7
Building in release mode
Retrieving maximum program size .pio\build\esp32c3m_4mb\firmware.elf
Checking size .pio\build\esp32c3m_4mb\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 13.1% (used 42884 bytes from 327680 bytes)
Flash: [======== ] 77.7% (used 1221944 bytes from 1572864 bytes)
========================= [SUCCESS] Took 68.72 seconds =========================

Environment Status Duration
------------- -------- ------------
esp32c3m_4mb SUCCESS 00:01:08.724
========================= 1 succeeded in 00:01:08.724 =========================
Binary file added build_esp32c3m_4mb.log
Binary file not shown.
Loading