mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
libretiny
This commit is contained in:
@@ -347,6 +347,43 @@ build_src_filter =
|
||||
+<modules/*.cpp>
|
||||
${env:esp32_16mb_fromitems.build_src_filter}
|
||||
|
||||
[env:tiny]
|
||||
extra_scripts = pre:tools/lt_fsbuildscript.py
|
||||
lib_compat_mode = off
|
||||
lib_deps =
|
||||
LT_WebSockets
|
||||
https://github.com/Mit4el/ESPAsyncUDP#master
|
||||
${common_env_data.lib_deps_external}
|
||||
${env:tiny_fromitems.lib_deps}
|
||||
lib_ignore = EspSoftwareSerial, HTTPUpdate, WebSockets
|
||||
platform = https://github.com/Mit4el/libretiny#master
|
||||
framework = arduino
|
||||
board = generic-bk7231n-qfn32-tuya
|
||||
custom_fw_name = iotm_tiny
|
||||
custom_fw_version = 0.0.1
|
||||
upload_speed = 115200
|
||||
monitor_speed = 115200
|
||||
build_flags =
|
||||
-DLT_LOGLEVEL=LT_LEVEL_DEBUG
|
||||
-DLT_DEBUG_ALL=1
|
||||
#-DLFS_THREADSAFE=1
|
||||
-DPROJECT_DATA_DIR="data_svelte"
|
||||
-DLT_USE_TIME=1
|
||||
-DDEBUG_ESP_PORT=Serial1
|
||||
-DNODEBUG_WEBSOCKETS=1
|
||||
-DLT_UART_DEFAULT_PORT=1
|
||||
-DUPLOAD_PORT=auto
|
||||
build_src_filter =
|
||||
+<*.cpp>
|
||||
+<classes/*.cpp>
|
||||
+<utils/*.cpp>
|
||||
+<modules/*.cpp>
|
||||
${env:tiny_fromitems.build_src_filter}
|
||||
|
||||
[task_flash_fs]
|
||||
description = Flash File System
|
||||
cmd = echo "Flash FS Tiny board" && patch\ltchiptool.exe flash --start 0x1DB000 --skip 0x00000 --length 0x25000 -f lt_littlefs.bin -p %UPLOAD_PORT% && echo "Complete!"
|
||||
|
||||
[env:esp8266_1mb_ota_fromitems]
|
||||
lib_deps =
|
||||
adafruit/Adafruit BME280 Library
|
||||
@@ -809,3 +846,16 @@ build_src_filter =
|
||||
+<modules/virtual/VariableColor>
|
||||
+<modules/virtual/VButton>
|
||||
|
||||
[env:tiny_fromitems]
|
||||
lib_deps =
|
||||
build_src_filter =
|
||||
+<modules/virtual/Cron>
|
||||
+<modules/virtual/Loging>
|
||||
+<modules/virtual/LogingDaily>
|
||||
+<modules/virtual/Math>
|
||||
+<modules/virtual/owmWeather>
|
||||
+<modules/virtual/Timer>
|
||||
+<modules/virtual/Variable>
|
||||
+<modules/virtual/VButton>
|
||||
+<modules/sensors/BL0937>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user