Skip to content

Commit 20fe606

Browse files
committed
feat: improve pixelformat and device selection process
1 parent bdc771a commit 20fe606

File tree

4 files changed

+223
-94
lines changed

4 files changed

+223
-94
lines changed

main/Kconfig.projbuild

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,30 @@ config RECEIVE_CUSTOM_MESSAGE
632632
help
633633
Enable custom message reception, allow the device to receive custom messages from the server (preferably through the MQTT protocol)
634634

635+
menu "Camera Configuration"
636+
depends on !IDF_TARGET_ESP32
637+
638+
config XIAOZHI_ENABLE_CAMERA_DEBUG_MODE
639+
bool "Enable Camera Debug Mode"
640+
default n
641+
help
642+
Enable camera debug mode, print camera debug information to the console.
643+
Only works on boards that support camera.
644+
645+
config XIAOZHI_ENABLE_CAMERA_ENDIANNESS_SWAP
646+
bool "Enable software camera buffer endianness swapping (USE WITH CAUTION)"
647+
default n
648+
depends on !CAMERA_SENSOR_SWAP_PIXEL_BYTE_ORDER
649+
help
650+
This option treats the camera buffer as a uint16_t[] array and performs byte-swapping (endianness conversion) on each element.
651+
652+
Should only be modified by development board integration engineers.
653+
654+
**Incorrect usage may result in incorrect image colors!**
655+
656+
ATTENTION: If the option CAMERA_SENSOR_SWAP_PIXEL_BYTE_ORDER is available for your sensor, please use that instead.
657+
endmenu
658+
635659
menu "TAIJIPAI_S3_CONFIG"
636660
depends on BOARD_TYPE_ESP32S3_Taiji_Pi
637661
choice I2S_TYPE_TAIJIPI_S3

0 commit comments

Comments
 (0)