On my end, the default length for the abbreviated commit hash is 9 characters. This won't fit into uint32_t (4 bytes). Instead change FW_COMMIT_HASH into a string and create preprocessor symbol for the string length such that it's known at compile time. If the string should be longer or shorter then only FW_COMMIT_HASH_LENGTH needs to be configured on the CMake side |
||
|---|---|---|
| .. | ||
| AnyAvrGcc.cmake | ||
| AvrGcc.cmake | ||
| Check_final_lang_bin_size.cmake | ||
| Check_lang_size.cmake | ||
| GetGitRevisionDescription.cmake | ||
| GetGitRevisionDescription.cmake.in | ||
| ProjectVersion.cmake | ||
| ReproducibleBuild.cmake | ||
| Utilities.cmake | ||