Update ESP-IDF, LVGL bindings and Micropython to their later releases
Subsumes #163
Let's update Tulip to later versions of ESP-IDF, Micropython and LVGL. Driving force is #223 but also would be good for #309 builds for the C6, P4 eventually. And probably #314 and #182
Steps:
- [X] Try ESP-IDF
master(which will be 5.4 at some point) on current Tulip, update anything necessary - [ ] Ensure we can fix #223 with it
- [x] Ensure our
esp_lcdchanges are merged for 8-bit color - [ ] Fix touchscreen not working on ESP-IDF
master - [ ] Find a Micropython release to target, hopefully after the merge of the C6 support PR : https://github.com/micropython/micropython/pull/11869
- [ ] Find a lvgl_micropython_bindings that will work with the MP release: https://github.com/lvgl/lv_binding_micropython and back port our changes (RGB332) to it
- [ ] Test all of Tulip board and Desktop with this setup
ESP-IDF master does in fact boot on the TulipR11 board no problem with our June 24 2023 version of Micropython (nice work!!). I have to do some work to enable USB hubs and test that. It does no longer connect to our GT911 touchscreen, so I'll have to fix that.
touchscreen stuff may be:
0x420dd910: check_i2c_driver_conflict at /Users/bwhitman/esp/esp-idf/components/driver/i2c/i2c.c:1710
W (1886) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I've created a branch for esp-idf master and exthub.c support -- esp-idf works, but the hubs don't yet work. i'll keep tracking it on the esp-idf issue tracker. I'll pick this back up again when i can test that -- not worth doing all the MP and LVGL work until then. We're able to remove our bw_lcd fork as my changes have been upstreamed, which is great!
This is done!