2024-02-19 02:38 AM
Hello,
even the STM32Cube_FW_U5_V1.4.0 devices headers contain senseless casting like:
#define SDMMC_IDMABASER_IDMABASER ((uint32_t)0xFFFFFFFF) /*!< Memory base address register */
Header files should use a designator at the end of the number, like
#define SRAM1_SIZE (0x30000UL) /*!< SRAM1=192k */
used in most other places. Maybe a supervisory check of the header before publishing is missing...
Regards
2024-02-19 02:43 AM
Another one for the Coding Standard!