APP_Framework/Applications/:add configuration file about NNoM mnist example

This commit is contained in:
WentaoWong 2022-02-18 15:51:37 +08:00
parent cde42331ee
commit 7ece915772
4 changed files with 40 additions and 1 deletions

View File

@ -10,6 +10,7 @@ menu "knowing app"
source "$APP_DIR/Applications/knowing_app/k210_fft_test/Kconfig"
source "$APP_DIR/Applications/knowing_app/image_processing/Kconfig"
source "$APP_DIR/Applications/knowing_app/cmsis_5_demo/Kconfig"
source "$APP_DIR/Applications/knowing_app/nnom_demo/Kconfig"
endif
endmenu

View File

@ -0,0 +1,14 @@
menuconfig USING_NNOM_DEMOAPP
bool "NNOM demo app"
depends on USING_NNOM
default n
if USING_NNOM_DEMOAPP
config USING_NNOM_MNIST_DEMOAPP
bool "Using NNOM mnist demo app"
default n
endif

View File

@ -0,0 +1,14 @@
import os
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript'))
Return('objs')

View File

@ -0,0 +1,10 @@
import os
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
path = [cwd]
group = DefineGroup('NNOM mnist application', src, depend = ['USING_NNOM_MNIST_DEMOAPP'], CPPPATH = path)
Return('group')