forked from xuos/xiuos
APP_Framework/Applications/:add configuration file about TJpgDec example
This commit is contained in:
parent
2b69d31744
commit
e33b0d0264
|
@ -1,14 +1,16 @@
|
||||||
menu "knowing app"
|
menu "knowing app"
|
||||||
menuconfig APPLICATION_KNOWING
|
menuconfig APPLICATION_KNOWING
|
||||||
bool "Using knowing apps"
|
bool "Using knowing apps"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if APPLICATION_KNOWING
|
if APPLICATION_KNOWING
|
||||||
source "$APP_DIR/Applications/knowing_app/mnist/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/mnist/Kconfig"
|
||||||
source "$APP_DIR/Applications/knowing_app/face_detect/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/face_detect/Kconfig"
|
||||||
source "$APP_DIR/Applications/knowing_app/instrusion_detect/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/instrusion_detect/Kconfig"
|
||||||
source "$APP_DIR/Applications/knowing_app/helmet_detect/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/helmet_detect/Kconfig"
|
||||||
source "$APP_DIR/Applications/knowing_app/iris_ml_demo/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/iris_ml_demo/Kconfig"
|
||||||
source "$APP_DIR/Applications/knowing_app/k210_fft_test/Kconfig"
|
source "$APP_DIR/Applications/knowing_app/k210_fft_test/Kconfig"
|
||||||
endif
|
source "$APP_DIR/Applications/knowing_app/image_processing/Kconfig"
|
||||||
endmenu
|
|
||||||
|
endif
|
||||||
|
endmenu
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
menuconfig USING_IMAGE_PROCESSING_APP
|
||||||
|
bool "image processing app "
|
||||||
|
default n
|
||||||
|
if USING_IMAGE_PROCESSING_APP
|
||||||
|
source "$APP_DIR/Applications/knowing_app/image_processing/TJpgDec_APP/Kconfig"
|
||||||
|
endif
|
|
@ -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')
|
|
@ -0,0 +1,4 @@
|
||||||
|
config IMAGE_PROCESSING_TJPGDEC_APP
|
||||||
|
bool "image processing apps/TJpgDec(example)"
|
||||||
|
select IMAGE_PROCESSING_USING_TJPGD
|
||||||
|
default n
|
|
@ -0,0 +1,9 @@
|
||||||
|
from building import *
|
||||||
|
|
||||||
|
cwd = GetCurrentDir()
|
||||||
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
|
group = DefineGroup('TJpgDec(example)', src, depend = ['IMAGE_PROCESSING_TJPGDEC_APP'], LOCAL_CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
Return('group')
|
Loading…
Reference in New Issue