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
539 stars 183 forks source link

add support for stm32l4 #25

Closed CaptainJack42 closed 3 years ago

CaptainJack42 commented 3 years ago

STM32L4 can be supported by simply adding it to the #if defined. Should work for all L4s, but only tested on L496 (as USART master and slave with and without RS485).

alejoseb commented 3 years ago

Hi, Thanks, that is part of the porting process for different MCUs. I added the support for L4 family, a new example for L475, and some other changes that were required. Since, the current branch has conflicts with your pull request, I will close it without merging.