Closed Borel-Kamnang closed 3 weeks ago
I do not personally use any IDE. For editor I use VSCodium and for everything else the commandline. HAGL itself does not require anything special. You can use whatever tools you normally use. With RPI Pico the tricky part first is the CMakeLists.txt
file.
To use HAGL with RPI Pico you need to get both the main library and the HAL.
$ mkdir external
$ cd external
$ git submodule add https://github.com/tuupola/hagl_pico_mipi.git hagl_hal
$ git submodule add https://github.com/tuupola/hagl.git
Then in your CMakeLists.txt
include both libraries in the build.
add_subdirectory(external/hagl)
add_subdirectory(external/hagl_hal)
target_link_libraries(firmware hagl hagl_hal)
Last thing to do is to configure the HAL. Easiest is to use any of the ready made config files. For example:
include("external/hagl_hal/cmake/waveshare-rp2040-lcd-096.cmake")
If you have some other board or display you need to configure manually.
hello, please can i know whict i the best IDE recommanded to program a RPI PICO or PICO W And on wich IDE can i easily use this librairies ?