diff --git a/data-src/index.js b/data-src/index.js index 40bd58e..244816e 100644 --- a/data-src/index.js +++ b/data-src/index.js @@ -1,6 +1,5 @@ //var hst = '192.168.1.208'; -var hst = '192.168.1.152'; -//var hst = '192.168.1.159'; +var hst = '192.168.178.20'; var _rooms = [{ roomId: 0, name: 'Home' }]; var errors = [ diff --git a/esp32_3MB.csv b/esp32_3MB.csv index f56623f..0828368 100644 --- a/esp32_3MB.csv +++ b/esp32_3MB.csv @@ -1,7 +1,7 @@ # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x5000 otadata, data, ota, 0xE000, 0x2000 -app0, app, ota_0, 0x10000, 0x180000 -app1, app, ota_1, 0x190000, 0x180000 -spiffs, data, spiffs, 0x310000, 0x0E0000 -coredump, data, coredump, 0x3F0000, 0x10000 +phy_init, data, phy, 0x10000, 0x1000 +app0, app, factory, 0x20000, 0x300000 +spiffs, data, spiffs, 0x320000, 0xE0000 +coredump, data, coredump, 0x3F0000, 0x10000 \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 3cbb462..2614eb3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -18,8 +18,11 @@ lib_deps = bblanchon/ArduinoJson@^7.2.2 lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7 knolleary/PubSubClient@^2.8 - esp32async/ESPAsyncWebServer@^3.10.3 - esp32async/AsyncTCP@^3.4.10 + ; esp32async/ESPAsyncWebServer@^3.10.3 + ; esp32async/AsyncTCP@^3.4.10 + ; 4. ESP32-C6 / Arduino 3.0 Compatible Async Stack (CRITICAL) + https://github.com/mathieucarbou/AsyncTCP.git + https://github.com/mathieucarbou/ESPAsyncWebServer.git extra_scripts = pre:minify.py post:archive_elf.py @@ -55,12 +58,36 @@ board_build.partitions = esp32_3MB.csv board = esp32-s3-devkitc-1 [env:esp32c6] -platform = https://github.com/mnowak32/platform-espressif32.git#boards/seeed_xiao_esp32c6 -platform_packages = - framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.4 - framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip +; platform = https://github.com/mnowak32/platform-espressif32.git#boards/seeed_xiao_esp32c6 +; platform_packages = +; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.4 +; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip +; board = seeed_xiao_esp32c6 +; board_build.partitions = esp32_3MB.csv +; build_flags = +; ${env.build_flags} +; -I${platformio.packages_dir}/framework-arduinoespressif32/libraries/Network/src +; platform = espressif32 ; Not working +platform = https://github.com/pioarduino/platform-espressif32 +# Ensure we are using the 3.0+ core +; platform_packages = +; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7 +; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.7/esp32-arduino-libs-3.0.7.zip board = seeed_xiao_esp32c6 +; board = esp32-c6-devkitc-1 + +lib_deps = + bblanchon/ArduinoJson@^7.2.2 + lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7 + knolleary/PubSubClient@^2.8 + https://github.com/ESP32Async/AsyncTCP.git + https://github.com/ESP32Async/ESPAsyncWebServer.git +; platform_packages = +; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7 + board_build.partitions = esp32_3MB.csv + build_flags = ${env.build_flags} -I${platformio.packages_dir}/framework-arduinoespressif32/libraries/Network/src +