Skip to content

Commit

Permalink
Update examples CMakeLists.txt, reduce Clang CI expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-aria committed Oct 17, 2024
1 parent 703046c commit 7eee442
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ jobs:
run: cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=Release

- name: Build All
run: cmake --build build --target examples --verbose
run: cmake --build build --target BootloaderBlink --verbose # TODO: make this build all examples
3 changes: 3 additions & 0 deletions examples/BootloaderBlink/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(FIRMWARE_NAME BootloaderBlink)
set(FIRMWARE_SOURCES main.cpp)
include(DaisyProject)
6 changes: 5 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ add_subdirectory(ADCMulti)
add_subdirectory(ADCMux)
add_subdirectory(AudioOutput)
add_subdirectory(AudioPassthru)
add_subdirectory(BootloaderBlink)
add_subdirectory(CopyingWavs)
add_subdirectory(DAC_Polling_Output)
add_subdirectory(Encoder)
Expand All @@ -15,13 +16,16 @@ add_subdirectory(GateInput)
add_subdirectory(GPIO_Input)
add_subdirectory(GPIO_Output)
add_subdirectory(MIDI_UART_Input)
add_subdirectory(MIDI_USBH_Input)
add_subdirectory(OLED_SSD130x4WireSPI)
add_subdirectory(SDMMC_HelloWorld)
add_subdirectory(SerialPrint)
add_subdirectory(SerialRead)
add_subdirectory(SR_4021)
add_subdirectory(Switch)
add_subdirectory(Switch3)
add_subdirectory(TIM_SingleCallback)

# Folders
add_subdirectory(uart)
add_subdirectory(SPI)
add_subdirectory(SPI)
3 changes: 3 additions & 0 deletions examples/MIDI_USBH_Input/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(FIRMWARE_NAME MIDI_USBH_Input)
set(FIRMWARE_SOURCES MIDI_USBH_Input.cpp)
include(DaisyProject)
3 changes: 3 additions & 0 deletions examples/SR_4021/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(FIRMWARE_NAME SR_4021)
set(FIRMWARE_SOURCES SR_4021.cpp)
include(DaisyProject)
3 changes: 3 additions & 0 deletions examples/SerialRead/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(FIRMWARE_NAME SerialRead)
set(FIRMWARE_SOURCES SerialRead.cpp)
include(DaisyProject)

0 comments on commit 7eee442

Please sign in to comment.