loboris / MicroPython_K210_LoBo

MicroPython implementation for Kendryte K210
128 stars 24 forks source link

Camera and LCD not working, OMV modules not part of this port #8

Open pak-man opened 5 years ago

pak-man commented 5 years ago

I git cloned , compiled, reflashed my Sipeed M1w Dock succesfully with this Micropython port. While I appreciate all the nifty options this port brings, I noticed there is no sensor module in this port. Hence the camera is not working.

Also, i read somewhere in the code about a USE_DISPLAY environment variable that would allow the display module to be compiled, but I could not find where to set it. There is no ./BUILD.sh menuconfig possible unfortunately.

So, how could i bring up the camera functionnality to this port ? the original Micropython Maixpy code has a quite different structure than this port, and the Camera code and includes are quite intricated. What would it take to port the Maixpy code relative to the camera/sensor to this port ?

And for the LCD (it´s a classical ILI9341) present on the Sipeed Dock board, did anybody manage to have it running ?

loboris commented 5 years ago

The Display module is fully functional. The camera module will be added later (soon). All conditional compiling constants are defined in mpconfigport.h, MICROPY_USE_DISPLAY is enabled by default.