Skip to content

Commit 09cca07

Browse files
committed
Update model target configuration
1 parent 3c3fdad commit 09cca07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

model/aot_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def forward(self, x: torch.Tensor, y: torch.Tensor) -> torch.Tensor:
2525
# explanation of its flags: https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela/-/blob/main/OPTIONS.md
2626
compile_spec = EthosUCompileSpec(
2727
target="ethos-u85-256",
28-
system_config="Ethos_U85_SYS_DRAM_Mid",
29-
memory_mode="Sram_Only",
28+
system_config="Ethos_U85_SYS_Flash_Low",
29+
memory_mode="Shared_Sram",
3030
extra_flags=["--output-format=raw", "--debug-force-regor"]
3131
)
3232

model/arm-none-eabi-gcc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# modified to align better with cs300 platform
2121

2222
set(TARGET_CPU
23-
"cortex-m85"
23+
"cortex-m55"
2424
CACHE STRING "Target CPU"
2525
)
2626
string(TOLOWER ${TARGET_CPU} CMAKE_SYSTEM_PROCESSOR)

0 commit comments

Comments
 (0)