Skip to content

Commit

Permalink
misc: update npk.yml
Browse files Browse the repository at this point in the history
Signed-off-by: qiujiandong <[email protected]>
  • Loading branch information
qiujiandong committed Aug 1, 2024
1 parent 8a4f692 commit 0ec39bb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/hello_world/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ owner: nuclei
description: tflite-micro hello world example for nuclei sdk
category: tflm application
type: app
version: 0.2.0
version: 0.3.0
keywords:
- tflite-micro
- ai
Expand Down
6 changes: 3 additions & 3 deletions examples/micro_speech/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ owner: nuclei
description: tflite-micro micro speech example for nuclei sdk
category: tflm application
type: app
version: 0.2.0
version: 0.3.0
keywords:
- tflite-micro
- ai
Expand All @@ -19,9 +19,9 @@ dependencies:
## Source Code Management
codemanage:
copyfiles:
- path: ["*.cc", "*.h", "testdata/", "micro_features/"]
- path: ["*.cc", "*.h", "models/", "testdata/"]
incdirs:
- path: ["./", "testdata/", "micro_features/"]
- path: ["models/", "./", "testdata/"]
# required latest Nuclei Studio NPK to support excludefiles
excludefiles:
- path: []
2 changes: 1 addition & 1 deletion examples/person_detection/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ owner: nuclei
description: tflite-micro person detection example for nuclei sdk
category: tflm application
type: app
version: 0.2.0
version: 0.3.0
keywords:
- tflite-micro
- ai
Expand Down
11 changes: 7 additions & 4 deletions npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: mwp-nsdk_tflm
owner: nuclei
description: tflite-micro component for nuclei sdk
type: mwp
version: 0.2.0
version: 0.3.0
keywords:
- tflite-micro
- ai
Expand All @@ -12,7 +12,7 @@ homepage: https://github.com/Nuclei-Software/npk-tflm

dependencies:
- name: sdk-nuclei_sdk
version: 0.4.1
version: 0.6.0

packinfo:
name: tflite-micro for nuclei sdk
Expand All @@ -30,7 +30,7 @@ setconfig:
codemanage:
installdir: tflm
copyfiles:
- path: ["tensorflow/", "third_party/"]
- path: ["tensorflow/", "third_party/", "signal/"]
incdirs:
- path: ["./", "third_party/flatbuffers/include", "third_party/kissfft"]
- path: ["third_party/gemmlowp", "third_party/ruy"]
Expand All @@ -42,7 +42,7 @@ codemanage:
buildconfig:
- type: gcc
description: Nuclei GNU Toolchain
cross_prefix: riscv-nuclei-elf- # optional
cross_prefix: riscv64-unknown-elf- # optional
common_flags: # flags need to be combined together across all packages
- flags: >-
-fno-common -mexplicit-relocs -fno-builtin-printf -fno-exceptions
Expand All @@ -65,4 +65,7 @@ buildconfig:
- defines: TF_LITE_USE_GLOBAL_MAX
- defines: TF_LITE_MCU_DEBUG_LOG
- defines: TF_LITE_USE_GLOBAL_CMATH_FUNCTIONS
- defines: TF_LITE_STATIC_MEMORY
- defines: TF_LITE_DISABLE_X86_NEON
- defines: KERNELS_OPTIMIZED_FOR_SPEED
- defines: _DEFAULT_SOURCE

0 comments on commit 0ec39bb

Please sign in to comment.