You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/arm/run.sh
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,10 @@ function help() {
77
77
echo" --build_only Only build, don't run"
78
78
echo" --extra_build_flags=\"<FLAGS>\" Extra -D style flags to pass to cmake when run.sh auto-configures the build"
79
79
echo" --toolchain=<arm-none-eabi-gcc|arm-zephyr-eabi-gcc> Toolchain preset to use when run.sh auto-configures the build. Default: ${toolchain}"
80
-
echo" --system_config=<CONFIG> Ethos-U: System configuration to select from the Vela configuration file (see vela.ini). Default: Ethos_U55_High_End_Embedded for EthosU55 targets, Ethos_U85_SYS_DRAM_Mid for EthosU85 targets."
80
+
echo" --system_config=<CONFIG> Ethos-U: System configuration to select from the Vela configuration file (see vela.ini). Default: Ethos_U55_High_End_Embedded for EthosU55 targets, Ethos_U65_High_End for EthosU65 targets, Ethos_U85_SYS_DRAM_Mid for EthosU85 targets."
81
81
echo" NOTE: If given, this option must match the given target. This option also sets timing adapter values customized for specific hardware, see ./executor_runner/CMakeLists.txt."
82
82
echo" --config=<FILEPATH> Ethos-U: System configuration file that specifies system configurations (vela.ini)"
83
-
echo" --memory_mode=<MODE> Ethos-U: Memory mode to select from the Vela configuration file (see vela.ini), e.g. Shared_Sram/Sram_Only. Default: 'Shared_Sram' for Ethos-U55 targets, 'Sram_Only' for Ethos-U85 targets"
83
+
echo" --memory_mode=<MODE> Ethos-U: Memory mode to select from the Vela configuration file (see vela.ini), e.g. Shared_Sram/Sram_Only. Default: 'Shared_Sram' for Ethos-U55 targets, 'Sram_Only' for Ethos-U65 targets and 'Dedicated_Sram_384KB' for Ethos-U85 targets"
84
84
echo" --pte_placement=<elf|ADDR> Ethos-U: Control if runtime has PTE baked into the elf or if its placed in memory outside of the elf, defaults to ${pte_placement}"
85
85
echo" --specify_ethosu_scratch Use actual Ethos-U scratch size for given model to size temp allocator"
86
86
echo" --et_build_root=<FOLDER> Executorch build output root folder to use, defaults to ${et_build_root}"
@@ -187,6 +187,10 @@ esac
187
187
if [[ ${system_config}=="" ]]
188
188
then
189
189
system_config="Ethos_U55_High_End_Embedded"
190
+
if [[ ${target}=~"ethos-u65" ]]
191
+
then
192
+
system_config="Ethos_U65_High_End"
193
+
fi
190
194
if [[ ${target}=~"ethos-u85" ]]
191
195
then
192
196
system_config="Ethos_U85_SYS_DRAM_Mid"
@@ -196,6 +200,10 @@ fi
196
200
if [[ ${memory_mode}=="" ]]
197
201
then
198
202
memory_mode="Shared_Sram"
203
+
if [[ ${target}=~"ethos-u65" ]]
204
+
then
205
+
memory_mode="Sram_Only"
206
+
fi
199
207
if [[ ${target}=~"ethos-u85" ]]
200
208
then
201
209
memory_mode="Dedicated_Sram_384KB"
@@ -208,7 +216,7 @@ then
208
216
fi
209
217
210
218
target_cpu="cortex-m85"
211
-
if [[ ${target}=~"ethos-u55" ]]
219
+
if [[ ${target}=~"ethos-u55"||${target}=~"ethos-u65"]]
0 commit comments