Merge develop into main (#368)

New boards:
- LilyGO T-Dongle S3
- M5Stack StickC Plus
- M5Stack StickC Plus2

New drivers:
- AXP192: power control via I2C
- ButtonControl: GPIO button input as LVGL device

Other changes:
- Updated implementation of AXP192 driver for Core2 board
- Fix launcher UX for vertical layout
- Fix error when properties file had an empty line
- Add `__floatsidf` to `tt_init.cpp`
This commit is contained in:
Ken Van Hoeylandt
2025-10-14 20:39:23 +02:00
committed by GitHub
parent 3a59540365
commit d8346998ce
68 changed files with 1857 additions and 142 deletions
+11 -5
View File
@@ -1,8 +1,7 @@
#include "M5stackCore2.h"
#include "InitBoot.h"
#include "devices/Display.h"
#include "devices/Core2Power.h"
#include "devices/SdCard.h"
#include "devices/Power.h"
#include <lvgl.h>
#include <Tactility/lvgl/LvglSync.h>
@@ -11,9 +10,16 @@
using namespace tt::hal;
constexpr auto* TAG = "Core2";
bool initBoot() {
TT_LOG_I(TAG, "initBoot");
return initAxp();
}
static DeviceVector createDevices() {
return {
createPower(),
getAxp192(),
createSdCard(),
createDisplay()
};
@@ -41,7 +47,7 @@ extern const Configuration m5stack_core2 = {
}
},
i2c::Configuration {
.name = "External", // (Grove)
.name = "Port A", // Grove
.port = I2C_NUM_1,
.initMode = i2c::InitMode::ByTactility,
.isMutable = true,
@@ -85,7 +91,7 @@ extern const Configuration m5stack_core2 = {
},
.uart {
uart::Configuration {
.name = "Grove",
.name = "Port A", // Grove
.port = UART_NUM_1,
.rxPin = GPIO_NUM_32,
.txPin = GPIO_NUM_33,