Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed canopennode xml support #101

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

nimrof
Copy link
Collaborator

@nimrof nimrof commented Apr 2, 2024

Think i got it all, but please test it out

Closes #103

@nimrof nimrof self-assigned this Apr 2, 2024

eds.Loadfile(path);
Bridge bridge = new Bridge(); //tell me again why bridge is not static?
dev = bridge.convert(eds);

DeviceView device = new DeviceView(eds, network);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No idea why bridge is used here 🤔

@@ -69,10 +69,6 @@ Library
* Read EDS/DCF/XDC file and parse contents to approprate classes
* Dump EDS/DCF classes via ToString()
* Save EDS/DCF classes back to EDS file
* Read CanOpenNode xml project file
* Write CanOpenNode xmlproject file
* Switch formats between EDS/DCF and CanOpenNode XML (note to EDS will result in
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should this line be rewritten or is it okay to remove it?

Copy link
Owner

Choose a reason for hiding this comment

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

It is okay, if it is removed. README.md will need some refreshment too.

@nimrof nimrof changed the title removed canopen xml support removed canopennode xml support Apr 2, 2024
Copy link
Owner

@CANopenNode CANopenNode left a comment

Choose a reason for hiding this comment

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

It seems OK and works as expected at this point.

@nimrof
Copy link
Collaborator Author

nimrof commented Apr 3, 2024

Thanks for the checks.
Will try to make a pr. to remove xdd v1 before i merge this one

@nimrof nimrof merged commit addcce3 into CANopenNode:main Apr 4, 2024
4 checks passed
@nimrof nimrof deleted the removed-CanOpenNode-XML-support branch April 4, 2024 17:32
@trojanobelix
Copy link
Collaborator

@CANopenNode @nimrof:
Without XML Support the default profiles DSP302-NMTMaster.xml and DS301_profile_old.xml can`t be used anymore.
They should be converted to a xpd-file

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.

Remove CanOpenNodeXML (inc bridge)
3 participants