@ivankravets,
the projdefs.h ( Apr) that comes with PIO is of the different version from the original FreeRTOS Real Time Kernel (RTOS) / Code / [r2837] /trunk/FreeRTOS/Source/include/projdefs.h (May)
that causes issues, in particular with pdMS_TO_TICKS macro.
Please update. thank you.
P.S. pio update didn’t help the issue:
Platform Espressif 32
Updating espressif32 @ 1.9.0 [1.11.1]
Uninstalling espressif32 @ 1.9.0: [OK]
PlatformManager: Installing espressif32 @ 1.11.1
espressif32 @ 1.11.1 has been successfully installed!
Updating tool-esptoolpy @ 1.20600.0 [Up-to-date]
Updating toolchain-xtensa32 @ 2.50200.80 [Up-to-date]
Updating tool-mkspiffs @ 2.230.0 [Up-to-date]
Uninstalling framework-arduinoespressif32 @ 2.10002.190628: [OK]
Uninstalling framework-espidf @ 3.30202.190627: [OK]
PackageManager: Installing framework-arduinoespressif32 @ ~2.10004.191002
Downloading [####################################] 100%
Unpacking [####################################] 100%
framework-arduinoespressif32 @ 2.10004.191002 has been successfully installed!
PackageManager: Installing framework-espidf @ ~3.30300.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
framework-espidf @ 3.30300.190916 has been successfully installed!