Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/usb_device/example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.20)

set(CMAKE_CXX_STANDARD 20)

# This example needs the managed `espressif/esp_tinyusb` component (required by
# usb_device). It supports two build modes:
Expand Down Expand Up @@ -48,3 +47,5 @@ set(
)

project(usb_device_example)

set(CMAKE_CXX_STANDARD 20)
Comment thread
finger563 marked this conversation as resolved.
3 changes: 3 additions & 0 deletions components/usb_device/include/usb_cdc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ namespace espp {
* short and non-blocking; it is safe to call write() from within it.
*
* \section usb_cdc_ex1 UsbCdc Example
* UsbCdc is the CDC-only subset of espp::UsbDevice; the composite USB device
* example below shows the CDC interface (a framed-protocol link over Web
* Serial) next to the vendor and MSC interfaces.
* \snippet usb_device_example.cpp usb_device_example
*/
class UsbCdc : public BaseComponent {
Expand Down
Loading