otherwise due to esp-idf using -Werror, we can get errors in code which uses HAL_ASSERT if for example the compiler believes that a variable is used uninitialised, or similar. Inspired by https://github.com/espressif/esp-idf/pull/13256