Closed jonahgraham closed 3 years ago
It is a template error. This bug was introduced when I reworked the templates.
Fixed.
The problem was caused by a failed rename of the file.
For historical reasons, the macOS filesystem is in fact case insensitive, although the case is preserved and shown properly; for unknown reasons, Git checks the case insensitive names, and simply renaming a file with a different case does not make it dirty, so it is not committed.
Reproduced on 2020-12 M3 EPP on Linux:
If I create a new STM32F7xx C/C++ Project with default settings I get a template error at the end of the wizard. I am not 100% sure this is a Embed-CDT bug, it may be a CDT one in the template handler code?
It looks like there is a file case issue, the error says
timer-c.h
but the file isTimer-c.h
:https://github.com/eclipse-embed-cdt/eclipse-plugins/blob/9c760c890cb9db1dd30c49e9548bd503c1bbd55b/plugins%2Forg.eclipse.embedcdt.templates.core%2Ftemplates%2Fcommon%2Finclude%2FTimer-c.h#L1
First page of wizard settings - the rest I choose defaults:
Error message:
Info from error log (seems to be the same as the message, except missing main bit about the timer):