Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.08 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.08 KB

uICAL in MicroPython

NOTE: uICAL support in Micropython is still in progress

ESP32

ref: MicroPython C modules

git checkout https://github.com/micropython/micropython

Setup as described in micropython/ports/esp32/README.md

Verify setup with:

cd micropython/ports/esp32
make all

Checkout uICAL to a modules directory e.g.:

├── usermod/
│   ├──uICAL/
│  ...  
└── micropython/
    ├──ports/
   ... ├──esp32/
      ...

Then build with:

cd micropython/ports/esp32
make USER_C_MODULES=../../../modules all
make USER_C_MODULES=../../../usermod CFLAGS_EXTRA=-DMODULE_UICAL_ENABLED=1 all

NOTE: To flash the firmware you must have your ESP32 module in the bootloader mode and connected to a serial port on your PC

The first time you install MicroPython:

make erase

Flash ther MicroPython firmware:

make deploy