Help me build micropython esp32!

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Grumpy_Pig_Skin
Posts: 5
Joined: Sun Feb 28, 2021 8:41 pm

Help me build micropython esp32!

Post by Grumpy_Pig_Skin » Tue Mar 09, 2021 12:29 am

Can someone please help me/build for me a version of micropython for esp32.
I cannot for the life of me get the esp-idf toolchain to work and build properly in linux.
The git repository is here:
https://github.com/bskp/micropython_esp ... orts/esp32

if someone can please help me I'm on the verge of a mental breakdown getting this thing to work.

Thankyou in advance.
Ollie :)

User avatar
mattyt
Posts: 410
Joined: Mon Jan 23, 2017 6:39 am

Re: Help me build micropython esp32!

Post by mattyt » Tue Mar 09, 2021 2:47 am

Please submit console output as to where your failure has occurred so we can help diagnose the problem.

It's worth noting that the fork you're using is pre-v1.14 where there was a change in the ESP32 build process (to use CMake). These changes simplified the build process, so you may find it beneficial to rebase the fork against upstream master to take advantage of these improvements.

In any case though, post your output and we'll try to help.

Grumpy_Pig_Skin
Posts: 5
Joined: Sun Feb 28, 2021 8:41 pm

Re: Help me build micropython esp32!

Post by Grumpy_Pig_Skin » Tue Mar 09, 2021 12:40 pm

Thanks for the response.

Here is the terminal output from VS Code.

It might be worth noting that to get this started I included the CMakeList.txt from the MicroPython master repos and also the "board" folder from there. otherwise, it wouldn't start the compile at all.
Attachments
terminal failure.PNG
terminal failure.PNG (70.02 KiB) Viewed 2082 times

stijn
Posts: 735
Joined: Thu Apr 24, 2014 9:13 am

Re: Help me build micropython esp32!

Post by stijn » Wed Mar 10, 2021 7:16 am

Just a tip: pretty much every terminal application out there suports copying its text, which is much easier for you to paste here, and much easiers for others to read/handle.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Help me build micropython esp32!

Post by jimmo » Thu Mar 11, 2021 5:07 am

Grumpy_Pig_Skin wrote:
Tue Mar 09, 2021 12:40 pm
It might be worth noting that to get this started I included the CMakeList.txt from the MicroPython master repos and also the "board" folder from there. otherwise, it wouldn't start the compile at all.
Can you explain more about what you mean?

I don't know how well this process has been tested on Windows.

Can you post the exact commands you ran (before moving any files) and the error output?

Post Reply