Skip to content

[packchk]: Warning if <debugvars> section contains #2455

Description

@jreineckearm

Describe The Problem To Be Solved

Related to Open-CMSIS-Pack/Open-CMSIS-Pack-Spec#392

Packchk should write a warning if the contents of the <debugvars> element contains variable declarations where variable names carry a __-prefix. As per above update to the debug description specification, such names should not be used. This is to avoid name clashes with local variable declarations in default sequence implementations.

(Optional): Suggest A Solution

There used to be debug description examples making use of such debugvars. And such names are also found in public packs. Hence, to enable a smooth transition away from such names, we should not rigidly enforce it by an error for the foreseeable future. But rather highlight as a warning.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions