Skip to content

Commit

Permalink
Update ESP32S3_ZX3D50CE02S_USRC_4832.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed May 2, 2024
1 parent ea33417 commit bc04175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/targets/ESP32S3_ZX3D50CE02S_USRC_4832.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ if(ESP32S3_ZX3D50CE02S_USRC_4832)
set(SDKCONFIG ${CMAKE_SOURCE_DIR}/hardware/ESP32S3_ZX3D50CE02S_USRC_4832/sdkconfig)
list(APPEND EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/hardware/ESP32S3_ZX3D50CE02S_USRC_4832/components)
list(APPEND EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/hardware/drivers_video_i80)
add_compile_options("-I${CMAKE_SOURCE_DIR}/hardware/ESP32S3_ZX3D50CE02S_USRC_4832/components/bsp")
add_compile_options("-I${CMAKE_SOURCE_DIR}/hardware/ESP32S3_ZX3D50CE02S_USRC_4832/components/bsp")
# Add specific usb driver for otg
list(APPEND EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/hardware/drivers_usb_otg)
if (USB_SERIAL_SERVICE)
# Enable USB-OTG as serial alternative for communications
add_compile_options(-DESP3D_USB_SERIAL_FEATURE=1)
# Add specific usb driver for otg
list(APPEND EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/hardware/drivers_usb_otg)
endif()
endif()

0 comments on commit bc04175

Please sign in to comment.