Hi,
I'm trying to build an esp32 based project with both the hagl_hal (hagl_esp_mipi) and a qemu_hal which currently does nothing but I would like to expose the screen via network for testing purposes. It works fine when I use the real hal but I have issues using the qemu hal as it conflicts with the other hal at build time even if I don't require it explicitly my project.
The README for this repo states that to build a hal you need to implement hagl_hal_put_pixel which I did - and I was planning to choose the hal at compile time by including the hal header from hagl_esp_mipi vs my basic hal function based on some sdkconfig.
I noticed that hagl.h includes hagl_hal.h and also that hagl CMakeFile requires hagl_hal
I also noticed that at the very minimum hagl_hal.h needs to provide not just the hagl_hal_put_pixel function but also the color_t definition.
Do you have suggestions on how to use one hal vs another in esp32?
Hi,
I'm trying to build an esp32 based project with both the hagl_hal (hagl_esp_mipi) and a qemu_hal which currently does nothing but I would like to expose the screen via network for testing purposes. It works fine when I use the real hal but I have issues using the qemu hal as it conflicts with the other hal at build time even if I don't require it explicitly my project.
The README for this repo states that to build a hal you need to implement
hagl_hal_put_pixelwhich I did - and I was planning to choose the hal at compile time by including the hal header from hagl_esp_mipi vs my basic hal function based on some sdkconfig.I noticed that hagl.h includes hagl_hal.h and also that hagl CMakeFile requires hagl_hal
I also noticed that at the very minimum hagl_hal.h needs to provide not just the
hagl_hal_put_pixelfunction but also thecolor_tdefinition.Do you have suggestions on how to use one hal vs another in esp32?