diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-06-01 09:06:21 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-06-01 09:06:21 +0100 |
commit | 1ec169b7c9604ff70f873b3393d60cc9cd521678 (patch) | |
tree | 1bafff5dbdee9ddf64a1487a9857734de51da8dc /source | |
parent | c37220328952453018d6ba6bae2201197174a146 (diff) | |
download | ml-embedded-evaluation-kit-1ec169b7c9604ff70f873b3393d60cc9cd521678.tar.gz |
MLECO-2968 Create a docker image with all requirements
Added a Dockerfile to setup and install requirements for
the ml-embedded-evaluation-kit repository.
Also included minor change (MLCE-859) for NPU components'
source file.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I621fb2991218a451a0e8c33e14032b9c9e36709e
Diffstat (limited to 'source')
-rw-r--r-- | source/hal/source/components/npu/ethosu_npu_init.c | 20 | ||||
-rw-r--r-- | source/hal/source/components/npu/include/ethosu_npu_init.h | 6 |
2 files changed, 16 insertions, 10 deletions
diff --git a/source/hal/source/components/npu/ethosu_npu_init.c b/source/hal/source/components/npu/ethosu_npu_init.c index e24ddd9..701b5de 100644 --- a/source/hal/source/components/npu/ethosu_npu_init.c +++ b/source/hal/source/components/npu/ethosu_npu_init.c @@ -46,16 +46,6 @@ static size_t get_cache_arena_size() } /** - * @brief Defines the Ethos-U interrupt handler: just a wrapper around the default - * implementation. - **/ -static void arm_ethosu_npu_irq_handler(void) -{ - /* Call the default interrupt handler from the NPU driver */ - ethosu_irq_handler(ðosu_drv); -} - -/** * @brief Initialises the NPU IRQ **/ static void arm_ethosu_npu_irq_init(void) @@ -73,6 +63,16 @@ static void arm_ethosu_npu_irq_init(void) ethosu_irqnum, arm_ethosu_npu_irq_handler); } +/** + * @brief Defines the Ethos-U interrupt handler: just a wrapper around the default + * implementation. + **/ +void arm_ethosu_npu_irq_handler(void) +{ + /* Call the default interrupt handler from the NPU driver */ + ethosu_irq_handler(ðosu_drv); +} + int arm_ethosu_npu_init(void) { int err = 0; diff --git a/source/hal/source/components/npu/include/ethosu_npu_init.h b/source/hal/source/components/npu/include/ethosu_npu_init.h index c562f6c..d1c3992 100644 --- a/source/hal/source/components/npu/include/ethosu_npu_init.h +++ b/source/hal/source/components/npu/include/ethosu_npu_init.h @@ -25,6 +25,12 @@ **/ int arm_ethosu_npu_init(void); +/** + * @brief Defines the Arm Ethos-U NPU interrupt handler: just a wrapper + * around the default implementation. + **/ +void arm_ethosu_npu_irq_handler(void); + #endif /* ARM_NPU */ #endif /* ETHOS_U_NPU_INIT_H */ |