Skip to content

Commit

Permalink
Add option to adjust RPMSG_BUFFER_SIZE during CMake build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaute Nilsson committed Feb 17, 2020
1 parent 007f2fe commit f897b8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,9 @@ endif (WITH_ZEPHYR)

option (WITH_LIBMETAL_FIND "Check Libmetal library can be found" ON)

if (DEFINED RPMSG_BUFFER_SIZE)
add_definitions( -DRPMSG_BUFFER_SIZE=${RPMSG_BUFFER_SIZE} )
endif(DEFINED RPMSG_BUFFER_SIZE)

message ("-- C_FLAGS : ${CMAKE_C_FLAGS}")
# vim: expandtab:ts=2:sw=2:smartindent

0 comments on commit f897b8e

Please sign in to comment.