Open CorvusPrudens opened 3 years ago
Good catch, should be easy to fix.
I'm down with a generic "don't open .h/.c/.s/.cpp" rule. The file name should still be replaced, but none of the contents need be changed. Can't think of a case where that'd be desirable anyway.
During the copy operation of
helper.py
, the source code can be opened and modified by therewrite_replace
function. This is not ideal of the project name is, say,QSPI
, and a macro is calledDSY_QSPI_BSS
(the QSPI would be replaced by the new project name). There should probably just be a check that excludes files with .cpp or .h extensions.Also, line 122 is mistakenly formatted as if it were a C
printf
.