View Source Bdds

If you want to use bdds, YOU FIRST NEED TO INSTALL cyclonedds ON THE OS YOU WANT TO COMPILE IT ON.

Installation

If available in Hex, the package can be installed by adding bdds to your list of dependencies in mix.exs:

def deps do
  [
    {:bdds, "~> 0.0.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/bdds.

Use with pure Elixir Project

Just compile with env, DDS_INSTALL_DIR(=/usr/local is default) like below

# If you installed cyclonedds to /usr/local, you don't need to specify DDS_INSTALL_DIR.
$ DDS_INSTALL_DIR=/usr mix deps.compile

Use with Nerve Project

Just install bdds by adding to deps. Then specify MIX_TARGET, make firmware like below

# This command cross compile cyclonedds and install it to Nerves firmware.
$ MIX_TARGET=rpi4 mix firmware