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
519 stars 182 forks source link

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

Closed Eric-Hsia closed 11 months ago

Eric-Hsia commented 11 months 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 11 months 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 11 months ago

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