We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbed8d5 commit 5077832Copy full SHA for 5077832
idf_component_examples/hw_cdc_hello_world/CMakeLists.txt
@@ -0,0 +1,12 @@
1
+# For more information about build system see
2
+# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
3
+# The following five lines of boilerplate have to be in your project's
4
+# CMakeLists in this exact order for cmake to work correctly
5
+cmake_minimum_required(VERSION 3.16)
6
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
7
+
8
+# Adds necessary definitions for compiling it using Serial symbol attached to the HW USB CDC port
9
+list(APPEND compile_definitions "ARDUINO_USB_CDC_ON_BOOT=1")
10
+list(APPEND compile_definitions "ARDUINO_USB_MODE=1")
11
12
+project(hw_cdc_hello_world)
0 commit comments