Skip to content

Commit

Permalink
bsp: Updated LVGL demos example for ESP-P4
Browse files Browse the repository at this point in the history
  • Loading branch information
espzav committed May 9, 2024
1 parent 87a2a0d commit 8a1cbe7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/display_lvgl_demos/main/dispaly_lvgl_demos_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ static char *TAG = "app_main";

void app_main(void)
{
/* Initialize I2C (for touch and audio) */
bsp_i2c_init();

/* Initialize display and LVGL */
bsp_display_start();

Expand Down
5 changes: 5 additions & 0 deletions examples/display_lvgl_demos/partitions.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 2M,
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#
CONFIG_IDF_TARGET="esp32p4"
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_COMPILER_OPTIMIZATION_PERF=y
CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
Expand Down

0 comments on commit 8a1cbe7

Please sign in to comment.