alejoseb / Modbus-STM32-HAL-FreeRTOS

Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS
GNU Lesser General Public License v2.1
576 stars 191 forks source link

error: #20: identifier "UART_HandleTypeDef" is undefined, error: #20: identifier "GPIO_TypeDef" is undefined #83

Closed Eric-Hsia closed 1 year ago

Eric-Hsia commented 1 year ago

hi, eziya, when I compile ModbusF429 example by keil mdk, there has undefined identifier errors, from the modbus.h headfile, it seems didn't include these two indentifier, thanks. image

Eric-Hsia commented 1 year ago

hi, when I compile ModbusF429 example by keil mdk, there has undefined identifier errors, from the modbus.h headfile, it seems didn't include these two indentifier, thanks. image

alejoseb commented 1 year ago

Hi, You need to update the include links accordingly. This is not a library issue, instead a configuration issue on your IDE.