Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3d71ba5
Update esp_tinyusb to v2.2.1
KenVanHoeylandt Sep 9, 2026
5d2ca31
idf 6.1 initial updates for T-Deck
KenVanHoeylandt Sep 9, 2026
4cb0882
Driver migrations
KenVanHoeylandt Sep 10, 2026
d9399e3
Fix for findOrCreateDirectoryInternal()
KenVanHoeylandt Sep 10, 2026
026532b
Update SDK in GitHub Actions
KenVanHoeylandt Sep 10, 2026
15735af
Fixes
KenVanHoeylandt Sep 10, 2026
4022f20
Fixes
KenVanHoeylandt Sep 11, 2026
2cf8bea
esp_hosted downgrade
KenVanHoeylandt Sep 11, 2026
a448052
Revert
KenVanHoeylandt Sep 11, 2026
1d6bec2
Fix for download function
KenVanHoeylandt Sep 11, 2026
41f9bf8
Fix for wifi (revert)
KenVanHoeylandt Sep 11, 2026
34ca025
Fix callstack size (overflow on Cardputer)
KenVanHoeylandt Sep 12, 2026
cc7eec3
runAutoStart() on a separate IRAM task
KenVanHoeylandt Sep 12, 2026
66e8094
Merge branch 'main' into idf-6.1
KenVanHoeylandt Sep 12, 2026
4ca92b6
i2c driver migrations
KenVanHoeylandt Sep 12, 2026
43d9910
Update AppManifest to fix warnings
KenVanHoeylandt Sep 12, 2026
e893000
Fix for Module warnings
KenVanHoeylandt Sep 12, 2026
8558033
Fixed warnings
KenVanHoeylandt Sep 12, 2026
713511c
Minimal buffer
KenVanHoeylandt Sep 12, 2026
362e6de
Merge branch 'main' into idf-6.1
KenVanHoeylandt Sep 12, 2026
96debde
Fixed warnings
KenVanHoeylandt Sep 12, 2026
365641e
Fix for warning in GT911
KenVanHoeylandt Sep 12, 2026
bcd6413
Fix warning
KenVanHoeylandt Sep 12, 2026
69ee4b5
Free up IRAM
KenVanHoeylandt Sep 12, 2026
a5cc77b
Remove unused i2c headers in dts files
KenVanHoeylandt Sep 12, 2026
fea8df7
Fix for wifi mode changes while wifi is already active
KenVanHoeylandt Sep 12, 2026
0cce7e0
Fix for Setup app not showing
KenVanHoeylandt Sep 12, 2026
3e9f0fb
Driver updates
KenVanHoeylandt Sep 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/build-firmware/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
- name: 'Build'
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.5.2
esp_idf_version: v6.1
target: ${{ inputs.arch }}
path: './'
- name: 'Release'
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/build-sdk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ runs:
uses: espressif/esp-idf-ci-action@v1
with:
# NOTE: Update with ESP-IDF!
esp_idf_version: v5.5.2
esp_idf_version: v6.1
target: ${{ inputs.arch }}
path: './'
- name: 'Release'
shell: bash
env:
# NOTE: Update with ESP-IDF!
ESP_IDF_VERSION: '5.5.2'
ESP_IDF_VERSION: '6.1'
run: python Buildscripts/release-sdk-esp32.py release/TactilitySDK
- name: 'Test Integration Prep'
shell: bash
Expand All @@ -41,7 +41,7 @@ runs:
- name: 'Test Integration'
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.5.2
esp_idf_version: v6.1
target: ${{ inputs.arch }}
command: export TACTILITY_SDK_PATH=../../test_sdk && cd Tests/SdkIntegration && python tactility.py build -a ${{ inputs.arch }} --local-sdk
- name: 'Upload Artifact'
Expand Down
7 changes: 7 additions & 0 deletions .github/actions/build-simulator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ runs:
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.31.x'
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install mbedtls codegen Python dependencies
shell: bash
run: pip install -r Libraries/mbedtls/scripts/driver.requirements.txt
- name: "Prepare Project"
shell: bash
run: cmake -S ./ -B buildsim
Expand Down
13 changes: 13 additions & 0 deletions Buildscripts/sdkconfig/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ CONFIG_IDF_EXPERIMENTAL_FEATURES=y
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
# Wi-Fi hot-path code normally duplicated into IRAM for throughput/latency
# Tactility's Wi-Fi usage (HTTP/NTP/ESP-NOW, not sustained high-throughput streaming) doesn't need it.
# Frees >27KB IRAM across Wi-Fi-enabled boards.
CONFIG_ESP_WIFI_IRAM_OPT=n
CONFIG_ESP_WIFI_RX_IRAM_OPT=n
CONFIG_ESP_WIFI_EXTRA_IRAM_OPT=n
CONFIG_ESP_WIFI_SLP_IRAM_OPT=n
CONFIG_WIFI_RMT_IRAM_OPT=n
CONFIG_WIFI_RMT_EXTRA_IRAM_OPT=n
CONFIG_WIFI_RMT_RX_IRAM_OPT=n
CONFIG_WIFI_RMT_SLP_IRAM_OPT=n
CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS=n
CONFIG_LOG_IN_IRAM=n
# EmbedTLS
# Use TLS 1.2 because 1.3 conflicts with MbedTLS dynamic buffer
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
Expand Down
6 changes: 3 additions & 3 deletions Devices/btt-panda-touch/bigtreetech,panda-touch.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <tactility/bindings/esp32_ble.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_usbhost.h>
#include <tactility/bindings/esp32_pwm_ledc.h>
#include <tactility/bindings/pwm_backlight.h>
Expand All @@ -30,7 +30,7 @@
};

