diff --git a/APP_Framework/Applications/knowing_app/Kconfig b/APP_Framework/Applications/knowing_app/Kconfig index 09f894d7b..4172fd618 100755 --- a/APP_Framework/Applications/knowing_app/Kconfig +++ b/APP_Framework/Applications/knowing_app/Kconfig @@ -1,17 +1,17 @@ -menu "knowing app" - menuconfig APPLICATION_KNOWING - bool "Using knowing apps" - default n - - if APPLICATION_KNOWING - source "$APP_DIR/Applications/knowing_app/mnist/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/helmet_detect/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/image_processing/Kconfig" - source "$APP_DIR/Applications/knowing_app/cmsis_5_demo/Kconfig" - - endif -endmenu +menu "knowing app" + menuconfig APPLICATION_KNOWING + bool "Using knowing apps" + default n + + if APPLICATION_KNOWING + source "$APP_DIR/Applications/knowing_app/mnist/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/helmet_detect/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/image_processing/Kconfig" + source "$APP_DIR/Applications/knowing_app/cmsis_5_demo/Kconfig" + + endif +endmenu diff --git a/APP_Framework/Applications/knowing_app/image_processing/Kconfig b/APP_Framework/Applications/knowing_app/image_processing/Kconfig index 51b35e456..eff721efc 100644 --- a/APP_Framework/Applications/knowing_app/image_processing/Kconfig +++ b/APP_Framework/Applications/knowing_app/image_processing/Kconfig @@ -1,6 +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 +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 diff --git a/APP_Framework/Applications/knowing_app/image_processing/TJpgDec_APP/Kconfig b/APP_Framework/Applications/knowing_app/image_processing/TJpgDec_APP/Kconfig index 7f5effc2a..d39c44c42 100644 --- a/APP_Framework/Applications/knowing_app/image_processing/TJpgDec_APP/Kconfig +++ b/APP_Framework/Applications/knowing_app/image_processing/TJpgDec_APP/Kconfig @@ -1,4 +1,4 @@ -config IMAGE_PROCESSING_TJPGDEC_APP - bool "image processing apps/TJpgDec(example)" - select IMAGE_PROCESSING_USING_TJPGD - default n +config IMAGE_PROCESSING_TJPGDEC_APP + bool "image processing apps/TJpgDec(example)" + select IMAGE_PROCESSING_USING_TJPGD + default n diff --git a/APP_Framework/Framework/knowing/Kconfig b/APP_Framework/Framework/knowing/Kconfig index bf570756e..41e26a45e 100644 --- a/APP_Framework/Framework/knowing/Kconfig +++ b/APP_Framework/Framework/knowing/Kconfig @@ -1,12 +1,12 @@ -menuconfig SUPPORT_KNOWING_FRAMEWORK - bool "support knowing framework" - default y - -if SUPPORT_KNOWING_FRAMEWORK - source "$APP_DIR/Framework/knowing/tensorflow-lite/Kconfig" - source "$APP_DIR/Framework/knowing/kpu-postprocessing/Kconfig" - source "$APP_DIR/Framework/knowing/filter/Kconfig" - source "$APP_DIR/Framework/knowing/ota/Kconfig" - source "$APP_DIR/Framework/knowing/image_processing/Kconfig" - source "$APP_DIR/Framework/knowing/cmsis_5/Kconfig" -endif +menuconfig SUPPORT_KNOWING_FRAMEWORK + bool "support knowing framework" + default y + +if SUPPORT_KNOWING_FRAMEWORK + source "$APP_DIR/Framework/knowing/tensorflow-lite/Kconfig" + source "$APP_DIR/Framework/knowing/kpu-postprocessing/Kconfig" + source "$APP_DIR/Framework/knowing/filter/Kconfig" + source "$APP_DIR/Framework/knowing/ota/Kconfig" + source "$APP_DIR/Framework/knowing/image_processing/Kconfig" + source "$APP_DIR/Framework/knowing/cmsis_5/Kconfig" +endif diff --git a/APP_Framework/Framework/knowing/image_processing/Kconfig b/APP_Framework/Framework/knowing/image_processing/Kconfig index a22f685af..b1f46a264 100644 --- a/APP_Framework/Framework/knowing/image_processing/Kconfig +++ b/APP_Framework/Framework/knowing/image_processing/Kconfig @@ -1,6 +1,6 @@ -menuconfig USING_IMAGE_PROCESSING - bool "image processing " - default n -if USING_IMAGE_PROCESSING - source "$APP_DIR/Framework/knowing/image_processing/TJpgDec/Kconfig" -endif +menuconfig USING_IMAGE_PROCESSING + bool "image processing " + default n +if USING_IMAGE_PROCESSING + source "$APP_DIR/Framework/knowing/image_processing/TJpgDec/Kconfig" +endif diff --git a/APP_Framework/Framework/knowing/image_processing/TJpgDec/Kconfig b/APP_Framework/Framework/knowing/image_processing/TJpgDec/Kconfig index acb0ff383..131a3b9f1 100644 --- a/APP_Framework/Framework/knowing/image_processing/TJpgDec/Kconfig +++ b/APP_Framework/Framework/knowing/image_processing/TJpgDec/Kconfig @@ -1,27 +1,27 @@ -menuconfig IMAGE_PROCESSING_USING_TJPGD - bool "TJpgDec: Tiny JPEG Decompressor." - default n - -if IMAGE_PROCESSING_USING_TJPGD - config TJPGD_INPUT_BUFFER_SIZE - int "Size of stream input buffer" - default 512 - choice - prompt "Output format" - default TJPGD_USING_FORMAT_RGB888 - help - Select the RGB output format - config TJPGD_USING_FORMAT_RGB888 - bool "RGB888" - config TJPGD_USING_FORMAT_RGB565 - bool "RGB565" - endchoice - - config TJPGD_USING_SCALE - bool "Use output descaling" - default y - - config TJPGD_USING_TBLCLIP - bool "Use table for saturation" - default y -endif +menuconfig IMAGE_PROCESSING_USING_TJPGD + bool "TJpgDec: Tiny JPEG Decompressor." + default n + +if IMAGE_PROCESSING_USING_TJPGD + config TJPGD_INPUT_BUFFER_SIZE + int "Size of stream input buffer" + default 512 + choice + prompt "Output format" + default TJPGD_USING_FORMAT_RGB888 + help + Select the RGB output format + config TJPGD_USING_FORMAT_RGB888 + bool "RGB888" + config TJPGD_USING_FORMAT_RGB565 + bool "RGB565" + endchoice + + config TJPGD_USING_SCALE + bool "Use output descaling" + default y + + config TJPGD_USING_TBLCLIP + bool "Use table for saturation" + default y +endif