File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ add_subdirectory("hallo-world")
33add_subdirectory ("blink" )
44add_subdirectory ("i2c" )
55add_subdirectory ("spi" )
6+ add_subdirectory ("serial2" )
7+
68if (USE_HTTPS)
79 add_subdirectory ("wifi-secure" )
810endif (USE_HTTPS )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,5 +7,7 @@ set(DCMAKE_CXX_FLAGS "-Werror")
77set_source_files_properties (serial2.ino PROPERTIES LANGUAGE CXX )
88add_executable (serial2 serial2.ino )
99target_compile_options (serial2 PRIVATE -x c++ )
10- target_compile_definitions (serial2 PUBLIC -DUSE_RPI )
11- target_link_libraries (serial2 arduino_emulator gpiod )
10+ target_link_libraries (serial2 arduino_emulator )
11+ if (USE_RPI)
12+ target_link_libraries (serial2 gpiod )
13+ endif (USE_RPI )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments