Open xzbaijj opened 2 months ago
You haven't provided any description of the issue and the screenshot image links don't seem to work (they seem to link back to this issue).
You need to describe the issue as per the new issue guidelines in order to get useful feedback:
Prerequisites
In case you encounter problems while using the plug-ins, please consider the following:
- [ ] read the documentation pages carefully
- [ ] check the Known issues
- [ ] check the FAQ
- [ ] check the GNU MCU Eclipse forum for similar problems
- [ ] check the GitHub Issues tracker
If you still could not find a solution, if you have interesting use cases, if you have custom configurations, and generally if you have any experience that you want to share with others, use the GNU MCU Eclipse forum.
If you are convinced that you identified a bug (if you have doubts, use the forum), or you have a pertinent suggestion how to enhance the GNU MCU Eclipse plug-ins, continue and register an issue.
Description
[Description of the bug or feature]
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on...]
Expected behaviour: [What you expected to happen]
Actual behaviour: [What actually happened]
Versions
- [plug-in version]
- [Eclipse version]
- [Java version]
- [operating system]
- [toolchain version]
Please understand that without being able to reproduce the bug we cannot identify your problem.
Note: Remove unnecessary text after reading, before entering your ticket.
Duplicate of this?
the screenshot image links don't seem to work (they seem to link back to this issue).
The original post has been edited to fix the screenshot image link since I made this comment.
Maybe related to, or the same issue, as mentioned here?
Maybe the workspace/.metadata/.log
file contains some clues as to what's going on/wrong here?
Yes, there are spaces at the beginning of the SVD file, which prevents normal use. Can the plug-in automatically handle the spaces at the beginning?
I presume that the plugin caters for SVD files that adhere to the relevant schema:
Perhaps the SVD file in question with extraneous (?) spaces at the start of the file is not valid in terms of that schema?
If that is the case then presumably it's the SVD file and not the plugin that should change (be fixed)?
I don't know where the master/authoritative version of this file lives but this version doesn't seem to have any spaces at the start of the file:
Can the plug-in automatically handle the spaces at the beginning?
The plug-in uses standard parsers from the Java library; if your file fails, I would say it is non-conforming and should be fixed.
OK - I guess that the Pack file mentioned here:
namely, this:
is the one that is being used and each of the SVD files contained therein do contain extraneous (?) spaces at the start of the files:
./SVD/GD32F30x_CL.svd
./GD32F30x_HD.svd
./GD32F30x_XD.svd
For example:
I think that the validity or otherwise of these files can be checked using the arm CMSIS-Packs SVDConv.exe
utility:
but unfortunately I cannot find how/where to download the CMSIS-Packs utilities and this page doesn't work for me and just says "Loading, please wait..." and never completely loads:
Ah - found SVDConv
here:
And running it on the aforementioned SVD files with the recommended --strict
option generates many INFO
, several WARNING
and one ERROR
messages for each of these files.
You probably need to flag the issue with GigaDevices (assuming that the relevant CMSIS-Packs file(s) originate from them?) so that they can fix any issues with their files.