diff --git a/variants/esp32c3/align-text.handler_execute-4.ld b/src/platform/esp32/align-text.handler_execute-4.ld similarity index 100% rename from variants/esp32c3/align-text.handler_execute-4.ld rename to src/platform/esp32/align-text.handler_execute-4.ld diff --git a/variants/esp32c3/esp32c3.ini b/variants/esp32c3/esp32c3.ini index 873fd1cfc..53dde1311 100644 --- a/variants/esp32c3/esp32c3.ini +++ b/variants/esp32c3/esp32c3.ini @@ -8,7 +8,7 @@ monitor_filters = esp32_c3_exception_decoder build_flags = ${esp32_common.build_flags} ; Linker script to align text.handler_execute section to 4 bytes - -Wl,-Tvariants/esp32c3/align-text.handler_execute-4.ld + -Wl,-Tsrc/platform/esp32/align-text.handler_execute-4.ld custom_sdkconfig = ${esp32_common.custom_sdkconfig} diff --git a/variants/esp32c6/esp32c6.ini b/variants/esp32c6/esp32c6.ini index a32c0e240..df6aaf746 100644 --- a/variants/esp32c6/esp32c6.ini +++ b/variants/esp32c6/esp32c6.ini @@ -4,6 +4,8 @@ custom_esp32_kind = esp32c6 build_flags = ${esp32_common.build_flags} + ; Linker script to align text.handler_execute section to 4 bytes + -Wl,-Tsrc/platform/esp32/align-text.handler_execute-4.ld ; Exclude Paxcounter, it uses 'esp_vhci_host_send_packet' whch is not available on ESP32-C6 ; https://github.com/espressif/arduino-esp32/issues/11716 -DMESHTASTIC_EXCLUDE_PAXCOUNTER