Skip to main content
Visitor II
June 1, 2023
Question

How to use github example code with STM32MP157D-DK1

  • June 1, 2023
  • 2 replies
  • 1874 views

The STM32MP1 example code on github targets the STM32MP157C on the STM32MP157C-DK2 and STM32MP157C-EV1 eval boards, however both of those boards are obsolete. I am using the STM23MP157D-DK1 eval board.

How do I port the example code so that it targets the correct chip and eval board?

Specifically, I am trying looking at the OpenAMP example code:

https://github.com/STMicroelectronics/STM32CubeMP1/tree/master/Projects/STM32MP157C-DK2/Applications/OpenAMP

https://github.com/STMicroelectronics/STM32CubeMP1/

Thank you,

Owen

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    June 2, 2023

    Hello @OMurp.1​ ,

    Basically, it should not be very different. Platforms are really closed to each other, you just do not have native display on DK1 if I remember well, and maybe some minor functionalities also.

    If you already have a BSP ready, and a CubeFW package in phase with the kernel that runs on your A7 cortex, I do not see blocker for you to setup your example.

    Did you face some trouble with it ?

    Kind regards,

    Erwan.

    Visitor II
    June 2, 2023

    Hi Erwan,

    I ended up making a new project targeting the DK1 setup, using CubeMX with OpenAMP enabled. I was able to copy all the relevant code over to my new project, and it seems to work just fine. Thanks for the response.

    -Owen