Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Fix  if USB-SERIAL is disabled in CMakeLists.txt
  • Loading branch information
luc-github committed May 1, 2024
1 parent 74fc2f0 commit 11a831d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hardware/ESP32S3_HMI43V3/components/bsp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Component directive
if(USB_SERIAL_SERVICE)
set(USB_SERIAL " usb_serial")
else()
set(USB_SERIAL "")
endif()
idf_component_register(
SRCS "bsp.c"
INCLUDE_DIRS .
REQUIRES esp3d_log lvgl i2c_bus ft5x06 rm68120 tca9554 usb_serial
REQUIRES "esp3d_log lvgl i2c_bus ft5x06 rm68120 tca9554 " ${USB_SERIAL}
)

0 comments on commit 11a831d

Please sign in to comment.