cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiry on OpenPLC Yocto Layer/Recipe Support for STM32MP157-DK2

Deepak_nilumbo
Associate

Hello,

I am currently working with the STM32MP157-DK2 platform and would like to integrate OpenPLC into my Yocto-based Linux distribution.

I would like to inquire whether STMicroelectronics provides any existing Yocto layer or recipe for OpenPLC. If no official support is available, I would appreciate guidance on the recommended approach to create a custom Yocto recipe for integrating OpenPLC into the build system.

Specifically, I am looking for best practices regarding:

  • Creating a custom layer for OpenPLC
  • Writing a BitBake recipe for OpenPLC (including dependencies and build steps)
  • Integrating OpenPLC runtime with the STM32MP1 ecosystem
  • Any potential compatibility considerations with the STM32MP157-DK2

Any references, documentation, or examples would be highly helpful.

1 REPLY 1
Erwan SZYMANSKI
ST Employee

Hello @Deepak_nilumbo ,
Your question is more a Yocto generic question than a STM32MPU specific request.

I am not so aware of OpenPLC project, but if you know that you can make it run on STM32MP1, it is definitely possible to create a Yocto layer for this.

I would recommend you to document yourself on Yocto build system, and the big main steps you need:

  • How to create a new layer
  • How to create a new recipe
  • How to override some existing recipes (bbappend: if you need for example to modify the OpenSTLinux Linux kernel by applying your own patch for example)
  • How to integrate the new layer in the Yocto build path
  • How to manage dependencies at compilation, deployment...

I can ping you some article presents on the wiki, but the generic Yocto documentation will be out of ST wiki.

Kind regards,
Erwan.

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.