From df594dde3105245f14ab26fafdbee25e30e0edc8 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Tue, 9 Jul 2024 23:36:23 -0500 Subject: [PATCH] feat: update espp to 0.13.1 for interrupt-driven touch --- components/box-emu/src/box-emu.cpp | 1 - components/espp | 2 +- sdkconfig.defaults | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/box-emu/src/box-emu.cpp b/components/box-emu/src/box-emu.cpp index 1dbd4fb4..339c14e0 100644 --- a/components/box-emu/src/box-emu.cpp +++ b/components/box-emu/src/box-emu.cpp @@ -267,7 +267,6 @@ bool BoxEmu::initialize_gamepad() { input_timer_ = std::make_shared(espp::HighResolutionTimer::Config{ .name = "Input timer", .callback = [this]() { - espp::EspBox::get().update_touch(); update_gamepad_state(); }}); uint64_t period_us = 30 * 1000; diff --git a/components/espp b/components/espp index 73e30124..c366e5b7 160000 --- a/components/espp +++ b/components/espp @@ -1 +1 @@ -Subproject commit 73e30124b19e60965fbde2649e68e666cf5ed3e8 +Subproject commit c366e5b7e13818441169923b9d36b3b35785c55f diff --git a/sdkconfig.defaults b/sdkconfig.defaults index e41972b4..3fde463d 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -44,6 +44,8 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" # FATFS config # Support long file names using buffer in heap CONFIG_FATFS_LFN_HEAP=y +CONFIG_FATFS_VFS_FSTAT_BLKSIZE=16384 # increase speed of buffered reads +CONFIG_FATFS_USE_FASTSEEK=y # increase speed of seeking for read-mode files # # USB config