[GH-ISSUE #1352] str.replace not working on arduino 2.0 #1159

Closed
opened 2026-02-28 01:28:47 +03:00 by kerem · 3 comments
Owner

Originally created by @tablatronix on GitHub (Feb 2, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1352

Might be specific to my pio env

esp32

PACKAGES: 
 - framework-arduinoespressif32 0.0.0+sha.3a96fc0 (git+https://github.com/espressif/arduino-esp32.git) 
 - tool-esptoolpy 1.30100.210531 (3.1.0) 
 - toolchain-xtensa-esp32 8.4.0+2021r2

tokens are not being replaced
No idea, nothing in build stands out

Originally created by @tablatronix on GitHub (Feb 2, 2022). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1352 Might be specific to my pio env esp32 ``` PACKAGES: - framework-arduinoespressif32 0.0.0+sha.3a96fc0 (git+https://github.com/espressif/arduino-esp32.git) - tool-esptoolpy 1.30100.210531 (3.1.0) - toolchain-xtensa-esp32 8.4.0+2021r2 ``` tokens are not being replaced No idea, nothing in build stands out
kerem 2026-02-28 01:28:47 +03:00
Author
Owner

@tablatronix commented on GitHub (Feb 2, 2022):

its the tokens { chars wtf?

<!-- gh-comment-id:1027554161 --> @tablatronix commented on GitHub (Feb 2, 2022): its the tokens `{` chars wtf?
Author
Owner

@tablatronix commented on GitHub (Feb 2, 2022):

Nope its not replacing unless str lengths match.. wtf

<!-- gh-comment-id:1027569357 --> @tablatronix commented on GitHub (Feb 2, 2022): Nope its not replacing unless str lengths match.. wtf
Author
Owner

@tablatronix commented on GitHub (Feb 2, 2022):

[env:esp32devarduino20]
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
board = esp32dev
framework = arduino
lib_extra_dirs = /Users/_/projects/microcontrollers/dev/libraries
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
build_flags = -DWM_DEBUG_PORT=Serial -DDEBUG_ESP_WIFI -DESP32 -DCORE_DEBUG_LEVEL=5
<!-- gh-comment-id:1027570892 --> @tablatronix commented on GitHub (Feb 2, 2022): ```ini [env:esp32devarduino20] platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream board = esp32dev framework = arduino lib_extra_dirs = /Users/_/projects/microcontrollers/dev/libraries platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git build_flags = -DWM_DEBUG_PORT=Serial -DDEBUG_ESP_WIFI -DESP32 -DCORE_DEBUG_LEVEL=5 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1159
No description provided.