Errors during "make BOARD"

Hi everyone,

I just started with Micropython + LittlevGL. I already clone the project from this link: https://github.com/littlevgl/lv_micropython. I also inserted these command:

  1. sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python
  2. git clone --recurse-submodules https://github.com/littlevgl/lv_micropython.git
  3. cd lv_micropython
  4. make -C mpy-cross
  5. make -C ports/unix/
  6. ./ports/unix/micropython
    And it went well for those commands.

However, as i changed directory to “lv_micropython/ports/stm32” and “make BOARD=STM32F4DISC” (F4 is supported in Micropython). There were some errors.

I wonder if I did everything correctly or did i miss something along the way?

Thank you very much, Huy.

Hi @Huy_Nguyen_Duc_Huy!

Currently the unix (Linux) port and the ESP32 ports are fully supported.
There is some work being done for adding STM32, see https://github.com/littlevgl/lv_micropython/pull/16

What display/touch hardware are you using?

Hi @amirgon

As i check in the repository, the board F4DISC is fully supported but somehow there were still errors happening when i tried to “make BOARD”.

The fact is that i tried with the fully supported board F4 first and then, our main job will be on the STM32L4R9IDISC. But now errors on the code for F4 is an obstacle for me.

Do you have any idea on that?

The picture below is what was on my terminal when i “make BOARD”.
2019-12-05 2019-12-05.png

The errors you get are related to lvgl micropython binding, because STM32 is not supported yet.
Please try integrating the PR I sent you.