recipe-bsp: Add support for Raspberry Pi Camera Module v3

Signed-off-by: Jesse Visser <jssvssr2000@gmail.com>
This commit is contained in:
Jesse Visser 2023-03-09 11:19:34 +01:00 committed by Andrei Gherzan
parent 3afdbbf782
commit 2ad4dd667a
2 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
overlays/i2c-rtc.dtbo \
overlays/imx219.dtbo \
overlays/imx477.dtbo \
overlays/imx708.dtbo \
overlays/iqaudio-dac.dtbo \
overlays/iqaudio-dacplus.dtbo \
overlays/mcp2515-can0.dtbo \

View File

@ -210,6 +210,12 @@ do_deploy() {
# echo "dtoverlay=imx477" >> $CONFIG
#fi
# Choose Camera Sensor to be used, default imx708 sensor
if [ "${RASPBERRYPI_CAMERA_V3}" = "1" ]; then
echo "# Enable Sony RaspberryPi Camera(imx708)" >> $CONFIG
echo "dtoverlay=imx708" >> $CONFIG
fi
# Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm)
if [ "${WAVESHARE_1024X600_C_2_1}" = "1" ]; then
echo "# Waveshare \"C\" 1024x600 7\" Rev2.1 IPS capacitive touch screen" >> $CONFIG