Skip to content

Commit f5c410d

Browse files
committed
stimawifi release 20251030
1 parent 1b2c837 commit f5c410d

File tree

5 files changed

+83
-97
lines changed

5 files changed

+83
-97
lines changed
1.26 MB
Binary file not shown.
-1.26 MB
Binary file not shown.
1.26 MB
Binary file not shown.

platformio/stima_v3/stimawifi/include/stimawifi_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#define STIMAWIFI_CONFIG_H_
33

44
// increment on change
5-
#define SOFTWARE_VERSION "2025-10-21T00:00" // date and time iso format
6-
#define MAJOR_VERSION "20251021" // date YYYYMMDD
5+
#define SOFTWARE_VERSION "2025-10-30T00:00" // date and time iso format
6+
#define MAJOR_VERSION "20251030" // date YYYYMMDD
77
#define MINOR_VERSION "0" // time HHMM without leading 0
88

99
// SSID and password of WiFi for setup

platformio/stima_v3/stimawifi/platformio.ini

Lines changed: 81 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,29 @@
99
; https://docs.platformio.org/page/projectconf.html
1010

1111
[platformio]
12-
default_envs = lolin_c3_mini_v3
12+
default_envs = lolin_c3_mini
1313

1414
[env]
1515
framework = arduino
16-
;board_build.filesystem = littlefs
17-
;board_build.partitions = huge_app.csv
16+
17+
; Tasmota Espressif 32 stable release
18+
;------------------------------------
19+
; framework-arduinoespressif32 @ 3.1.4
20+
;platform = https://github.com/tasmota/platform-espressif32/releases/download/2025.10.30/platform-espressif32.zip
21+
22+
; Jason devel
23+
;------------
24+
; last commit
25+
;platform = https://github.com/Jason2866/platform-espressif32.git
26+
27+
; framework-arduinoespressif32 @ 3.3.2 (updated at 2025-10-30)
28+
platform = https://github.com/Jason2866/platform-espressif32.git#250507c81f26ef075938962adec3f6f638764ab3
29+
30+
; ota update partition
1831
board_build.partitions = stimawifi.csv
19-
extra_scripts = post:extra_script.py
2032

21-
;; platform version 2
22-
;platform = espressif32
23-
platform = espressif32@ ^6.5.0
33+
;board_build.filesystem = littlefs
34+
extra_scripts = post:extra_script.py
2435

2536
lib_extra_dirs = ../../libraries/
2637
monitor_speed = 115200
@@ -30,43 +41,43 @@ monitor_filters =
3041
log2file
3142
; time
3243
;upload_speed = 921600
33-
lib_ignore =
34-
ArduinoSTL
35-
FreeRTOS
36-
AESLib
37-
STM32duino LwIP
38-
STM32duino FreeRTOS
39-
arduino_uip
40-
RF24
41-
RF24Network
42-
UIPEthernet
43-
GSM_GPRSLibrary
44-
freertos-cpp
45-
Sqlite3Esp32
46-
47-
lib_deps =
44+
lib_ignore =
45+
ArduinoSTL
46+
FreeRTOS
47+
AESLib
48+
STM32duino LwIP
49+
STM32duino FreeRTOS
50+
arduino_uip
51+
RF24
52+
RF24Network
53+
UIPEthernet
54+
GSM_GPRSLibrary
55+
freertos-cpp
56+
Sqlite3Esp32
57+
58+
lib_deps =
4859
;;https://github.com/tzapu/WiFiManager.git
4960
Adafruit NeoPixel
5061
SdFat
5162
SD
5263
;libretiny-eu/FlashDB
5364
;siara-cc/Sqlite3Esp32
5465

55-
build_flags =
56-
-Iinclude
57-
-fexceptions
58-
-DARDUINO_USB_CDC_ON_BOOT=1
59-
-DARDUINO_USB_MODE=1
60-
-DARDUINO_LOOP_STACK_SIZE=4000
61-
-DSQLITE_ENABLE_MEMSYS5
62-
-DSQLITE_MAX_LENGTH=300
63-
-DSQLITE_MAX_COLUMN=10
64-
-DSQLITE_MAX_SQL_LENGTH=300
65-
-fstack-usage -Wstack-usage=200
66-
-DCONFIG_DISABLE_HAL_LOCKS=1
67-
-DNO_GLOBAL_HTTPUPDATE=1
68-
-DJRPC_DOCUMENT_SIZE=400
69-
-DWM_DEBUG_LEVEL=WM_DEBUG_DEV
66+
build_flags =
67+
-Iinclude
68+
-fexceptions
69+
-DARDUINO_USB_CDC_ON_BOOT=1
70+
-DARDUINO_USB_MODE=1
71+
-DARDUINO_LOOP_STACK_SIZE=4000
72+
-DSQLITE_ENABLE_MEMSYS5
73+
-DSQLITE_MAX_LENGTH=300
74+
-DSQLITE_MAX_COLUMN=10
75+
-DSQLITE_MAX_SQL_LENGTH=300
76+
-fstack-usage -Wstack-usage=200
77+
-DCONFIG_DISABLE_HAL_LOCKS=1
78+
-DNO_GLOBAL_HTTPUPDATE=1
79+
-DJRPC_DOCUMENT_SIZE=400
80+
-DWM_DEBUG_LEVEL=WM_DEBUG_DEV
7081
;;-DCONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID
7182
;;-DconfigUSE_TRACE_FACILITY=1
7283
;;-DCONFIG_HEAP_CORRUPTION_DETECTION=CONFIG_HEAP_POISONING_COMPREHENSIVE
@@ -78,84 +89,59 @@ build_flags =
7889
;-fexceptions
7990
;-DCORE_DEBUG_LEVEL=5
8091
;;;disable debug at compile time but call function anyway
81-
;-DDISABLE_LOGGING disable
92+
;-DDISABLE_LOGGING
8293

