Skip to main content
Lukas1
Associate II
April 28, 2020
Question

libmodbus on STM32MP157C-DK2

  • April 28, 2020
  • 1 reply
  • 1152 views

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

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
April 28, 2020

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.