Skip to main content
Visitor II
July 15, 2019
Solved

STM32MP157C gnu toolchain

  • July 15, 2019
  • 1 reply
  • 789 views

Hi,

I would like to compile with the GNU toolchain directly on the device, without the use of cross-compilation. it's possible?

In which way can i do that?

    This topic has been closed for replies.
    Best answer by Bernard PUEL

    Yes you can add any tool chain on your device, you just need to add it to your Yocto image then you will have it in your board.

    We did the experiment some time ago and concluded the use case was not relevant for this platform (requires a lot of space and some computing power we better have on host).

    Cross compilation is really convenient for easy and rapid development cycle especially with the developer package (to work on the BSP or build applications based on openstlinux distribution).

    To build your own distribution and if Yocto is a worry for you, you may also use buildroot: see this excellent article from one of ST partner https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/

    1 reply

    Technical Moderator
    July 19, 2019

    Yes you can add any tool chain on your device, you just need to add it to your Yocto image then you will have it in your board.

    We did the experiment some time ago and concluded the use case was not relevant for this platform (requires a lot of space and some computing power we better have on host).

    Cross compilation is really convenient for easy and rapid development cycle especially with the developer package (to work on the BSP or build applications based on openstlinux distribution).

    To build your own distribution and if Yocto is a worry for you, you may also use buildroot: see this excellent article from one of ST partner https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/