X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.
In filex nor flash driver, current_driver->initialized is set to FX_TRUE after FX_DRIVER_INIT, but this state is not set to FX_FALSE in FX_DRIVER_UNINIT, here is the code:
In filex nor flash driver,
current_driver->initialized
is set toFX_TRUE
after FX_DRIVER_INIT, but this state is not set toFX_FALSE
in FX_DRIVER_UNINIT, here is the code:https://github.com/STMicroelectronics/x-cube-azrtos-h7/blob/437ec3bb3455a26c535de52f0fc7f553c739acb7/Middlewares/ST/filex/common/drivers/fx_stm32_levelx_nor_driver.c#L135C1-L139C1
Is it a bug or by design?