Skip to content

Commit

Permalink
Merge pull request #151 from Derekduke/master
Browse files Browse the repository at this point in the history
add a gc0328c camera project
  • Loading branch information
Guozhanxin authored Dec 16, 2020
2 parents eb4f963 + c7551e6 commit ad3f190
Show file tree
Hide file tree
Showing 113 changed files with 29,813 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
- RTT_BSP='projects/industry_io_gateway' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='projects/art_pi_factory' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='projects/art_pi_net_player' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='projects/art_pi_gc0328c_camera' RTT_TOOL_CHAIN='sourcery-arm'

stage: compile
script:
Expand Down
21 changes: 21 additions & 0 deletions RealThread_STMH750-ART-Pi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,24 @@ example_projects:
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- project_name: art_pi_gc0328c_camera
project_description: creat this peoject if user choose rt-thread project
project_type: rt-thread|@full|@4.0.3
builtin_files:
- source_path_offset: projects/art_pi_gc0328c_camera
target_path_offset: ''
files_and_folders:
- "*"
- source_path_offset: ''
target_path_offset: ''
files_and_folders:
- libraries
- rt-thread
external_files:
- package_type: Chip_Support_Packages
package_vendor: RealThread
package_name: STM32H7
package_version: 0.1.9
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
7 changes: 7 additions & 0 deletions libraries/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ menu "Onboard Peripheral"
select BSP_USING_I2C2
default n

config BSP_USING_GC0328C
bool "Enable camera (gc0328)"
select BSP_USING_DCMI
select BSP_USING_I2C
select BSP_USING_I2C2
default n

menuconfig BSP_USING_FS
bool "Enable filesystem"
select RT_USING_DFS
Expand Down
3 changes: 3 additions & 0 deletions libraries/drivers/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ if GetDepend(['BSP_USING_DCMI']):
if GetDepend(['BSP_USING_OV2640']):
src += Glob('drv_ov2640.c')

if GetDepend(['BSP_USING_GC0328C']):
src += Glob('drv_gc0328c.c')

if GetDepend(['BSP_USING_TIM']):
src += Glob('drv_hwtimer.c')

Expand Down
Loading

0 comments on commit ad3f190

Please sign in to comment.