8394
;; https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/tutorials/partition_table.html
8495
;; https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/huge_app.csv
8596

8697
[env:lolin_c3_mini]
8798
board = lolin_c3_mini
8899

100+
[env:lolin_c3_mini_no_ota]
101+
board = lolin_c3_mini
102+
103+
; pioarduino is too big for ota update!
104+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
105+
; NO ota update partition
106+
board_build.partitions = huge_app.csv
107+
108+
89109
[env:lolin_c3_mini_prod]
90110
board = lolin_c3_mini
91-
build_flags =
92-
-Iinclude
93-
-fexceptions
94-
-DARDUINO_USB_CDC_ON_BOOT=1
95-
-DARDUINO_USB_MODE=1
96-
-DARDUINO_LOOP_STACK_SIZE=4000
97-
-DSQLITE_ENABLE_MEMSYS5
98-
-DSQLITE_MAX_LENGTH=300
99-
-DSQLITE_MAX_COLUMN=10
100-
-DSQLITE_MAX_SQL_LENGTH=300
101-
-fstack-usage -Wstack-usage=200
102-
-DCONFIG_DISABLE_HAL_LOCKS=1
111+
build_flags =
112+
-Iinclude
113+
-fexceptions
114+
-DARDUINO_USB_CDC_ON_BOOT=1
115+
-DARDUINO_USB_MODE=1
116+
-DARDUINO_LOOP_STACK_SIZE=4000
117+
-DSQLITE_ENABLE_MEMSYS5
118+
-DSQLITE_MAX_LENGTH=300
119+
-DSQLITE_MAX_COLUMN=10
120+
-DSQLITE_MAX_SQL_LENGTH=300
121+
-fstack-usage -Wstack-usage=200
122+
-DCONFIG_DISABLE_HAL_LOCKS=1
123+
-DNO_GLOBAL_HTTPUPDATE=1
124+
-DJRPC_DOCUMENT_SIZE=400
103125
;;-DSQLITE_DEFAULT_PAGE_SIZE=512
104126
;;-DSQLITE_DEFAULT_CACHE_SIZE=-8
105127
;;-DCPP_FREERTOS_NO_EXCEPTIONS
106128
;-DWFM_SHOW_LOG
107129
;-DCONFIG_ESP_TASK_WDT_TIMEOUT_S=10
108130
;-fexceptions
109131
;-DCORE_DEBUG_LEVEL=5
110-
;;;disable debug at compile time but call function anyway
111-
;-DDISABLE_LOGGING disable
112-
;; enable this macros when USB disconnected
113-
;; https://github.com/espressif/arduino-esp32/pull/7721
114-
;; https://github.com/espressif/arduino-esp32/issues/6089
115-
-DARDUINO_USB_CDC_ON_BOOT=0
116-
117-
[env:lolin_c3_mini_v3]
118-
;platform = espressif32 @ 6.9.0
119-
; Tasmota Espressif 32
120-
#platform = https://github.com/Jason2866/platform-espressif32.git
121-
;platform = https://github.com/Jason2866/platform-espressif32.git#2024.10.30-hybrid
122-
;platform = https://github.com/Jason2866/platform-espressif32.git#bde93782afec0501934f74255cbb7e596a732447
123-
;platform = https://github.com/Jason2866/platform-espressif32.git#508590f23d224beb63d976d05793b2877cafdee1
124-
platform = https://github.com/Jason2866/platform-espressif32.git#ee8e3d1bf3ed0cdb2b3eff1ac5cfdc644856a3e5
125-
126-
127-
board = lolin_c3_mini
132+
;;disable debug at compile time but call function anyway
133+
-DDISABLE_LOGGING
134+
;; enable this macros when USB disconnected
135+
;; https://github.com/espressif/arduino-esp32/pull/7721
136+
;; https://github.com/espressif/arduino-esp32/issues/6089
137+
-DARDUINO_USB_CDC_ON_BOOT=0
128138

129139
[env:lolin_s3_mini]
130140
board = lolin_s3_mini
131-
132-
;; do not work
133-
;; https://esp32.com/viewtopic.php?t=23384
134-
;; https://www.reddit.com/r/arduino/comments/15i7y3i/arduino_ide_21_esp32_exception_decoder_now/
135-
;; https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32c3/api-guides/core_dump.html
136-
;; https://github.com/platformio/platform-espressif32/issues/105
137-
monitor_filters = esp32_exception_decoder
138-
139-
;build_flags =
140-
; -Iinclude
141-
; ;-DBOARD_HAS_PSRAM
142-
; ;-DARDUINO_LOLIN_S3_MINI
143-
; ;-DARDUINO_USB_MODE=1
144-
; ;-DARDUINO_USB_CDC_ON_BOOT=1
145-
146-
147-
[env:lolin_s3_mini_v3]
148-
;platform = espressif32 @ 6.9.0
149-
; Tasmota Espressif 32
150-
platform = https://github.com/Jason2866/platform-espressif32.git
151-
;platform = https://github.com/Jason2866/platform-espressif32.git#2024.10.30-hybrid
152-
;platform = https://github.com/Jason2866/platform-espressif32.git#bde93782afec0501934f74255cbb7e596a732447
153-
;platform = https://github.com/Jason2866/platform-espressif32.git#508590f23d224beb63d976d05793b2877cafdee1
154-
board = lolin_s3_mini
155141
;build_type = debug
156-
monitor_filters =
157-
esp32_exception_decoder
158-
log2file
142+
monitor_filters =
143+
esp32_exception_decoder
144+
log2file
159145
; time
160146

161147
[env:wemos_d1_mini32]

0 commit comments

Comments
 (0)