From 97c17fb642a2aa5079ec49e3bb736d58ea5199e0 Mon Sep 17 00:00:00 2001 From: Siddartha Pothapragada Date: Tue, 10 Mar 2026 15:32:04 -0700 Subject: [PATCH 1/2] Revise ethos doc links in CMakeLists.txt Updated documentation links for Ethos-U memory modes. --- .../runtime/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt b/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt index 9d9f0645bd5..0c6cd03e5b4 100644 --- a/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt +++ b/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt @@ -118,9 +118,12 @@ set(LINK_FILE_OUT # Shared_Sram, in the application, we set ETHOSU_ARENA to 0 so that the # intermediate tensors are placed in the SRAM. If you generate a pte for a # different memory mode, you need to change the placement in the linker script. -# Read -# https://docs.pytorch.org/executorch/stable/backends-arm-ethos-u.html#ethos-u-memory-modes -# for more information. +# For more information, read +# Link to stable documentation +# https://docs.pytorch.org/executorch/stable/backends/arm-ethos-u/arm-ethos-u-overview.html#ethos-u-memory-modes + +# For 1.0 compatibility (if required) +# https://docs.pytorch.org/executorch/1.0/backends-arm-ethos-u.html#ethos-u-memory-modes set(ETHOSU_ARENA "0") # Generate linker script - we have a few if/else statements in # Corstone-320.ld/Corstone-300.ld that are compiled into a final linker script. From f437735dfc81abef59e51099e422c955198180f2 Mon Sep 17 00:00:00 2001 From: Siddartha Pothapragada Date: Tue, 10 Mar 2026 15:34:14 -0700 Subject: [PATCH 2/2] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../runtime/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt b/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt index 0c6cd03e5b4..6704c0d6fda 100644 --- a/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt +++ b/examples/arm/image_classification_example_ethos_u/runtime/CMakeLists.txt @@ -118,8 +118,7 @@ set(LINK_FILE_OUT # Shared_Sram, in the application, we set ETHOSU_ARENA to 0 so that the # intermediate tensors are placed in the SRAM. If you generate a pte for a # different memory mode, you need to change the placement in the linker script. -# For more information, read -# Link to stable documentation +# For more information, see the stable documentation: # https://docs.pytorch.org/executorch/stable/backends/arm-ethos-u/arm-ethos-u-overview.html#ethos-u-memory-modes # For 1.0 compatibility (if required)