From 9f872362c243d652a71436ddeb823c301ae2df4e Mon Sep 17 00:00:00 2001 From: Forairaaaaa Date: Fri, 10 Oct 2025 10:10:42 +0800 Subject: [PATCH] update to latest m5unified and m5gfx --- main/hal/hal.h | 6 +++--- main/main.cpp | 2 +- repos.json | 6 +++--- sdkconfig.defaults | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/main/hal/hal.h b/main/hal/hal.h index aac5bb4..0bb3fbc 100644 --- a/main/hal/hal.h +++ b/main/hal/hal.h @@ -14,9 +14,9 @@ class Hal { public: void init(); - M5GFX& display = M5.Display; - m5::IMU_Class& imu = M5.Imu; - m5::RTC8563_Class& rtc = M5.Rtc; + M5GFX& display = M5.Display; + m5::IMU_Class& imu = M5.Imu; + m5::RTC_Class& rtc = M5.Rtc; /* -------------------------------------------------------------------------- */ /* System */ diff --git a/main/main.cpp b/main/main.cpp index de3d1fd..444bc09 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -45,7 +45,7 @@ extern "C" void app_main(void) GetHAL().init(); draw_gray_scale_bars(); - GetHAL().delay(1000); + GetHAL().delay(3000); // Install apps GetMooncake().installApp(std::make_unique()); diff --git a/repos.json b/repos.json index df9fc94..cb71f2e 100644 --- a/repos.json +++ b/repos.json @@ -2,12 +2,12 @@ { "url": "https://github.com/m5stack/M5GFX.git", "path": "components/M5GFX", - "branch": "0.2.9" + "branch": "0.2.15" }, { "url": "https://github.com/m5stack/M5Unified.git", "path": "components/M5Unified", - "branch": "0.2.7" + "branch": "0.2.10" }, { "url": "https://github.com/Forairaaaaa/mooncake.git", @@ -17,6 +17,6 @@ { "url": "https://github.com/Forairaaaaa/mooncake_log.git", "path": "components/mooncake_log", - "branch": "v1.0.0" + "branch": "v1.3.0" } ] \ No newline at end of file diff --git a/sdkconfig.defaults b/sdkconfig.defaults index ca70014..59ebe4b 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -7,5 +7,6 @@ CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING=y CONFIG_SPIRAM=y CONFIG_SPIRAM_MODE_OCT=y +CONFIG_ESP_MAIN_TASK_STACK_SIZE=6000 CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y CONFIG_LOG_COLORS=n