X-CUBE-SMBUS Middleware not supported for STM32F407
Is there any way to use the X-CUBE-SMBUS middleware from ST with STM32F407?
The controller does support it but ST's middleware does not.
Does anyone know why it would not be supported?
The reason I say its not is because the HAL for it is not in the #ifdef switches as shown in the code snippet below.
// From en.x-cube-smbus_v2.0.3/STM32_AN4502_FW_V2.0.3/Middlewares/ST/STM32_SMBus_Stack/inc/stm32_SMBUS_stack.h
#include "stm32_config_stack.h"
#ifdef STM32F072xB
#include "stm32f0xx_hal.h"
#endif
#ifdef STM32F303xC
#include "stm32f3xx_hal.h"
#endif
#ifdef STM32L053xx
#include "stm32l0xx_hal.h"
#endif
#ifdef STM32L476xx
#include "stm32l4xx_hal.h"
#endif
#ifdef STM32L4R5xx
#include "stm32l4xx_hal.h"
#endif
#ifdef STM32H743xx
#include "stm32h7xx_hal.h"
#endif
#ifdef STM32WB55xx
#include "stm32wbxx_hal.h"
#endif
#ifdef STM32G431xx
#include "stm32g4xx_hal.h"
#endif