A while ago i reported this issue. mDNS wasn’t resolving .local domains properly in my case.
That issue has been fixed.
Annoyingly, only in the next feature for arduino-esp32, not as a bugfix release.
The actual fix:
Compiling “LWIP” with the flag
The added pain is that arduino-esp32 requires an updated toolchain too. It requires GCC 8.4. I’ve tried so many different combinations and nothing seems to be working properly. Therefore i have a couple of questions:
- How do i recompile a toolchain with just this one darn flag set? It seems frustratingly complicated!
- If 1 is too difficult, which toolchain and framework do i need to set in
platform_packages? I have the following but i’m not entirely sure if it’s even correct.
platform_packages = ?? which toolchain ?? platformio/framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
I prefer to go the updated toolchain route for the added C++17 capabilities.
I would expect firstname.lastname@example.org to work, but filling that in as toolchain gives me this error:
Error: Could not find the package with 'platformio/toolchain-xtensa32 @ 2.80400.0' requirements for your system 'linux_x86_64
While that toolchain version does seem to be existing: platform-espressif32/platform.json at develop · platformio/platform-espressif32 · GitHub Though i’m not sure at all how that version is magically going to work in my platformio.ini file.
And for completeness, i’m trying to build this for the ESP32-WROOM-32D.
My platformio.ini file looks as follows:
[env:esp32dev] platform = espressif32 board = esp32dev framework = arduino monitor_speed = 115200 ;upload_port = /dev/ttyUSB0 ;force_verbose = yes lib_deps = https://github.com/tzapu/WiFiManager.git#development adafruit/Adafruit INA260 Library@^1.3.5 build_flags = -DWM_MDNS=1 -DLWIP_DNS_SUPPORT_MDNS_QUERIES=1 -DESP32=1 -DARDUINO_ARCH_ESP32=1 -DBOARD_HAS_PSRAM -std=c++17 -std=gnu++17 build_unflags = -std=gnu++11 monitor_flags = --eol LF