Merge develop into main (#316)

- Updated all boards to use `hal::Configuration.createDevices`
- Updated all boards to use new directory structure and file naming convention
- Refactored `Xpt2046SoftSpi` driver.
- Created `Axp2101Power` device in `Drivers/AXP2101`
- Removed global static instances from some drivers (instances that kept a reference to the Device*)
- Improved `SystemInfoApp` UI: better memory labels, hide external memory bar when there's no PSRAM
- Fix for HAL: register touch devices after displays are registered
- Fix for Boot splash hanging on WiFi init: unlock file lock after using it
This commit is contained in:
Ken Van Hoeylandt
2025-09-03 22:05:28 +02:00
committed by GitHub
parent 1deaf4c426
commit 1627b9fa85
135 changed files with 543 additions and 577 deletions
@@ -1,13 +1,19 @@
#include "hal/WaveshareDisplay.h"
#include "hal/WaveshareSdCard.h"
#include "devices/Display.h"
#include "devices/SdCard.h"
#include <Tactility/hal/Configuration.h>
using namespace tt::hal;
static DeviceVector createDevices() {
return {
createDisplay(),
createSdCard()
};
}
extern const Configuration waveshare_s3_touch_43 = {
.createDisplay = createDisplay,
.sdcard = createSdCard(),
.createDevices = createDevices,
.i2c = {
// There is only 1 (internal for touch, and also serves as "I2C-OUT" port)
// Note: You could repurpose 1 or more UART interfaces as I2C interfaces
@@ -1,4 +1,4 @@
#include "WaveshareDisplay.h"
#include "Display.h"
#include <Gt911Touch.h>
#include <RgbDisplay.h>
@@ -1,4 +1,4 @@
#include "WaveshareSdCard.h"
#include "SdCard.h"
#include <Tactility/hal/sdcard/SpiSdCardDevice.h>