ESP32 CPU Freq change not honored by uecide

I tried changing the CPU frequency for an ESP32 under Hardware --> Options from 240 down to 160 and 80.

When compiling, all cores and libs are recompiled (ok), but the resulting sketch is still running at 240MHz.

Doing the same thing under Arduino IDE, and the freq do change!

Measure freq e.g. by uint8_t freq = ESP.getCpuFreqMHz();


Ok, that should be fixed if

Ok, that should be fixed if you upgrade your esp32 packages. Nice find there. Don't know how I missed that one, but I had it hard coded to 240000000UL instead of ${build.f_cpu}...