add MI env (#19902)

* rename odroid ard3 env to tasmota32-psramfix_ard3
* add inbuilt JTAG debugger
* rm Homekit leftovers
* add MI env
This commit is contained in:
Jason2866 2023-11-02 12:03:14 +01:00 committed by GitHub
parent 3da80e9144
commit 6a86576dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 58 additions and 13 deletions

View File

@ -17,6 +17,10 @@
"bluetooth" "bluetooth"
], ],
"debug": { "debug": {
"default_tool": "esp-builtin",
"onboard_tools": [
"esp-builtin"
],
"openocd_target": "esp32c3.cfg" "openocd_target": "esp32c3.cfg"
}, },
"frameworks": [ "frameworks": [

View File

@ -17,6 +17,10 @@
"bluetooth" "bluetooth"
], ],
"debug": { "debug": {
"default_tool": "esp-builtin",
"onboard_tools": [
"esp-builtin"
],
"openocd_target": "esp32c6.cfg" "openocd_target": "esp32c6.cfg"
}, },
"frameworks": [ "frameworks": [

View File

@ -49,7 +49,7 @@ default_envs =
; ;
; tasmota32-arduino30 ; tasmota32-arduino30
; tasmota32solo1-arduino30 ; tasmota32solo1-arduino30
; tasmota32-odroid30 ; tasmota32-psramfix_ard3
; tasmota32s2-arduino30 ; tasmota32s2-arduino30
; tasmota32s2cdc-arduino30 ; tasmota32s2cdc-arduino30
; tasmota32s3-arduino30 ; tasmota32s3-arduino30

View File

@ -96,6 +96,48 @@ lib_ignore = TTGO TWatch Library
Micro-RTSP Micro-RTSP
epdiy epdiy
[env:tasmota32-mi32]
extends = env:tasmota32_base
build_flags = ${env:tasmota32_base.build_flags}
-DUSE_MI_EXT_GUI
-DUSE_MI_ESP32
-DOTA_URL='""'
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
lib_ignore = ESP8266Audio
ESP8266SAM
TTGO TWatch Library
Micro-RTSP
epdiy
NimBLE-Arduino
[env:tasmota32c3-mi32]
extends = env:tasmota32c3
build_flags = ${env:tasmota32_base.build_flags}
-DUSE_MI_EXT_GUI
-DUSE_MI_ESP32
-DOTA_URL='""'
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
lib_ignore = ESP8266Audio
ESP8266SAM
TTGO TWatch Library
Micro-RTSP
epdiy
NimBLE-Arduino
[env:tasmota32s3-mi32]
extends = env:tasmota32s3
build_flags = ${env:tasmota32_base.build_flags}
-DUSE_MI_EXT_GUI
-DUSE_MI_ESP32
-DOTA_URL='""'
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
lib_ignore = ESP8266Audio
ESP8266SAM
TTGO TWatch Library
Micro-RTSP
epdiy
NimBLE-Arduino
; *** Debug version used for PlatformIO Home Project Inspection ; *** Debug version used for PlatformIO Home Project Inspection
[env:tasmota-debug] [env:tasmota-debug]
build_type = debug build_type = debug

View File

@ -37,7 +37,8 @@ build_flags = ${env:arduino30.build_flags}
monitor_filters = esp32_exception_decoder monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore} lib_ignore = ${env:arduino30.lib_ignore}
[env:tasmota32-odroid30] ; *** ESP32 rev.0/1 with PSRAM needs a fix for faulty PSRAM ROM code
[env:tasmota32-psramfix_ard3]
extends = env:arduino30 extends = env:arduino30
board = esp32-fix board = esp32-fix
board_build.f_cpu = 240000000L board_build.f_cpu = 240000000L

View File

@ -297,17 +297,11 @@
#define USE_ADC #define USE_ADC
//#undef USE_BERRY // Disable Berry scripting language //#undef USE_BERRY // Disable Berry scripting language
#if defined(USE_MI_HOMEKIT) // Switch between Homekit and full BLE driver
#define USE_MI_ESP32 #define USE_ETHERNET // Add support for ethernet (+20k code)
#if(USE_MI_HOMEKIT != 1) // Enable(1)/ Disable(0) Homekit, only for the .c-file #define USE_BLE_ESP32 // Enable full BLE driver
#undef USE_MI_HOMEKIT #define USE_EQ3_ESP32
#endif // disable USE_MI_HOMEKIT #define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
#else
#define USE_ETHERNET // Add support for ethernet (+20k code)
#define USE_BLE_ESP32 // Enable full BLE driver
#define USE_EQ3_ESP32
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
#endif // enable USE_MI_HOMEKIT
#endif // FIRMWARE_BLUETOOTH #endif // FIRMWARE_BLUETOOTH