C++ Compiler support on STM32MPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-09 10:27 PM
Hi,
I would like to compile a user space c++ application on the STM32MP157C-DK2. Is it possible to install GCC or G++ on the board?
I tried installing them via apt-get but seems like there is not any package with name gcc or g++.
How can i install it and how do i make sure it is up and running ?
I know we can use Yocto SDK to compile and transfer the code on to the board via SCP. But here i specifically want to compile it on board itself.
Any leads will be highly appreciated.
Solved! Go to Solution.
- Labels:
-
ST-Boards
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-11 11:30 PM
Hello @NPal.2​
Indeed it is not possible to install gcc/g++ toolset on the board from the OpenSTLinux repository available from apt-get commands.
I guess the only solution for you is to:
- build this toolset from the STM32MP1 Distribution Package ,
- create a local package repository so you can download the gcc/g++ packages to your board.
Best regards,
--JM
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-11 11:30 PM
Hello @NPal.2​
Indeed it is not possible to install gcc/g++ toolset on the board from the OpenSTLinux repository available from apt-get commands.
I guess the only solution for you is to:
- build this toolset from the STM32MP1 Distribution Package ,
- create a local package repository so you can download the gcc/g++ packages to your board.
Best regards,
--JM
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-13 1:22 AM
Hi @NPal.2​
For your information you also have some support with STM32CubeIDE for user space project including C or C++ built.
Best Regards,
Ludovic
