Skip to content

v0.1.0

Choose a tag to compare

@nuraci nuraci released this 05 Nov 14:08
· 25 commits to main since this release

First release: MicroPython 1.29 and LVGL 9.5 firmware for boards that upstream MicroPython does not cover. import display_driver is all an application needs, and the examples fit any resolution.

Board File State
STM32H7_CORE V1.3 + IPS 1024x600 STM32H7_CORE-V13-v0.1.0.hex tested on hardware: this firmware, 58 fps, soak on the previous firmware
ESP32-4848S040 ESP32_4848S040-v0.1.0.bin tested on hardware: 42 fps, 15 min soak
Waveshare RP2350-Touch-LCD-4 WAVESHARE_RP2350_TOUCH_LCD_4-v0.1.0.uf2 tested on hardware: this firmware, 57.8 fps, works at 240x240 (no PSRAM)
STM32H7_CORE V1.0 STM32H7_CORE-V10-v0.1.0.dfu, .hex tested on hardware: this firmware, 58 fps, 15 min soak
DEV190806042 DEV190806042-v0.1.0.hex builds, never run on a board: use at your own risk
FK743M5-XIH6 FK743M5-XIH6-v0.1.0.hex builds, never run on a board: use at your own risk

Flashing

  • STM32: scripts/stm32_uart_flash.py flash <file>.hex --verify, through the ST bootloader on UART1 with DTR on BOOT0 and RTS on NRST (see docs/stm32h743.md). It is the only method tested on the other STM32 boards.
  • STM32H7_CORE V1.0: dfu-util -a 0 -d 0483:df11 -D STM32H7_CORE-V10-v0.1.0.dfu, with the board in DFU mode: hold BOOT0 and press RESET, then press RESET again after writing. See docs/flash-dfu.md.
  • ESP32-4848S040: esptool.py --chip esp32s3 -p <port> erase_flash, then esptool.py --chip esp32s3 -p <port> -b 460800 write_flash 0x0 <file>.bin. erase_flash erases everything on the board; without it, a board that had other firmware can stop at boot with "The filesystem appears to be corrupted". The native USB is off: use the board's USB-UART.
  • RP2350: hold BOOTSEL while connecting, copy the .uf2 to the drive.

Known limits

  • ESP32-4848S040: a full-screen redraw takes about 155 ms, and gc.collect() 190 ms, a visible pause in animations.
  • A Python flush_cb can hang the board on Ctrl-C; display_driver is not affected, its flush is in C.
  • Running out of memory while LVGL renders hangs the board: there is no way to catch it. Mainly a risk on the RP2350 (no PSRAM).
  • Backlight is on/off on the STM32 and ESP32 boards.

Sources: MicroPython 1.29.0, ESP-IDF 5.5.2. STM32 and RP2350 on lvgl-micropython 3e287e7 with patches/; ESP32 on omnipython-lvgl 92f8c0a. Details: docs/. Checksums: SHA256SUMS.