Skip to content

b5g-ex/bdds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bdds

YOU FIRST NEED TO INSTALL cyclonedds, tag: 0.9.0a1, ON THE HOST MACHINE,

even if you only want to do crosscompile for Nerves.

If you are interested in the reason, read this issue.

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 Nerves 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