Update dependencies in Devices/ and remove "useDeprecatedHal" (#599)

- Updated dependencies in `Devices/`: remove unused ones, update incorrect ones
- Removed `dependencies.useDeprecatedHal` from device properties (and related scripting/code)
This commit is contained in:
Ken Van Hoeylandt 2026-07-29 18:47:19 +02:00 committed by GitHub
parent acb2f1d4c7
commit de6fc3b346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
67 changed files with 15 additions and 129 deletions

View File

@ -72,7 +72,6 @@ else ()
# Devices/simulator/Source/Simulator.cpp always defines its own hardwareConfiguration; without # Devices/simulator/Source/Simulator.cpp always defines its own hardwareConfiguration; without
# this, Firmware/Source/Main.cpp's #else branch also defines an empty one (its ESP32-only # this, Firmware/Source/Main.cpp's #else branch also defines an empty one (its ESP32-only
# fallback for devices migrated off the deprecated HAL), causing a duplicate-definition link error. # fallback for devices migrated off the deprecated HAL), causing a duplicate-definition link error.
add_compile_definitions(CONFIG_TT_USE_DEPRECATED_HAL)
add_compile_definitions(CONFIG_TT_DEVICE_ID="simulator") add_compile_definitions(CONFIG_TT_DEVICE_ID="simulator")
add_compile_definitions(CONFIG_TT_DEVICE_NAME="Simulator") add_compile_definitions(CONFIG_TT_DEVICE_NAME="Simulator")
add_compile_definitions(CONFIG_TT_DEVICE_VENDOR="") add_compile_definitions(CONFIG_TT_DEVICE_VENDOR="")

View File

@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
INCLUDE_DIRS "source" INCLUDE_DIRS "source"
REQUIRES Tactility REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
hardware.usbHostEnabled=true hardware.usbHostEnabled=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=5" display.size=5"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.4" display.size=2.4"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.4" display.size=2.4"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.2" display.size=3.2"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.5" display.size=3.5"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -10,8 +10,6 @@ hardware.spiRamMode=OCT
hardware.spiRamSpeed=80M hardware.spiRamSpeed=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=4" display.size=4"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.spiRamSpeed=80M
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=4.3" display.size=4.3"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.5" display.size=3.5"

View File

@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
INCLUDE_DIRS "source" INCLUDE_DIRS "source"
REQUIRES Tactility REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=5" display.size=5"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.5" display.size=3.5"

View File

@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
INCLUDE_DIRS "source" INCLUDE_DIRS "source"
REQUIRES Tactility REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=5.0" display.size=5.0"

View File

@ -19,5 +19,3 @@ display.dpi=143
lvgl.colorDepth=16 lvgl.colorDepth=16
storage.userDataLocation=SD storage.userDataLocation=SD
dependencies.useDeprecatedHal=false

View File

@ -7,6 +7,4 @@ hardware.target=ESP32
hardware.flashSize=8MB hardware.flashSize=8MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal

View File

@ -7,6 +7,4 @@ hardware.target=ESP32C6
hardware.flashSize=8MB hardware.flashSize=8MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal

View File

@ -7,6 +7,4 @@ hardware.target=ESP32P4
hardware.flashSize=8MB hardware.flashSize=8MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal

View File

@ -7,6 +7,4 @@ hardware.target=ESP32S3
hardware.flashSize=8MB hardware.flashSize=8MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal

View File

@ -11,8 +11,6 @@ hardware.spiRamSpeed=200M
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=7" display.size=7"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -7,8 +7,6 @@ hardware.target=ESP32
hardware.flashSize=4MB hardware.flashSize=4MB
hardware.spiRam=false hardware.spiRam=false
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -11,8 +11,6 @@ hardware.spiRamSpeed=80M
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=5" display.size=5"

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=0.96" display.size=0.96"

View File

@ -18,8 +18,6 @@ hardware.bluetooth=true
# Internal until the SD card is verified working on this board; switch to SD then. # Internal until the SD card is verified working on this board; switch to SD then.
storage.userDataLocation=Internal storage.userDataLocation=Internal
dependencies.useDeprecatedHal=false
display.size=3.1" display.size=3.1"
display.shape=rectangle display.shape=rectangle
display.dpi=128 display.dpi=128

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -1,14 +1,14 @@
#include <tactility/delay.h> #include <tactility/delay.h>
#include <tactility/error.h> #include <tactility/error.h>
#include <tactility/log.h> #include <tactility/log.h>
#include <lvgl/lvgl.h>
#include <tactility/module.h> #include <tactility/module.h>
#include <tactility/system_event.h> #include <tactility/system_event.h>
#include <Tactility/LogMessages.h> #include <Tactility/LogMessages.h>
#include <Tactility/settings/TrackballSettings.h> #include <Tactility/settings/TrackballSettings.h>
#include <lvgl/lvgl.h>
#include <lilygo/drivers/trackball.h> #include <lilygo/drivers/trackball.h>
#include <lilygo/drivers/tdeck_power_on.h> #include <lilygo/drivers/tdeck_power_on.h>

View File

@ -17,8 +17,6 @@ hardware.bluetooth=true
storage.userDataLocation=SD storage.userDataLocation=SD
dependencies.useDeprecatedHal=false
display.size=3.1" display.size=3.1"
display.shape=rectangle display.shape=rectangle
display.dpi=128 display.dpi=128

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -13,8 +13,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=1.9" display.size=1.9"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -10,8 +10,6 @@ hardware.flashSize=16MB
hardware.spiRam=false hardware.spiRam=false
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=1.14" display.size=1.14"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=0.96" display.size=0.96"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.8" display.size=2.8"

View File

@ -13,8 +13,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=40M hardware.esptoolFlashFreq=40M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2.33" display.size=2.33"

View File

@ -10,8 +10,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=1.14" display.size=1.14"

View File

@ -10,8 +10,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=1.14" display.size=1.14"

View File

@ -12,8 +12,6 @@ hardware.esptoolFlashFreq=80M
storage.userDataLocation=SD storage.userDataLocation=SD
dependencies.useDeprecatedHal=false
display.size=2" display.size=2"
display.shape=rectangle display.shape=rectangle
display.dpi=200 display.dpi=200

View File

@ -14,8 +14,6 @@ hardware.bluetooth=true
storage.userDataLocation=Internal storage.userDataLocation=Internal
dependencies.useDeprecatedHal=false
display.size=2" display.size=2"
display.shape=rectangle display.shape=rectangle
display.dpi=200 display.dpi=200

View File

@ -15,8 +15,6 @@ hardware.bluetooth=true
storage.userDataLocation=SD storage.userDataLocation=SD
dependencies.useDeprecatedHal=false
display.size=4.7" display.size=4.7"
display.shape=rectangle display.shape=rectangle
display.dpi=235 display.dpi=235

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=2" display.size=2"

View File

@ -10,8 +10,6 @@ hardware.spiRamMode=QUAD
hardware.spiRamSpeed=80M hardware.spiRamSpeed=80M
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=1.14" display.size=1.14"

View File

@ -12,8 +12,6 @@ hardware.esptoolFlashFreq=80M
hardware.tinyUsb=true hardware.tinyUsb=true
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=1.14" display.size=1.14"

View File

@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Source" INCLUDE_DIRS "Source"
REQUIRES Tactility esp_lvgl_port esp_lcd esp_lcd_ili9881c esp_lcd_st7123 esp_lcd_touch_st7123 esp_lcd_touch_gt911 driver esp_driver_i2c vfs fatfs ina226-module ili9881c-module st7123-module gt911-module REQUIRES TactilityKernel lvgl-module ina226-module ili9881c-module st7123-module gt911-module
) )

