Comments (1)
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.
from hagl.
Related Issues (20)
- Esp8266 support? HOT 5
- Decide font format
- cmake doesn't work HOT 5
- Scaling fonts HOT 4
- Full list of supported displays/chips HOT 2
- Add HAL for Raspberry Pi Pico VGABOARD HOT 4
- hagl_put_char / hagl_put_text always drawn on black background HOT 4
- [Low prio] Offscreen drawing in a bitmap HOT 3
- Big stack allocations HOT 3
- DISPLAY_DEPTH < 8 HOT 2
- Overflow bug in hagl_scale_blit
- Generating new fonts HOT 6
- Found a dot that is not rendered at bottom right of screen. HOT 2
- is it possible to use HAGL with platformio and arduino framework? HOT 2
- null hal / qemu hal HOT 4
- Ability to rotate the display at runtime HOT 1
- Input API? HOT 7
- [Minor] README.md contains 2 "Draw a line" sections
- Include a 8x8 font by default HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hagl.