Prusa-Firmware/cmake
Guðni Már Gilbert 415c0c79d1 Fix FW_COMMIT_HASH compiler warning
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
2023-10-07 21:01:28 +00:00
..
AnyAvrGcc.cmake cmake: Introduce AvrGcc/AnyAvrGcc toolchains, replacing LocalAvrGcc 2022-10-12 11:07:45 +02:00
AvrGcc.cmake cmake: Introduce AvrGcc/AnyAvrGcc toolchains, replacing LocalAvrGcc 2022-10-12 11:07:45 +02:00
Check_final_lang_bin_size.cmake Remove helper file, fix lang ordering, check sizes 2022-07-27 19:40:11 -04:00
Check_lang_size.cmake Add padded size for individual languages 2022-10-06 10:49:36 +02:00
GetGitRevisionDescription.cmake Improve handling for http urls 2023-09-22 18:18:13 -04:00
GetGitRevisionDescription.cmake.in cmake: Update GetGitRevisionDescription module 2023-09-04 08:35:15 -04:00
ProjectVersion.cmake Fix FW_COMMIT_HASH compiler warning 2023-10-07 21:01:28 +00:00
ReproducibleBuild.cmake cmake: Improved reproducibility rules 2022-10-10 14:19:03 +02:00
Utilities.cmake Remove echo in report_size function 2023-01-28 18:53:31 +00:00