[refactor][examples/tensorflow] move demos into subdir
This commit is contained in:
parent
e8c2b6a4f9
commit
daca77ab31
@ -1,12 +0,0 @@
|
|||||||
set(BSP_COMMON_DIR ${CMAKE_SOURCE_DIR}/bsp/bsp_common)
|
|
||||||
set(TARGET_REQUIRED_LIBS usb_stack tflite)
|
|
||||||
set(LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/tflite_camera_psram.ld)
|
|
||||||
set(TARGET_REQUIRED_PRIVATE_INCLUDE ${BSP_COMMON_DIR}/usb ${BSP_COMMON_DIR}/psram ${BSP_COMMON_DIR}/image_sensor ${BSP_COMMON_DIR}/mcu_lcd ${CMAKE_CURRENT_SOURCE_DIR}/vww)
|
|
||||||
file(GLOB_RECURSE ref
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/vww/*.cc"
|
|
||||||
)
|
|
||||||
set(TARGET_REQUIRED_SRCS ${BSP_COMMON_DIR}/usb/usb_dc.c ${BSP_COMMON_DIR}/psram/bsp_sf_psram.c ${BSP_COMMON_DIR}/image_sensor/bsp_image_sensor.c ${BSP_COMMON_DIR}/mcu_lcd/mcu_lcd.c ${BSP_COMMON_DIR}/mcu_lcd/font.c ${BSP_COMMON_DIR}/mcu_lcd/ili9341.c ${ref})
|
|
||||||
set(mains main.c)
|
|
||||||
generate_bin()
|
|
||||||
|
|
||||||
|
|
12
examples/tensorflow/tflite_vww/CMakeLists.txt
Normal file
12
examples/tensorflow/tflite_vww/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
set(BSP_COMMON_DIR ${CMAKE_SOURCE_DIR}/bsp/bsp_common)
|
||||||
|
set(TARGET_REQUIRED_LIBS tflite)
|
||||||
|
set(LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/tflite_camera_psram.ld)
|
||||||
|
set(TARGET_REQUIRED_PRIVATE_INCLUDE ${BSP_COMMON_DIR}/psram ${BSP_COMMON_DIR}/image_sensor ${BSP_COMMON_DIR}/mcu_lcd)
|
||||||
|
file(GLOB_RECURSE ref
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.cc"
|
||||||
|
)
|
||||||
|
set(TARGET_REQUIRED_SRCS ${BSP_COMMON_DIR}/psram/bsp_sf_psram.c ${BSP_COMMON_DIR}/image_sensor/bsp_image_sensor.c ${BSP_COMMON_DIR}/mcu_lcd/mcu_lcd.c ${BSP_COMMON_DIR}/mcu_lcd/font.c ${BSP_COMMON_DIR}/mcu_lcd/ili9341.c ${ref})
|
||||||
|
set(mains main.c)
|
||||||
|
generate_bin()
|
||||||
|
|
||||||
|
|
@ -20,10 +20,6 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "hal_usb.h"
|
|
||||||
#include "usbd_core.h"
|
|
||||||
#include "usbd_video.h"
|
|
||||||
#include "mcu_lcd.h"
|
#include "mcu_lcd.h"
|
||||||
#include "hal_dma.h"
|
#include "hal_dma.h"
|
||||||
#include "hal_cam.h"
|
#include "hal_cam.h"
|
@ -5,7 +5,7 @@
|
|||||||
编译命令:
|
编译命令:
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
$ make build SUPPORT_FLOAT=y BOARD=bl706_avb APP=vww_demo
|
$ make APP=tflite_vww BOARD=bl706_avb SUPPORT_FLOAT=y
|
||||||
|
|
||||||
```
|
```
|
||||||
NMSIS加速库:
|
NMSIS加速库:
|
Reference in New Issue
Block a user