cancel
Showing results for 
Search instead for 
Did you mean: 

libmodbus on STM32MP157C-DK2

Lukas1
Associate III

Hi,

I want to use modbus TCP with the libmodbus library (https://libmodbus.org/) on the STM32MP157C-DK2. However I struggle to install/use the library.

Any experiences or suggestions on installing/use external libraries with the SDK?

For cross-compilation I use the SDK with the development package

regards,

Lukas

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @Lukas​ 

Since V1.2 this library can be install on target thanks to :

apt-get install libmodbus5

For integration in developper or distribution package you can refer to :

https://wiki.st.com/stm32mpu/wiki/How_to_integrate_an_external_software_package

Hope it help,

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.