Skip to main content
ADunc.1
Senior
February 26, 2026
Solved

Documentation improvement recommendation

  • February 26, 2026
  • 1 reply
  • 217 views

Section 2 of this page shows how to setup python for building firmware.  It seems the rest of the tutorials assume you are building on a modern Ubuntu, so I would suggest changing the following lines:

pip install pyelftools
pip install pycryptodomex

to:

sudo apt install python3-pyelftools

sudo apt install python3-pycryptodome

I would also suggest adding:

sudo apt install python-is-python3

 

My reasons are that you can not/should not install the above packages to the global python environment with pip.  Also, the makefiles for M33 firmware call 'python' which does not exist on a new ubuntu install (well, it didn't on mine).  Installing python-is-python3 is the recommended way to resolve this.  

Alternately use a virtual environment, but the firmware build system seems to assume use of the global python.

Best answer by Kevin HUBER

Hello @ADunc.1 ,

 

Thank you for your recommendation, I updated the pages for all the MP2 boards.

BR,
Kevin 

1 reply

Kevin HUBER
Kevin HUBERBest answer
Technical Moderator
April 10, 2026

Hello @ADunc.1 ,

 

Thank you for your recommendation, I updated the pages for all the MP2 boards.

BR,
Kevin 

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.NEW ! Sidekick STM32 AI agent, see here