Skip to content

Commit

Permalink
Add TemperatureSensor.cpp as target source
Browse files Browse the repository at this point in the history
  • Loading branch information
M-C-machts authored and PatrickKa committed Dec 14, 2024
1 parent 6be8bff commit 2f2dcb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sts1CobcSw/Periphery/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ target_link_libraries(
)

if(CMAKE_SYSTEM_NAME STREQUAL Generic)
target_sources(Sts1CobcSw_Periphery PRIVATE Eps.cpp Flash.cpp Fram.cpp Rf.cpp Spis.cpp)
target_sources(
Sts1CobcSw_Periphery PRIVATE Eps.cpp Flash.cpp Fram.cpp Rf.cpp Spis.cpp
TemperatureSensor.cpp
)
else()
target_sources(Sts1CobcSw_Periphery PRIVATE FlashMock.cpp FramMock.cpp SpiMocks.cpp)
endif()

0 comments on commit 2f2dcb3

Please sign in to comment.