Skip to content

Commit 9e55df4

Browse files
JianyuWang0623acassis
authored andcommitted
boards/lckfb-szpi-esp32s3: add gc0308 minimal defconfig
Add a minimal GC0308 camera configuration based on nsh. Unlike the full camera config, this only enables the GC0308 DVP camera driver (I2C, PCA9557, LEDC, CAM, VIDEO) and camcap example, without ADB, SDMMC, LCD, PSRAM or other peripherals. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
1 parent ebfacd3 commit 9e55df4

2 files changed

Lines changed: 75 additions & 0 deletions

File tree

  • Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3
  • boards/xtensa/esp32s3/lckfb-szpi-esp32s3/configs/gc0308

Documentation/platforms/xtensa/esp32s3/boards/lckfb-szpi-esp32s3/index.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,19 @@ Then format and mount the SD card::
526526
nsh> cat /mnt/sd/test.txt
527527
hello
528528

529+
gc0308
530+
------
531+
532+
Minimal NuttShell configuration with GC0308 DVP camera support only.
533+
Based on the nsh configuration, this adds only the GC0308 image sensor
534+
driver, ESP32-S3 CAM DVP controller, and the V4L2 video pipeline.
535+
Console is accessible over UART0 (serial).
536+
537+
You can run the configuration and compilation procedure::
538+
539+
$ ./tools/configure.sh lckfb-szpi-esp32s3:gc0308
540+
$ make flash -j$(nproc) ESPTOOL_PORT=/dev/ttyUSB0
541+
529542
camera
530543
------
531544

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#
2+
# This file is autogenerated: PLEASE DO NOT EDIT IT.
3+
#
4+
# You can use "make menuconfig" to make any modifications to the installed .config file.
5+
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
6+
# modifications.
7+
#
8+
# CONFIG_ARCH_LEDS is not set
9+
# CONFIG_NSH_ARGCAT is not set
10+
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
11+
CONFIG_ARCH="xtensa"
12+
CONFIG_ARCH_BOARD="lckfb-szpi-esp32s3"
13+
CONFIG_ARCH_BOARD_COMMON=y
14+
CONFIG_ARCH_BOARD_ESP32S3_LCKFB_SZPI=y
15+
CONFIG_ARCH_CHIP="esp32s3"
16+
CONFIG_ARCH_CHIP_ESP32S3=y
17+
CONFIG_ARCH_CHIP_ESP32S3WROOM1N16R8=y
18+
CONFIG_ARCH_INTERRUPTSTACK=2048
19+
CONFIG_ARCH_STACKDUMP=y
20+
CONFIG_ARCH_XTENSA=y
21+
CONFIG_BOARD_LOOPSPERMSEC=16717
22+
CONFIG_BUILTIN=y
23+
CONFIG_DEBUG_FULLOPT=y
24+
CONFIG_DEBUG_SYMBOLS=y
25+
CONFIG_DEV_GPIO=y
26+
CONFIG_ESP32S3_CAM=y
27+
CONFIG_ESP32S3_GPIO_IRQ=y
28+
CONFIG_ESP32S3_I2C0=y
29+
CONFIG_ESP32S3_UART0=y
30+
CONFIG_ESPRESSIF_LEDC=y
31+
CONFIG_ESPRESSIF_LEDC_CHANNEL0_PIN=42
32+
CONFIG_ESPRESSIF_LEDC_TIMER0=y
33+
CONFIG_FS_PROCFS=y
34+
CONFIG_FS_TMPFS=y
35+
CONFIG_GPIO_LOWER_HALF=y
36+
CONFIG_HAVE_CXX=y
37+
CONFIG_HAVE_CXXINITIALIZE=y
38+
CONFIG_IDLETHREAD_STACKSIZE=3072
39+
CONFIG_INIT_ENTRYPOINT="nsh_main"
40+
CONFIG_INIT_STACKSIZE=3072
41+
CONFIG_INTELHEX_BINARY=y
42+
CONFIG_IOEXPANDER=y
43+
CONFIG_IOEXPANDER_PCA9557=y
44+
CONFIG_LINE_MAX=64
45+
CONFIG_NSH_ARCHINIT=y
46+
CONFIG_NSH_BUILTIN_APPS=y
47+
CONFIG_NSH_FILEIOSIZE=512
48+
CONFIG_NSH_READLINE=y
49+
CONFIG_PREALLOC_TIMERS=4
50+
CONFIG_RAM_SIZE=114688
51+
CONFIG_RAM_START=0x20000000
52+
CONFIG_RR_INTERVAL=200
53+
CONFIG_SCHED_WAITPID=y
54+
CONFIG_START_DAY=6
55+
CONFIG_START_MONTH=12
56+
CONFIG_START_YEAR=2011
57+
CONFIG_SYSLOG_BUFFER=y
58+
CONFIG_SYSTEM_NSH=y
59+
CONFIG_UART0_SERIAL_CONSOLE=y
60+
CONFIG_VIDEO=y
61+
CONFIG_VIDEO_GC0308=y
62+
CONFIG_VIDEO_STREAM=y

0 commit comments

Comments
 (0)