Currently when using uppercase letters for specifying the maxim target an unrelated error is thrown.
Allow users to use both lower case and uppercase letters when specifying the target.
For maxim targets we already have uppercase and lowercase variables initialized with TARGET_UCASE, TARGET_LCASE so they can be directly used for this feature.
With this patch both versions work, for example:
make TARGET=max32650make TARGET=MAX32650
PR Type
[ ] Bug fix (change that fixes an issue)
[x] New feature (change that adds new functionality)
[ ] Breaking change (has dependencies in other repos or will cause CI to fail)
Pull Request Description
This is a small suggestion for improvement.
Currently when using uppercase letters for specifying the maxim target an unrelated error is thrown.
Allow users to use both lower case and uppercase letters when specifying the target.
For maxim targets we already have uppercase and lowercase variables initialized with
TARGET_UCASE
,TARGET_LCASE
so they can be directly used for this feature.With this patch both versions work, for example:
make TARGET=max32650
make TARGET=MAX32650
PR Type
PR Checklist