Skip to content

Conversation

@ckhardin
Copy link

The protoc tools are available for OSX and adding this support allows EDSSharp and libEDSsharp to compile for macosx using dotnet 8.0

The protoc tools are available for OSX and adding this support
allows EDSSharp and libEDSsharp to compile for macosx using
dotnet 8.0

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
@ckhardin
Copy link
Author

Useful to support running the tools natively instead of having to use a VM or Docker image

% uname -mo
Darwin arm64
% ./EDSSharp/bin/Debug/net8.0/EDSSharp
Usage: EDSEditor --infile file.[xdd|eds] --outfile [valid output file] [OPTIONAL] --type [exporter type]
The output file format depends on --outfile extension and --type
If --outfile extension matcher one exporter then --type IS NOT needed
If --outfile extension matcher multiple exporter then --type IS needed
If --outfile has no extension --type IS needed
Exporter types:
  ElectronicDataSheet [.eds]
  DeviceConfigurationFile [.dcf]
  CanOpenNode [.h,.c]
  CanOpenNodeV4 [.h,.c]
  CanOpenXDDv1.0 [.xdd]
  CanOpenNetworkv1.0 [.nxdd]
  CanOpenXDDv1.1 [.xdd]
  CanOpenXDDv1.1stripped [.xdd]
  CanOpenXDCv1.1 [.xdc]
  CanOpenNetworkXDDv1.1 [.nxdd]
  CanOpenNetworkXDCv1.1 [.nxdc]
  CanOpenNodeProtobuf(json) [.json]
  CanOpenNodeProtobuf(binary) [.binpb]
  DocumentationHTML [.html]
  DocumentationMarkup [.md]
  NetworkPDOReport [.md]

Copy link
Collaborator

@nimrof nimrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The protoc tools are available for OSX and adding this support allows EDSSharp and libEDSsharp to compile for macosx using dotnet 8.0

Hi there, thanks for the patch
Looks good to me

@nimrof nimrof merged commit 1332dc0 into CANopenNode:main Mar 18, 2025
4 checks passed
@ckhardin ckhardin deleted the ckhardin/add-protoc-macosx branch March 18, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants