diff --git a/examples/mpd_status/dependencies.lock b/examples/mpd_status/dependencies.lock index b2f8746a..1c853f4d 100644 --- a/examples/mpd_status/dependencies.lock +++ b/examples/mpd_status/dependencies.lock @@ -9,7 +9,7 @@ dependencies: component_hash: null source: type: idf - version: 5.0.0 -manifest_hash: 9d4dcd3c8f27cde5e52f2fba13d202ee2deaa3855572295835aeeb508b8b2c24 -target: esp32 + version: 5.1.1 +manifest_hash: 21c5347826a179bf9c93a91c1012b3240455cc051b9fd4ac05364a0a2dedac7f +target: esp32s3 version: 1.0.0 diff --git a/examples/mpd_status/main/main.c b/examples/mpd_status/main/main.c index 36dce02e..6324d9e4 100644 --- a/examples/mpd_status/main/main.c +++ b/examples/mpd_status/main/main.c @@ -50,6 +50,8 @@ const int album_cover_y = 100; const int queue_x_end = 1500; const int queue_y_start = 100; +#define MPD_IP "192.168.69.90" + EpdiyHighlevelState hl; static bool got_ip = false; @@ -110,7 +112,7 @@ void handle_error(struct mpd_connection** c) { } void epd_task() { - epd_init(&DEMO_BOARD, &ED097TC2, EPD_LUT_1K); + epd_init(&DEMO_BOARD, &ED097TC2, EPD_OPTIONS_DEFAULT); // Set VCOM for boards that allow to set this in software (in mV). // This will print an error if unsupported. In this case, // set VCOM using the hardware potentiometer and delete this line. @@ -179,7 +181,7 @@ void epd_task() { while (true) { // connect / reconnect if (mpd_conn == NULL) { - mpd_conn = mpd_connection_new("192.168.42.50", 6600, 3000); + mpd_conn = mpd_connection_new(MPD_IP, 6600, 3000); handle_error(&mpd_conn); int i; printf("mpd server version: "); diff --git a/examples/mpd_status/sdkconfig.defaults.esp32 b/examples/mpd_status/sdkconfig.defaults.esp32 index 3591fe7f..63cd2798 100644 --- a/examples/mpd_status/sdkconfig.defaults.esp32 +++ b/examples/mpd_status/sdkconfig.defaults.esp32 @@ -124,11 +124,11 @@ CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 # Partition Table # # CONFIG_PARTITION_TABLE_SINGLE_APP is not set -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y +# CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE is not set # CONFIG_PARTITION_TABLE_TWO_OTA is not set -# CONFIG_PARTITION_TABLE_CUSTOM is not set +CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" -CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y # end of Partition Table diff --git a/examples/mpd_status/sdkconfig.defaults.esp32s3 b/examples/mpd_status/sdkconfig.defaults.esp32s3 index e9f6ddb3..a6034187 100644 --- a/examples/mpd_status/sdkconfig.defaults.esp32s3 +++ b/examples/mpd_status/sdkconfig.defaults.esp32s3 @@ -134,11 +134,11 @@ CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 # Partition Table # # CONFIG_PARTITION_TABLE_SINGLE_APP is not set -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y +# CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE is not set # CONFIG_PARTITION_TABLE_TWO_OTA is not set -# CONFIG_PARTITION_TABLE_CUSTOM is not set +CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" -CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y # end of Partition Table