diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a6c910f..b6cf2c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ add_executable(${PROJECT}) target_sources(${PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c + ${CMAKE_CURRENT_SOURCE_DIR}/src/util.c ${CMAKE_CURRENT_SOURCE_DIR}/src/neopix.c ${CMAKE_CURRENT_SOURCE_DIR}/src/usb_descriptors.c ) @@ -24,10 +25,16 @@ target_include_directories(${PROJECT} PUBLIC target_link_libraries(${PROJECT} PRIVATE pico_stdlib + pico_stdio hardware_pio hardware_gpio + tinyusb_device ) -# Configure compilation flags and libraries for the example... see the corresponding function -# in hw/bsp/FAMILY/family.cmake for details. -family_configure_device_example(${PROJECT}) +target_compile_options(pico_stdio INTERFACE + -Wno-shadow # issue in picosdk/src/rp2_common/hardware_flash/flash.c +) + +family_configure_target(${PROJECT}) +family_add_default_example_warnings(${PROJECT}) +suppress_tinyusb_warnings() |
