You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After finally building with IAR I noticed IAR automatically replaced && with && in the ewp file and after that it works again. So not sure if this is something that can be fixed on your side. Possibly the error could tell the user to replace && with && or the auto conversion is also applied.
Hi @mfruendtxylem,
Did you manually add the pre-build to the ewp-file or did you add it using the Embedded Workbench. We typically discourage users from manually editing the ewp-file as we cannot guarantee that the file will be readable by the IDE and/or VsCode.
I'm mostly sure it was through EW, but an older version at the time, though we also used https://github.com/IARSystems/project-migration-tools at the time which messed with the && too (I was told it's fixed now). So it mostly confused me that the IAR compiler did automatic correction while the VSC extension did not.
So, we do some minor parsing that differs between the Embedded Workbench and VsCode which will be removed in the next release. So most likely, this will be fixed in the next release!
Describe the bug:
When I load a project with multiple prebuild directives like
<prebuild>python "$PROJ_DIR$\CommonCode\version_gen.py" chdr -o "$PROJ_DIR$\CommonCode\version.h" --dirty && $PROJ_DIR$\Tools\AStyle\astyle.bat</prebuild>
I get the following error
Could not parse project file 'Project.ewp': Error: Invalid character in entity name
Line: 6577
Column: 124
Char: &
Loading the project in IAR works fine.
To Reproduce:
Have multiple prebuild directives, connected by && in the project.
Expected behavior:
The project should load, just like in IAR
Actual behavior:
Loading is aborted
Environment:
The text was updated successfully, but these errors were encountered: