Skip to content

Commit

Permalink
Add mcal conf to demo can project
Browse files Browse the repository at this point in the history
  • Loading branch information
samparent97 committed Apr 14, 2024
1 parent c2a9277 commit a3a1b28
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions firmware/projects/DemoCan/platforms/raspi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
target_sources(bindings
PRIVATE
PRIVATE
bindings.cc
)
)

target_include_libraries(bindings PUBLIC ${CMAKE_SOURCE_DIR})
3 changes: 3 additions & 0 deletions firmware/projects/DemoCan/platforms/raspi/mcal_conf.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file determines which mcal folder is included so that the mcal library
# can be linked to `bindings`.
set(MCAL raspi)
3 changes: 3 additions & 0 deletions firmware/projects/DemoCan/platforms/windows/mcal_conf.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file determines which mcal folder is included so that the mcal library
# can be linked to `bindings`.
set(MCAL windows)

0 comments on commit a3a1b28

Please sign in to comment.