Skip to content

Commit

Permalink
Improve Zephyr port in-tree build support
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Masselink <[email protected]>
  • Loading branch information
PatrickM-ZS authored and eboasson committed Aug 3, 2023
1 parent 4f6fe9f commit f7688ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ports/zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ set(CDDS_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/cyclonedds-prefix/include)

ExternalProject_Add(cyclonedds
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../../
BUILD_COMMAND ${CMAKE_COMMAND} --build .
CMAKE_ARGS
-DBUILD_SHARED_LIBS=0 -DENABLE_SECURITY=0 -DENABLE_SSL=0 -DENABLE_SOURCE_SPECIFIC_MULTICAST=0 -DENABLE_IPV6=1 -DENABLE_SHM=0 -DWITH_ZEPHYR=1
Expand Down
2 changes: 1 addition & 1 deletion ports/zephyr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ The CycloneDDS configuration in `config.xml` is automatically converted to a cha
Alternatively, [dds_create_domain_with_rawconfig](https://cyclonedds.io/docs/cyclonedds/latest/api/domain.html?#c.dds_create_domain_with_rawconfig) can be used without XML configuration data.

## Zephyr versions
At the time of writing, CycloneDDS has been tested on Zephyr [v3.3.0](https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.3.0) and [v3.4.0](https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0). However, for the NXP X-S32Z27X-DC board an issue exists in `v3.4.0` that can cause CycloneDDS to crash. This is fixed on the Zephyr main branch, therefore we suggest using zephyrproject-rtos/zephyr@14342969150a35f3c26afa513a4725bdec310799.
At the time of writing, CycloneDDS has been tested on Zephyr [v3.3.0](https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.3.0) and [v3.4.0](https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0). However, for the NXP X-S32Z27X-DC board an issue exists in `v3.4.0` that can cause CycloneDDS to crash. This is fixed on the Zephyr main branch, therefore we suggest using [@143429](https://github.com/zephyrproject-rtos/zephyr/commit/14342969150a35f3c26afa513a4725bdec310799).

0 comments on commit f7688ce

Please sign in to comment.