From 1c0e7ae4bbf8ee81411b4c2e02c70ca892d17390 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Thu, 12 May 2022 11:35:33 +0200 Subject: Set default configuration Base address 1 points at the TFLM arena and is by default routed over AXI 0. For the spilling use case with both model and arena in DRAM it would make more sense to route base addresses 0 and 1 over AXI 1. For Ethos-U65 the default settings should correspond to the spilling use case. The AXI limits should have different max values depending on the NPU architecture. Change-Id: Icd317097e2cfdbfb39886e13c2cb2202651e5357 --- src/ethosu_driver.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ethosu_driver.c') diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c index ee9d08c..11c51f6 100644 --- a/src/ethosu_driver.c +++ b/src/ethosu_driver.c @@ -21,10 +21,15 @@ ******************************************************************************/ #include "ethosu_driver.h" -#include "ethosu_config.h" #include "ethosu_device.h" #include "ethosu_log.h" +#ifdef ETHOSU55 +#include "ethosu_config_u55.h" +#else +#include "ethosu_config_u65.h" +#endif + #include #include #include -- cgit v1.2.1