i2c_internal: i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 2 GPIO_FLAG_NONE>;
Expand All @@ -47,7 +47,7 @@
};

i2c_external: i2c1 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_1>;
clock-frequency = <400000>;
pin-sda = <&gpio0 4 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/btt-panda-touch/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module btt_panda_touch_module = {
.name = "btt-panda-touch"
.name = "btt-panda-touch",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
4 changes: 2 additions & 2 deletions Devices/cl32/cl32.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_grove.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_sdspi.h>
#include <tactility/bindings/esp32_wifi.h>
Expand All @@ -29,7 +29,7 @@
// Top Stemma/Qwiic port 1 shares this bus with the keyboard and RTC (SDA: pin 1 <-> SCL: pin 2).
// External I2C devices on that port are reachable via i2c0.
i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <100000>;
pin-sda = <&gpio0 1 GPIO_FLAG_PULL_UP>;
Expand Down
4 changes: 2 additions & 2 deletions Devices/cyd-2432s024c/cyd,2432s024c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_sdspi.h>
#include <tactility/bindings/esp32_pwm_ledc.h>
Expand All @@ -26,7 +26,7 @@
};

i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 33 GPIO_FLAG_NONE>;
Expand Down
5 changes: 5 additions & 0 deletions Devices/cyd-2432s024c/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ extern "C" {

Module cyd_2432s024c_module = {
.name = "cyd-2432s024c",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
7 changes: 6 additions & 1 deletion Devices/cyd-2432s024r/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_2432s024r_module = {
.name = "cyd-2432s024r"
.name = "cyd-2432s024r",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
4 changes: 2 additions & 2 deletions Devices/cyd-2432s028r/cyd,2432s028r.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_uart.h>
#include <tactility/bindings/esp32_sdspi.h>
Expand All @@ -27,7 +27,7 @@
};

i2c_cn1 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 27 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/cyd-2432s028r/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_2432s028r_module = {
.name = "cyd-2432s028r"
.name = "cyd-2432s028r",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
4 changes: 2 additions & 2 deletions Devices/cyd-2432s028rv3/cyd,2432s028rv3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_uart.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_sdspi.h>
Expand All @@ -27,7 +27,7 @@
};

i2c_cn1 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 27 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/cyd-2432s028rv3/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_2432s028rv3_module = {
.name = "cyd-2432s028rv3"
.name = "cyd-2432s028rv3",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
4 changes: 2 additions & 2 deletions Devices/cyd-2432s032c/cyd,2432s032c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_sdspi.h>
#include <tactility/bindings/esp32_pwm_ledc.h>
Expand All @@ -26,7 +26,7 @@
};

i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 33 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/cyd-2432s032c/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_2432s032c_module = {
.name = "cyd-2432s032c"
.name = "cyd-2432s032c",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
6 changes: 3 additions & 3 deletions Devices/cyd-3248s035c/cyd,3248s035c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tactility/bindings/root.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_uart.h>
#include <tactility/bindings/esp32_sdspi.h>
Expand All @@ -27,7 +27,7 @@
};

i2c_internal: i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 33 GPIO_FLAG_NONE>;
Expand All @@ -43,7 +43,7 @@

// CN1 header
i2c_external: i2c1 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_1>;
clock-frequency = <400000>;
pin-sda = <&gpio0 21 GPIO_FLAG_NONE>;
Expand Down
23 changes: 14 additions & 9 deletions Devices/cyd-3248s035c/source/module.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#include <tactility/module.h>

extern "C" {

Module cyd_3248s035c_module = {
.name = "cyd-3248s035c"
};

}
#include <tactility/module.h>

extern "C" {

Module cyd_3248s035c_module = {
.name = "cyd-3248s035c",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
4 changes: 2 additions & 2 deletions Devices/cyd-4848s040c/cyd,4848s040c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <tactility/bindings/esp32_ble.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_sdspi.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_pwm_ledc.h>
Expand All @@ -30,7 +30,7 @@
};

i2c0 {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 19 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/cyd-4848s040c/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_4848s040c_module = {
.name = "cyd-4848s040c"
.name = "cyd-4848s040c",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
6 changes: 3 additions & 3 deletions Devices/cyd-8048s043c/cyd,8048s043c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <tactility/bindings/esp32_ble.h>
#include <tactility/bindings/esp32_wifi_pinned.h>
#include <tactility/bindings/esp32_gpio.h>
#include <tactility/bindings/esp32_i2c.h>
#include <tactility/bindings/esp32_i2c_master.h>
#include <tactility/bindings/esp32_uart.h>
#include <tactility/bindings/esp32_spi.h>
#include <tactility/bindings/esp32_sdspi.h>
Expand All @@ -31,7 +31,7 @@
};

i2c_internal {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_0>;
clock-frequency = <400000>;
pin-sda = <&gpio0 19 GPIO_FLAG_NONE>;
Expand All @@ -49,7 +49,7 @@
};

i2c_external {
compatible = "espressif,esp32-i2c";
compatible = "espressif,esp32-i2c-master";
port = <I2C_NUM_1>;
clock-frequency = <400000>;
pin-sda = <&gpio0 17 GPIO_FLAG_NONE>;
Expand Down
7 changes: 6 additions & 1 deletion Devices/cyd-8048s043c/source/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
extern "C" {

Module cyd_8048s043c_module = {
.name = "cyd-8048s043c"
.name = "cyd-8048s043c",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = nullptr,
.internal = nullptr
};

}
Loading
Loading