Skip to content

Commit

Permalink
Add Arm(R) Ethos(TM)-U85 NPU build option (#2701)
Browse files Browse the repository at this point in the history
BUG=missing build support for Ethos-U85
  • Loading branch information
mansnils authored Sep 26, 2024
1 parent ef2179c commit 722913e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tensorflow/lite/micro/tools/make/ext_libs/ethos_u.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The TensorFlow Authors. All Rights Reserved.
# Copyright 2024 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -74,6 +74,10 @@ else ifeq ($(ETHOSU_ARCH), u65)
ETHOSU_FLAGS += \
-DETHOSU_ARCH=u65 \
-DETHOSU65
else ifeq ($(ETHOSU_ARCH), u85)
ETHOSU_FLAGS += \
-DETHOSU_ARCH=u85 \
-DETHOSU85
else
$(error "ETHOSU_ARCH=$(ETHOSU_ARCH) is not supported")
endif
Expand Down

0 comments on commit 722913e

Please sign in to comment.