diff options
| author | hathach <[email protected]> | 2022-11-21 11:12:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-11-21 11:12:10 +0700 |
| commit | 47bc269b50eb0fab9ac2f708cecdce2e2df601d9 (patch) | |
| tree | adb85576cd8bb7b83518fd7263cce5ab56cf7ccd /examples/host/msc_file_explorer/CMakeLists.txt | |
| parent | 2312bfe3c4be116403974f922d08e5f5cf8a166c (diff) | |
fix build with rp2040 and rx65
Diffstat (limited to 'examples/host/msc_file_explorer/CMakeLists.txt')
| -rw-r--r-- | examples/host/msc_file_explorer/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/host/msc_file_explorer/CMakeLists.txt b/examples/host/msc_file_explorer/CMakeLists.txt index fc4765cdc..5d443ea9b 100644 --- a/examples/host/msc_file_explorer/CMakeLists.txt +++ b/examples/host/msc_file_explorer/CMakeLists.txt @@ -16,11 +16,16 @@ add_executable(${PROJECT}) target_sources(${PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/main.c ${CMAKE_CURRENT_SOURCE_DIR}/src/msc_app.c + ${TOP}/lib/fatfs/source/ff.c + ${TOP}/lib/fatfs/source/ffsystem.c + ${TOP}/lib/fatfs/source/ffunicode.c ) # Example include target_include_directories(${PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src + ${TOP}/lib/fatfs/source + ${TOP}/lib/embedded-cli ) # Configure compilation flags and libraries for the example... see the corresponding function @@ -30,7 +35,7 @@ family_configure_host_example(${PROJECT}) # For rp2040, un-comment to enable pico-pio-usb family_add_pico_pio_usb(${PROJECT}) -# due to warnings from Pico-PIO-USB +# due to warnings from Pico-PIO-USB and fatfs target_compile_options(${PROJECT} PUBLIC -Wno-error=shadow -Wno-error=cast-align |
