Hello Foc'ers,
First I would like to thank all the members of the MP2-ESC team who made it working.
In a few words, my need is a DIY VESC-based design without dealing with 0.5mm fine pitch components.
Weigh, size and cost are not the highest priority for me. Reliability/Robustness is.
After browsing here and there, it seems to me that MP2-ESC was very close to what I need.
I really like the idea of using different pills from the shelf and classic Mosfet drivers.
Here are some practicals applications waiting in my garage:
Grass trimmer (56V 30 Amps, 18000 rpm, no position sensor)
Grass mower (56V 40 Amps, 3000 rpm, no position sensor)
E-bike wheel hub motor (48V 35 Amps, 350 rpm, no position sensor)
E-bike central motor (36V 15 Amps, 1500 rpm, no position sensor)
Servo CNC axis (24V 10 Amps, 3000 rpm, encoder position feedback)
I purchased first a genuine Adafruit STM32F411 blackpill
I also purchased a genuine ST-Link V2 USB stick
My primary task is to compile successfully the MP2-ESC source code and then transfer the executable binary in the 32F411 pill.
I have installed STMCube IDE ver 1.12.0 on my Linux LMDE desktop.
I have also installed STM32CubeProgrammer ver 2.14.0
I followed the instructions listed in FIRMWARE_INTRO.md
So, the project repository was git'ed on my local disk.
I can see the complete tree structure in the STMCube Project Explorer
When doing Project -> Build All, I came with the following results:
4 errors and 142 warnings (!) for STM32F411 project
0 errors and 19 warnings (!) for STM32F401 project
I have downloaded VESC tool ver 6.02 and start to play a little with the menus, without any ESC attached, just to get familiar with

So, I looked in the Firmware -> Hardware version folder and I did not found the MP2-ESC hardware.
So, noooow comes a few questions:
- What did I miss when compiling the F411 project and getting 4 compile errors ?
- Does anybody here has got the same number of errors / warnings when following the above instructions ?
- How to setup VESC tool 6.02 for MP2-ESC hardware ? (because current sense circuit and Mosfet drivers are different from VESC)
Thanks for your help