Commit graph

168 commits

Author SHA1 Message Date
Rafael Caricio 93c68afc0e Wrap alloc extension in its own module 2021-06-11 18:13:10 +02:00
Rafael Caricio f3032c7d17
Remove dependency on heapless 2021-06-06 17:35:48 +02:00
Rafael Caricio f9ef4badb8
Update app example 2021-06-06 16:27:23 +02:00
Rafael Caricio ac27d49c06
Make use of embedded_graphics optional 2021-06-06 16:17:29 +02:00
Rafael Caricio 085495ebc4
Allow users to define a display refresh callback closure 2021-06-06 11:59:06 +02:00
Rafael Caricio bc7c06cc8c
Update default features to empty 2021-06-06 10:55:42 +02:00
Rafael Caricio de568593ef
Make DrawBuffer customizable using const generics 2021-06-04 22:29:29 +02:00
Rafael Caricio 00e2004822
Allow to create statically allocated DrawBuffer 2021-06-04 21:39:29 +02:00
Rafael Caricio 6ba1fcdaff
Make disp buffer and driver statically allocated 2021-06-03 18:48:24 +02:00
Rafael Caricio 65286d950a
Update examples 2021-06-02 15:31:46 +02:00
Rafael Caricio bb249dcde1
Add required features 2021-06-02 01:32:45 +02:00
Rafael Caricio a6b55e2478
Add basic API functions 2021-06-02 01:32:25 +02:00
Rafael Caricio 05d93409dc
Use ref 2021-06-02 01:31:48 +02:00
Rafael Caricio e99a2267de
Update demo app to use new api 2021-06-02 01:31:05 +02:00
Rafael Caricio c9180d6c83
Fix shared display 2021-06-02 01:30:39 +02:00
Rafael Caricio e6d231cafa
Possibility to register a shared native display 2021-06-01 22:08:37 +02:00
Rafael Caricio 2326c1fbc5
Simplified API for display initialization 2021-05-31 00:34:12 +02:00
Rafael Caricio 802504ff9d
Use old approach, write directly to DrawTarget 2021-05-30 00:51:25 +02:00
Rafael Caricio 95c7f00e20
Revising the public API for better flexibility 2021-05-29 20:03:36 +02:00
Rafael Caricio 56cb470dc8 Remove lazy_static dependency 2021-05-26 20:55:38 +02:00
Rafael Caricio 043bb52881 Add LVGL Rust Global Allocator feature 2021-05-26 20:55:38 +02:00
Rafael Caricio a5ffa62013 lv_mem_monitor_t is not allocated by lv_mem_monitor function, we need to pass pointer to a valid memory address 2021-05-24 23:17:33 +02:00
Rafael Caricio 348963b80d Upgrade to lvgl v7.10.1
- Clean up demo
- Remove warning from rustc
- Improve test of custom Box implementation
- Upgrade dep versions
2021-05-24 23:17:33 +02:00
Sam Jones 3791b211b8 Fix lvgl-sys not respecting DEP_LV_CONFIG_PATH 2021-05-19 14:24:01 +02:00
Rafael Caricio d699101afe Format code 2021-03-07 18:32:27 +01:00
Rafael Caricio f60d8d999b Upgrade LVGL vendored to v7.10.1 2021-03-07 18:32:27 +01:00
Rafael Caricio ab8b8ae05f
Remove usage of deprecated method 2021-03-07 18:03:45 +01:00
Rafael Caricio 9b9ea48920 Add some initial formating to docs page 2021-03-07 16:34:11 +01:00
Rafael Caricio 7f5bec7366 Release 0.5.2 2021-03-07 00:34:19 +01:00
Rafael Caricio 3f226e94a4 Release 0.5.1 2021-03-06 23:39:31 +01:00
Rafael Caricio bcd771df47 Disable lvgl original comments in bindings
We disable the comments generation here because some comments
cause the `cargo test` command to fail. Some of the original
comments have invalid tokens like `TYPEDEFS` causing issues.
We should recommend users to look the original comments in the
original lvgl in their C API docs.
2021-03-06 21:50:39 +01:00
Rafael Caricio da8bae1f55 Fix build in Docs.rs 2021-03-06 21:50:39 +01:00
Jai A d3a2a9eff3 Fix compile error 2021-02-15 18:58:36 +01:00
Ralf Weinbrecher 65b68e0f7c Update README: Added a hint to install sdl2 before running the demos on macOS 2020-11-17 19:48:56 +01:00
Rafael Caricio 81cb1bee4c Compile to WASM using emscripten 2020-09-22 20:54:47 +02:00
Rafael Caricio 8fe36f6102 Expose RGB values from Color 2020-08-27 11:40:08 +02:00
Rafael Caricio d442ab99cc Release 0.4.0 2020-06-19 18:55:30 +02:00
Rafael Caricio f4618fd635 Simplify examples, don't use threads 2020-06-19 15:48:44 +02:00
Rafael Caricio 385fc6b764 Remove threads from bar example 2020-06-19 15:48:44 +02:00
Rafael Caricio 0761e36c76 Run apt-get update in CI 2020-06-19 15:48:44 +02:00
Rafael Caricio ef94e5d5d4 Install SDL2 2020-06-19 15:48:44 +02:00
Rafael Caricio a1aec89456 Checkout submodules in GH actions 2020-06-19 15:48:44 +02:00
Rafael Caricio 98ae8e0ced Update readme to remove alloc reference 2020-06-19 15:48:44 +02:00
Rafael Caricio 52fafecdde Remove unused dependencies 2020-06-19 15:48:44 +02:00
Rafael Caricio 64527c3f2a Fix examples 2020-06-19 15:48:44 +02:00
Rafael Caricio adee5994dc Simplify code 2020-06-19 15:48:44 +02:00
Rafael Caricio 60c3fc7ed7 Fix comment misconception 2020-06-19 15:48:44 +02:00
Rafael Caricio 6a9bd2d87f Fix UB, the value in MaybeUninit was being dropped 2020-06-19 15:48:44 +02:00
Rafael Caricio e3fd8d5736 LVGL handles zero sized 2020-06-19 15:48:44 +02:00
Rafael Caricio 3e7e056da6 Some additional checks on using LVGL heap memory allocator 2020-06-19 15:48:44 +02:00