RAK11200 / Platformio / platform/framework version


I’ve been happily coding away in platformio and the RAK11200 module (esp32).

I’ve done this with the following platformio.ini config:

platform = espressif32
board = wiscore_rak11200
framework = arduino
monitor_speed = 115200
board_build.filesystem = littlefs
lib_deps = 

I’ve been trying to do something with a captive portal, and thus i’m using DNSServer.h. This doesn’t seem to work and i found that the version of DNSServer.h that i have locally, is very different than the version linked.
My version is located in ~/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/serc/DNSServer.h and using WiFiUdp.h instead of AsyncUDP.h as in the linked file.

I found that i can change the framework in the config like so:

framework = arduino @ 2.0.16

I believe this is the last stable version, but it produces this error message:

Error: This board doesn't support arduino @ 2.0.16 framework!

Now, i’m surely not an expert in this, and what i linked above is probably the IDF version of things. I’m however just wondering how these versions work and how it fits together, and how i can make sure i’m using “the latest and greatest”.

Hi Ruben,

That would be a question towards the maintainers of the ESP32 BSP and the libraries.

I am working always with PIO, but I never saw framework = arduino @ 2.0.16. I am not aware that you can use versions with the framework selection.


Wanted to check here first. Will check on the PIO forums.