cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP257x-EV1 help to install build environment

DavidGo
Associate

Hello,

I'm following the Getting started wiki for Developing on Arm® Cortex®-M33. I already installed the IDE and the MP2 Packages. Now I'm in the section "Modify, rebuild and reload the firmware" but I'm stuck in Step 2. Software Prerequisites. Because I don't know how to install the build environment as explained in the wiki. It seems like it is for linux development, but I am using Windows, so I don't have the "sudo" and "export" options.

Can someone help me to execute these lines in windows? or is there another alternative?


1-Install dependencies:

sudo apt-get install -y git curl wget build-essential libssl-dev python3 \
           python3-pip cmake make libncurses5

2-Add CMake path into environment:

export PATH=<CMake path>/bin:$PATH

 

Thanks in advance,

David

1 REPLY 1
Lucky_Dev
Associate II

You can't follow that guide in a Windows environment without using a virtual machine (through WSL or VirtualBox). This is due you need to use the Developer package which is only supported in a Linux environment.

Therefore, you are right, the commands that you highlight are for a Linux environment, in which you don't need to modify the path. What I recommend you is use WSL2, despite its usage for development is experimental. The best option is using VirtualBox o VMware.

You could check this in the PC requisites entry in the wiki and in the Developer packages entry in the wiki.