This commit removes the usage of all legacy FreeRTOS data types that are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
Closes https://github.com/espressif/esp-idf/issues/7419
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine new HC-SR04 example