Implement support for ESP32 C6 and P4 SOCs (#421)

- Implement generic ESP32 devices
- Updated GitHub Actions to first build the SDKs. These are now based on the generic device implementations and the build act as a filter before compiling the dozens of other devices. It should save on resources when boards fail to compile.
- Adapted code to C6 and P4 differences, heavily borrowed from from https://github.com/ByteWelder/Tactility/pull/394 written by @marciogranzotto, with some changes of my own
- Updated `device.py` to make the `[display]` section optional
This commit is contained in:
Ken Van Hoeylandt
2025-11-24 19:28:07 +01:00
committed by GitHub
parent fec8033fd7
commit b565d56029
33 changed files with 279 additions and 72 deletions
+7
View File
@@ -0,0 +1,7 @@
file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
idf_component_register(
SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Source"
REQUIRES Tactility
)
@@ -0,0 +1,3 @@
#include <Tactility/hal/Configuration.h>
extern const tt::hal::Configuration hardwareConfiguration = {};
+9
View File
@@ -0,0 +1,9 @@
[general]
vendor=Generic
name=ESP32
[hardware]
target=ESP32
flashSize=4MB
spiRam=false
+7
View File
@@ -0,0 +1,7 @@
file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
idf_component_register(
SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Source"
REQUIRES Tactility
)
@@ -0,0 +1,3 @@
#include <Tactility/hal/Configuration.h>
extern const tt::hal::Configuration hardwareConfiguration = {};
@@ -0,0 +1,9 @@
[general]
vendor=Generic
name=ESP32-C6
[hardware]
target=ESP32C6
flashSize=4MB
spiRam=false
+7
View File
@@ -0,0 +1,7 @@
file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
idf_component_register(
SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Source"
REQUIRES Tactility
)
@@ -0,0 +1,3 @@
#include <Tactility/hal/Configuration.h>
extern const tt::hal::Configuration hardwareConfiguration = {};
@@ -0,0 +1,9 @@
[general]
vendor=Generic
name=ESP32-P4
[hardware]
target=ESP32P4
flashSize=4MB
spiRam=false
+7
View File
@@ -0,0 +1,7 @@
file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
idf_component_register(
SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Source"
REQUIRES Tactility
)
@@ -0,0 +1,3 @@
#include <Tactility/hal/Configuration.h>
extern const tt::hal::Configuration hardwareConfiguration = {};
@@ -0,0 +1,9 @@
[general]
vendor=Generic
name=ESP32-S3
[hardware]
target=ESP32S3
flashSize=4MB
spiRam=false