cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Make using STM32CubeIDE Linux Project Importer

10josh29
Associate

Hi There

Some help please! I am using STM32CubeIDE to create and manage a Linux build for the STM32MPU257. I have so far got everything building and working. I used the Import Linux project function in the IDE to point towards all the correct source locations that i set up using the Developer Package method. My question is that when i go into 'build artifacts' and kick off a build, its takes soooooooo long! I have tried to update the make files to run -j12 to parallel up the make in Yocto but I cant seem to do this. if i build the Distribution package i can modify the .conf file to enable this. But when using the IDE to start the builds in the Development Package, i cant see a way to do this. Could you offer some help as to enabling the parallel make features when building this way??? 

Thanks  

2 REPLIES 2
Erwan SZYMANSKI
ST Employee

Hello @10josh29 ,
Did you succeed to tackle your issue ? I think there is a way in STM32CubeIde to manually add build option that could let you add your "-j12" argument in the build command line.

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.

Pic1.pngPic2.pngHi There!

I Did thanks, you have to add it into the project preferences in the build settings, and then change the Build-Artifact files to use the system preference make command. 

I am having much bigger issue now, I have raised a ticket with ST on this on but maybe you could help as its taking a bit of time, the case number is: 00230542, I will copy and paste the issue below here: 

I have a project in STM32CubeIDE that uses the STm32MP257. I want to create my own distro and application for both the A35 and M33 processors.

 

I have no issues with the Linux side of things, I can build the distro and user application, i am having issues with the Cortex M33 processor. if i generate a project that doesn't use the OpenAMP middleware (using the .ioc file) the M33 project will compile perfectly. If i then include the OpenAMP middleware and generate the code, I get lots of errors with missing files and its a bit of a mess!

 

Please could you offer some help here, the documentation all points towards developing apps for just the dev kits, this isnt good for me, i want to develop a completely custom application with different pinouts etc. I have got all the correct Firmware packages and patches applied in the Repo folder of STMCubeIDE.