mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-06-04 14:09:51 +00:00
rpi-config: Add video camera control
Add video camera enable 'VIDEO_CAMERA' for config.txt Change-Id: I547004eebfba204ba683365bbdbad143f2cdfe6e Signed-off-by: Gary Thomas <gary@mlbassoc.com> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
committed by
Andrei Gherzan
parent
9cd9f42fa1
commit
7bea82b2b8
@@ -52,6 +52,12 @@ do_deploy() {
|
||||
if [ -n "${GPU_MEM_512}" ]; then
|
||||
sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
|
||||
# Video camera support
|
||||
if [ -n "${VIDEO_CAMERA}" ]; then
|
||||
echo "# Enable video camera" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
|
||||
echo "start_x=1" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
Reference in New Issue
Block a user