This commit is contained in:
Elias Ahokas
2025-10-15 20:51:21 +03:00
parent 901b8b4362
commit 022b5eb412
5 changed files with 1488 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "components/lvgl"]
path = components/lvgl
url = https://github.com/lvgl/lvgl.git

1
components/lvgl Submodule

Submodule components/lvgl added at e58e7b6a69

View File

@@ -1,2 +1,3 @@
idf_component_register(SRCS "main.c"
INCLUDE_DIRS ".")
INCLUDE_DIRS "."
REQUIRES lvgl)

1476
main/lv_conf.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,10 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#define LV_CONF_INCLUDE_SIMPLE 1
#include "lv_conf.h"
#include "lvgl.h"
#define I2C_SCL 1 /*FIXME*/
#define I2C_SDA 2
@@ -95,6 +99,8 @@ void init_display(void){
void app_main(void){
init_i2c();
init_display();
lv_init();
}