7 years, 6 months ago.

stm32f4xx_hal_def.h Type Problems?

Greeting

I get the following compiler error while using the 8.3 .2 IAR demo version :

Building configuration: Nucleo_read_button - Nucleo_read_button Updating build tree... main.cpp Error[Pe167]: argument of type "unsigned long volatile *" is incompatible with parameter of type "unsigned int const volatile *" C:\STMF411RE_NUCLEO64\SW\IAR\Nucleo_read_button_iar_NUCLEO_F411RE\Nucleo_read_button\mbed\TARGET_NUCLEO_F411RE\TARGET_STM\TARGET_STM32F4\device\stm32f4xx_hal_def.h 132 Error[Pe167]: argument of type "unsigned long volatile *" is incompatible with parameter of type "unsigned int volatile *" C:\STMF411RE_NUCLEO64\SW\IAR\Nucleo_read_button_iar_NUCLEO_F411RE\Nucleo_read_button\mbed\TARGET_NUCLEO_F411RE\TARGET_STM\TARGET_STM32F4\device\stm32f4xx_hal_def.h 134 Error[Pe167]: argument of type "unsigned long volatile *" is incompatible with parameter of type "unsigned int const volatile *" C:\STMF411RE_NUCLEO64\SW\IAR\Nucleo_read_button_iar_NUCLEO_F411RE\Nucleo_read_button\mbed\TARGET_NUCLEO_F411RE\TARGET_STM\TARGET_STM32F4\device\stm32f4xx_hal_def.h 142 Error[Pe167]: argument of type "unsigned long volatile *" is incompatible with parameter of type "unsigned int volatile *" C:\STMF411RE_NUCLEO64\SW\IAR\Nucleo_read_button_iar_NUCLEO_F411RE\Nucleo_read_button\mbed\TARGET_NUCLEO_F411RE\TARGET_STM\TARGET_STM32F4\device\stm32f4xx_hal_def.h 144 Error while running C/C++ Compiler

Total number of errors: 4 Total number of warnings: 0

Be the first to answer this question.