mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
feat: fix usb streaming on wroom boards, add support for babble custom board
* feat: PoC add support for project babble board * Add support for bable wireless, adjust flash_mode and memory type to get PSRAM working * Add DARDUINO_USB_MODE=1 and DARDUINO_USB_CDC_ON_BOOT=1 to Babble and wroom boards to fix USB streaming discovered and fixed entirely by Rames the Generic
This commit is contained in:
parent
14d2cb0858
commit
049b16078e
@ -125,6 +125,7 @@ build_type = debug
|
||||
build_flags = ${env.build_flags}
|
||||
-DCORE_DEBUG_LEVEL=4
|
||||
-DDEBUG_MODE=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DETVR_EYE_TRACKER_USB_API
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
@ -137,6 +138,7 @@ build_type = release
|
||||
build_flags = ${env.build_flags}
|
||||
-DDEBUG_MODE=0
|
||||
-DCORE_DEBUG_LEVEL=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DETVR_EYE_TRACKER_USB_API
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
@ -166,6 +168,8 @@ build_type = debug
|
||||
build_flags = ${env.build_flags}
|
||||
-DCORE_DEBUG_LEVEL=4
|
||||
-DDEBUG_MODE=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DETVR_EYE_TRACKER_USB_API
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
${pinoutsESPS3WROOM.build_flags}
|
||||
@ -177,11 +181,40 @@ build_type = release
|
||||
build_flags = ${env.build_flags}
|
||||
-DDEBUG_MODE=0
|
||||
-DCORE_DEBUG_LEVEL=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DETVR_EYE_TRACKER_USB_API
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
${pinoutsESPS3WROOM.build_flags}
|
||||
upload_flags = --no-stub
|
||||
|
||||
[env:Babble-wrooms-s3]
|
||||
board = esp32-s3-devkitc-1
|
||||
board_build.flash_mode = qio ; qio_qspi
|
||||
board_build.arduino.memory_type = qio_qspi
|
||||
build_type = debug
|
||||
build_flags = ${env.build_flags}
|
||||
-DCORE_DEBUG_LEVEL=4
|
||||
-DDEBUG_MODE=1
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
${pinoutSWROOMBABBLES3.build_flags}
|
||||
upload_flags = --no-stub
|
||||
|
||||
[env:Babble_USB-wrooms-s3]
|
||||
board = esp32-s3-devkitc-1
|
||||
board_build.flash_mode = qio ; qio_qspi
|
||||
board_build.arduino.memory_type = qio_qspi
|
||||
build_type = debug
|
||||
build_flags = ${env.build_flags}
|
||||
-DCORE_DEBUG_LEVEL=4
|
||||
-DDEBUG_MODE=1
|
||||
-DETVR_EYE_TRACKER_USB_API
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DSERIAL_MANAGER_USE_HIGHER_FREQUENCY
|
||||
${pinoutSWROOMBABBLES3.build_flags}
|
||||
upload_flags = --no-stub
|
||||
|
||||
[env:xiaosenses3]
|
||||
board = seeed_xiao_esp32s3
|
||||
build_type = debug
|
||||
|
||||
@ -259,6 +259,42 @@ build_flags =
|
||||
-DHREF_GPIO_NUM=${pinoutsESPS3WROOM.HREF_GPIO_NUM}
|
||||
-DPCLK_GPIO_NUM=${pinoutsESPS3WROOM.PCLK_GPIO_NUM}
|
||||
|
||||
[pinoutSWROOMBABBLES3]
|
||||
pwdn_gpio_num = -1
|
||||
reset_gpio_num = -1
|
||||
xclk_gpio_num = 4
|
||||
siod_gpio_num = 14
|
||||
sioc_gpio_num = 13
|
||||
y9_gpio_num = 39
|
||||
y8_gpio_num = 5
|
||||
y7_gpio_num = 6
|
||||
y6_gpio_num = 15
|
||||
y5_gpio_num = 17
|
||||
y4_gpio_num = 8
|
||||
y3_gpio_num = 18
|
||||
y2_gpio_num = 16
|
||||
vsync_gpio_num = 9
|
||||
href_gpio_num = 10
|
||||
pclk_gpio_num = 7
|
||||
build_flags =
|
||||
'-DCAMERA_MODULE_NAME="SWROOM_BABBLE_S3"'
|
||||
-DPWDN_GPIO_NUM=${pinoutSWROOMBABBLES3.PWDN_GPIO_NUM}
|
||||
-DRESET_GPIO_NUM=${pinoutSWROOMBABBLES3.RESET_GPIO_NUM}
|
||||
-DXCLK_GPIO_NUM=${pinoutSWROOMBABBLES3.XCLK_GPIO_NUM}
|
||||
-DSIOD_GPIO_NUM=${pinoutSWROOMBABBLES3.SIOD_GPIO_NUM}
|
||||
-DSIOC_GPIO_NUM=${pinoutSWROOMBABBLES3.SIOC_GPIO_NUM}
|
||||
-DY9_GPIO_NUM=${pinoutSWROOMBABBLES3.Y9_GPIO_NUM}
|
||||
-DY8_GPIO_NUM=${pinoutSWROOMBABBLES3.Y8_GPIO_NUM}
|
||||
-DY7_GPIO_NUM=${pinoutSWROOMBABBLES3.Y7_GPIO_NUM}
|
||||
-DY6_GPIO_NUM=${pinoutSWROOMBABBLES3.Y6_GPIO_NUM}
|
||||
-DY5_GPIO_NUM=${pinoutSWROOMBABBLES3.Y5_GPIO_NUM}
|
||||
-DY4_GPIO_NUM=${pinoutSWROOMBABBLES3.Y4_GPIO_NUM}
|
||||
-DY3_GPIO_NUM=${pinoutSWROOMBABBLES3.Y3_GPIO_NUM}
|
||||
-DY2_GPIO_NUM=${pinoutSWROOMBABBLES3.Y2_GPIO_NUM}
|
||||
-DVSYNC_GPIO_NUM=${pinoutSWROOMBABBLES3.VSYNC_GPIO_NUM}
|
||||
-DHREF_GPIO_NUM=${pinoutSWROOMBABBLES3.HREF_GPIO_NUM}
|
||||
-DPCLK_GPIO_NUM=${pinoutSWROOMBABBLES3.PCLK_GPIO_NUM}
|
||||
|
||||
[pinoutsESPS3XIAOSENSE]
|
||||
pwdn_gpio_num = -1
|
||||
reset_gpio_num = -1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user