View File

@ -10,8 +10,6 @@ hardware.spiRamMode=OCT
hardware.spiRamSpeed=80M hardware.spiRamSpeed=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.5" display.size=3.5"

View File

@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
INCLUDE_DIRS "source" INCLUDE_DIRS "source"
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -14,8 +14,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=1.14" display.size=1.14"

View File

@ -2,5 +2,5 @@ file(GLOB_RECURSE SOURCE_FILES source/*.c*)
idf_component_register( idf_component_register(
SRCS ${SOURCE_FILES} SRCS ${SOURCE_FILES}
REQUIRES TactilityKernel driver REQUIRES TactilityKernel
) )

View File

@ -14,8 +14,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=1.3" display.size=1.3"

View File

@ -14,8 +14,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=Internal storage.userDataLocation=Internal
display.size=1.28" display.size=1.28"

View File

@ -13,8 +13,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=1.47" display.size=1.47"

View File

@ -13,8 +13,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=120M hardware.esptoolFlashFreq=120M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=4.3" display.size=4.3"

View File

@ -12,8 +12,6 @@ hardware.tinyUsb=true
hardware.esptoolFlashFreq=80M hardware.esptoolFlashFreq=80M
hardware.bluetooth=true hardware.bluetooth=true
dependencies.useDeprecatedHal=false
storage.userDataLocation=SD storage.userDataLocation=SD
display.size=3.5" display.size=3.5"

View File

@ -77,12 +77,6 @@ menu "Tactility App"
config TT_TDECK_WORKAROUND config TT_TDECK_WORKAROUND
bool "Temporary work-around until we fix the T-Deck keyboard and trackball settings" bool "Temporary work-around until we fix the T-Deck keyboard and trackball settings"
default n default n
config TT_USE_DEPRECATED_HAL
bool "When set to false, it ensures an empty tt::hal::hardwareConfig is made automatically"
default y
help
This allows for migrating projects that don't use the old HAL.
When set to 'n', the project has an option to not depend on Tactility and can depend on TactilityKernel instead.
choice TT_USER_DATA_LOCATION choice TT_USER_DATA_LOCATION
prompt "User Data Location" prompt "User Data Location"
default TT_USER_DATA_LOCATION_INTERNAL default TT_USER_DATA_LOCATION_INTERNAL

View File

@ -169,13 +169,6 @@ def write_core_variables(output_file, device_properties: dict):
output_file.write("CONFIG_ESP_WIFI_RX_IRAM_OPT=n\n") output_file.write("CONFIG_ESP_WIFI_RX_IRAM_OPT=n\n")
output_file.write("CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH=y\n") output_file.write("CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH=y\n")
output_file.write("CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH=y\n") output_file.write("CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH=y\n")
# Usage of tt::hal can be disabled to simplify dependency wiring (device depends on TactilityKernel instead of Tactility)
use_deprecated_hal = get_property_or_none(device_properties, "dependencies.useDeprecatedHal")
if use_deprecated_hal is None or use_deprecated_hal.lower() == "true":
output_file.write("CONFIG_TT_USE_DEPRECATED_HAL=y\n")
else:
output_file.write("CONFIG_TT_USE_DEPRECATED_HAL=n\n")
def write_flash_variables(output_file, device_properties: dict): def write_flash_variables(output_file, device_properties: dict):
flash_size = get_property_or_exit(device_properties, "hardware.flashSize") flash_size = get_property_or_exit(device_properties, "hardware.flashSize")
if not flash_size.endswith("MB"): if not flash_size.endswith("MB"):