Customized Micropython Image inbuilt with Obo Car specific modules and configurations for Obo Car.
- ESP-IDF installed and environment set up.
- Python 3.9 or later installed.
- Git installed.
Tip
If you have installed Docker, you may use act to run this GitHub Action locally. 💀✅
- Clone the repository:
git clone https://github.com/RoboticGen/Obo-Car-Micropython-SDK.git
- Change the directory:
cd Obo-Car-Micropython-SDK
- Initialize the submodules:
git submodule update --init lib/micropython src/obo-car
Warning
Sometimes you may need to checkout the specfic branch or tag of the submodules. Currently micropython is checked out to v1.23.0
and obo-car
is checked out to dev-micropython-image
.be sure to checkout the correct branch or tag.
-
Install micropython libraries:
cd lib/micropython git submodule update --init lib/berkeley-db-1.xx lib/micropython-lib cd ../..
-
Build mpy-cross(Micropython cross compiler):
make -C lib/micropython/mpy-cross
-
Run patch script:
python3 patch.py
-
Build the firmware:
cd boards/OBO_CAR idf.py build cd ../..
- Flash the firmware:
Replace
cd lib/micropython idf.py -p <PORT> flash cd ../..
<PORT>
with the port where the Obo-Car is connected.
This repository is fork of micropython-example-boards
This project is maintained under MIT License.