Search found 6 matches

by zhenghaku
Tue Aug 18, 2020 6:37 am
Forum: ESP32 boards
Topic: Flashed micropython, but the ESP32 keeps rebooting.
Replies: 0
Views: 1584

Flashed micropython, but the ESP32 keeps rebooting.

dear everyone, I wanted to use the micropython as an embedded lib. I managed to build a ESP32 port of MP into a static .a file and linked it to my ESP32 firmware. But when I flashed it, the board keeps rebooting. I don't have a debugger, so I try to commented out lines of code to see which line caus...
by zhenghaku
Wed Jul 29, 2020 11:07 am
Forum: General Discussion and Questions
Topic: How to build micropython with PlatformIO and ESP-IDF?
Replies: 6
Views: 9300

Re: How to build micropython with PlatformIO and ESP-IDF?

Hi, kml27, thank you very much. I was using an old branch, it only has esp-idf v3.3 hash in the make file. I checked out the latest master micropython and was able to build using esp-idfv4, but still not able to build in platformio. So I took another approach. I will try to use micropython as a stat...
by zhenghaku
Tue Jul 21, 2020 6:30 am
Forum: General Discussion and Questions
Topic: How to build micropython with PlatformIO and ESP-IDF?
Replies: 6
Views: 9300

Re: How to build micropython with PlatformIO and ESP-IDF?

Hi, jimmo,

I downloaded the MicroPython embedding example, that is exactly what I want.
But I still don't know how to build it under ESP-IDF v4.
by zhenghaku
Mon Jul 20, 2020 3:57 pm
Forum: General Discussion and Questions
Topic: How to build micropython with PlatformIO and ESP-IDF?
Replies: 6
Views: 9300

How to build micropython with PlatformIO and ESP-IDF?

Hi, it's me again. I want to use micropython as a library so I can execute python script in my ESP-IDF C++ project. I am using the latest PlatformIO and ESP-IDF framework. The ESP-IDF version is 4.0. I am leveraging on the PlatformIO library and dependency resolving system instead of writing cmakeli...
by zhenghaku
Wed Jul 15, 2020 4:20 pm
Forum: General Discussion and Questions
Topic: How to use MicroPython to execute a piece script but keep the reset of the project in ESP-IDF
Replies: 2
Views: 2513

How to use MicroPython to execute a piece script but keep the reset of the project in ESP-IDF

Hi, I am new to MicroPython. I think it is great, and can make my project shines. What I want to achieve is: The majority of my project will still be in C and ESP-IDF, like the network and all the hardware stuff. But some functions will be written in python and interpreted in runtime. So users can c...