Skip to content

Commit

Permalink
gh: core-as-lib: also compile cpp files in api folder
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Jan 24, 2025
1 parent 3a06894 commit 205bd78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cores/arduino/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ zephyr_sources(zephyrCommon.cpp)
zephyr_sources(USB.cpp)
zephyr_sources(itoa.cpp)

zephyr_sources(api/CanMsg.cpp)
zephyr_sources(api/CanMsgRingbuffer.cpp)
zephyr_sources(api/Common.cpp)
zephyr_sources(api/IPAddress.cpp)
zephyr_sources(api/Print.cpp)
zephyr_sources(api/Stream.cpp)
zephyr_sources(api/String.cpp)

if(DEFINED CONFIG_ARDUINO_ENTRY)
zephyr_sources(main.cpp)
endif()
Expand Down

0 comments on commit 205bd78

Please sign in to comment.