mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 20:59:05 +00:00
Update third-party library version
Tflite-micro, ruy and cmsis-nn need to be updated to a new version. Signed-off-by: xinhaiteng <xinhaiteng@xiaomi.com>
This commit is contained in:
parent
fb17e33894
commit
11519fe1ca
3 changed files with 9 additions and 9 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
include $(APPDIR)/Make.defs
|
||||
|
||||
RUY_VER = 54774a7a2cf85963777289193629d4bd42de4a59
|
||||
RUY_VER = d37128311b445e758136b8602d1bbd2a755e115d
|
||||
|
||||
ruy.zip:
|
||||
$(Q) curl -L https://github.com/google/ruy/archive/$(RUY_VER).zip -o ruy.zip
|
||||
|
|
@ -39,4 +39,4 @@ endif
|
|||
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/math/ruy/ruy
|
||||
CXXFLAGS += ${INCDIR_PREFIX}$(APPDIR)/math/ruy/ruy
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
include $(APPDIR)/Application.mk
|
||||
|
|
@ -22,7 +22,7 @@ include $(APPDIR)/Make.defs
|
|||
|
||||
CMSIS_NN = cmsis-nn/Source
|
||||
|
||||
CMSIS_NN_VER = bfc54edb61e873039ec0857cacc40df36b1d644e
|
||||
CMSIS_NN_VER = 72e1ebf623ab1660a3e14e4e36fdcddce46f1991
|
||||
|
||||
cmsis-nn.zip:
|
||||
$(Q) curl -L https://github.com/ARM-software/CMSIS-NN/archive/$(CMSIS_NN_VER).zip -o cmsis-nn.zip
|
||||
|
|
@ -45,7 +45,7 @@ CSRCS += $(wildcard $(CMSIS_NN)/FullyConnectedFunctions/*.c)
|
|||
CSRCS += $(wildcard $(CMSIS_NN)/NNSupportFunctions/*.c)
|
||||
CSRCS += $(wildcard $(CMSIS_NN)/ConcatenationFunctions/*.c)
|
||||
CSRCS += $(wildcard $(CMSIS_NN)/SoftmaxFunctions/*.c)
|
||||
CSRCS += $(CMSIS_NN)/LSTMFunctions/arm_lstm_unidirectional_s8_s16.c
|
||||
CSRCS += $(CMSIS_NN)/ReshapeFunctions/arm_reshape_s8.c
|
||||
CSRCS += $(wildcard $(CMSIS_NN)/LSTMFunctions/*.c)
|
||||
CSRCS += $(wildcard $(CMSIS_NN)/ReshapeFunctions/*.c)
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
include $(APPDIR)/Application.mk
|
||||
|
|
@ -20,11 +20,11 @@
|
|||
|
||||
include $(APPDIR)/Make.defs
|
||||
|
||||
TFLITE_MICRO_VER = main
|
||||
TFLITE_MICRO_VER = cfa4c91d1b36c37c7c104b9c664615e59f1abfe3
|
||||
TFLITE_MICRO_UNPACK = tflite-micro
|
||||
|
||||
tflite-micro.zip:
|
||||
$(Q) curl -L https://github.com/tensorflow/tflite-micro/archive/refs/heads/$(TFLITE_MICRO_VER).zip -o tflite-micro.zip
|
||||
$(Q) curl -L https://github.com/tensorflow/tflite-micro/archive/$(TFLITE_MICRO_VER).zip -o tflite-micro.zip
|
||||
$(Q) unzip -o tflite-micro.zip
|
||||
$(Q) mv tflite-micro-$(TFLITE_MICRO_VER) tflite-micro
|
||||
$(Q) patch -d $(TFLITE_MICRO_UNPACK) -p1 < tflite-micro.patch
|
||||
|
|
@ -80,4 +80,4 @@ SRC_FILES := $(filter-out %test.cc, $(SRC_FILES))
|
|||
|
||||
CXXSRCS += $(SRC_FILES)
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
include $(APPDIR)/Application.mk
|
||||
Loading…
Add table
Add a link
Reference in a new issue