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:
committed by
GitHub
parent
acb2f1d4c7
commit
de6fc3b346
@@ -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_HEAP_PLACE_FUNCTION_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):
|
||||
flash_size = get_property_or_exit(device_properties, "hardware.flashSize")
|
||||
if not flash_size.endswith("MB"):
|
||||
|
||||
Reference in New Issue
Block a user