Commit Graph

15 Commits

Author SHA1 Message Date
3d-gussner 53b8cea33d Update cmake from MK3 branch 2023-10-12 09:37:18 +02:00
Yuri D'Elia cfc8ffe8a3 cmake: Set source epoch from the HEAD commit
Allow to set the source epoch of the build with
PROJECT_VERSION_TIMESTAMP.

When unset fetch the commit timestamp of the current HEAD automatically
instead of leaving the source as 0. This fixes the firmware DATE
information in the support menu.
2023-08-17 07:46:47 +02:00
Guðni Már Gilbert f9b779e274 Remove echo in report_size function
The output is separate by two lines anyway.
2023-01-28 18:53:31 +00:00
Guðni Már Gilbert d0c3d3c5fd Fix an issue with using echo on Windows
Use built-in echo command in cmake instead to
ensure behavior is the same between different platforms
2023-01-28 16:43:00 +00:00
Yuri D'Elia 036a04938d cmake: Introduce AvrGcc/AnyAvrGcc toolchains, replacing LocalAvrGcc
- AvrGcc: use avr-gcc from dependencies
- AnyAvrGcc: use system's avr-gcc for testing
2022-10-12 11:07:45 +02:00
Yuri D'Elia 8a00179528 cmake: Improved reproducibility rules
Rewrite cmake rules for reproducibility and move them inside a separate
module.

The new rules are cleaner and can operate on multi-directory projects
transparently.
2022-10-10 14:19:03 +02:00
3d-gussner dd389d018b Add padded size for individual languages 2022-10-06 10:49:36 +02:00
Yuri D'Elia 007d90bc75 cmake: Normalize incoming dependency paths 2022-10-04 12:38:40 +02:00
Yuri D'Elia 47f89bb418 cmake: Do not set PROJECT_VERSION in PARENT_SCOPE 2022-10-02 20:32:32 +02:00
VintagePC ea920536cb Add version info to filenames 2022-08-05 21:03:41 -04:00
VintagePC 5f12c7f10b * Synchronize flags with arduino
* Use cmake -E cat for merge
* Set AR/ranlib to GCC flavour
2022-08-05 16:54:07 -04:00
VintagePC 5bc936d4f5 Remove helper file, fix lang ordering, check sizes 2022-07-27 19:40:11 -04:00
VintagePC 9001d98061 Get version/dir from bootstrap, add pyelftools 2022-07-27 17:58:58 -04:00
3d-gussner e187538973 Update bootstrap 2022-07-27 15:01:07 +02:00
VintagePC f03e3c40ee WIP/proof-of-concept 2022-07-26 19:33:09 -04:00