openenergysolutions / openfmb.adapters

OpenFMB Adapters
Apache License 2.0
3 stars 1 forks source link

Adds zenoh-plugin #129

Closed teburd closed 3 years ago

teburd commented 3 years ago

Signed-off-by: Tom Burdick tom@openenergysolutionsinc.com

teburd commented 3 years ago

Yes, that is unused, will remove. Good eye

teburd commented 3 years ago

Ok sorted out the cross compile bits, had to learn a bit more of how nix works with its cross compile setup.

In essence the targetSystem is a map of values with metadata about the target for cross compile, targetSystem.config holds an llvm triplet like armv7l-unknown-linux-musleabihf (arch, os, abi (libc)) and that stuff can be picked apart in the targetSystem.parsed attribute.

Rust needed armv7-unknown-linux-musleabihf and so I had to map the target line for that. Now it works well.

teburd commented 3 years ago

This builds, I need to update the cached deps so actions doesn't time out.