Commit Graph

18 Commits (3aed994b9c5baab18a8eaab29deb960cc6c6d2d9)

Author SHA1 Message Date
3d-gussner fb65f4e563
Update ProjectVersion.cmake 2023-09-22 14:19:00 +02:00
3d-gussner 09bacabb05 Fix cmake
When downloaded as zip the build failed before.
2023-09-18 14:51:05 +02:00
Yuri D'Elia 6a0f49859e 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.

We have no use for this on the MMU, but it doesn't hurt to follow what
we do on the MK3.
2023-08-17 14:19:59 +02:00
Yuri D'Elia a0c622ca99 cmake: Uniform Avr toolchain build with MK3
- Also set AR/RANLIB in the toolchain
- Fetch GCC version from bootstrap
2022-10-17 17:26:08 +02:00
Yuri D'Elia d287ab2357 cmake: Full reproducibility support 2022-10-10 15:19:58 +02:00
VintagePC fc5e8a6ae0 Make CMake the source of truth for versioning 2022-08-11 10:26:42 +02:00
Yuri D'Elia 392298c3da Uniform gcc-avr => avr-gcc for consistency 2022-07-27 17:04:52 +02:00
Yuri D'Elia 911b1c5e69 HexConcat: Silence a cmake 3.22 warning 2022-07-27 17:04:52 +02:00
Yuri D'Elia 05aba7141b Add the AvrGcc toolchain to lock gcc version
Substitute documentation to reference AvrGcc by default, which locks gcc
to the dependency folder.

AnyAvrGcc is inteded to use any system/external gcc version (as the name
implies).
2022-07-27 17:04:52 +02:00
Yuri D'Elia 534347151a Remove unused ARM cmakefiles 2022-07-27 17:04:52 +02:00
VintagePC 1bc5fdaec4 Fix filename passing to hex modifier 2022-07-27 17:04:52 +02:00
3d-gussner a241f55513 Update vscode
Remove fixed version in AnyAvrGcc.cmake
Update build.py to use current avr-gcc version defined in bootstrap.py
Attempt to change MM-control-01.hex to MMU2SR-<project version> like in buddy releases
2022-07-27 17:04:52 +02:00
D.R.racer 858cd0349b Upgrade build system to gcc 7.3
based on PR#185 and https://github.com/wavexx/Prusa-Firmware-MMU-Private/pull/1
2022-07-27 17:04:52 +02:00
VintagePC 7418e3643e Add cmake code to prepend the Prusa Magic™ 2022-07-25 09:09:22 +02:00
Yuri D'Elia 4d1a26aeea Define missing definition of CMAKE_OBJDUMP 2021-06-15 06:53:03 +02:00
Yuri D'Elia f30c009304 Use AVR_TOOLCHAIN_DIR correctly
Probably copy/paste typos.
2021-06-14 07:36:17 +02:00
Alan Dragomirecký ac1dd05097 Initial support for AnyAvrGcc toolchain 2021-04-19 07:03:47 +02:00
D.R.racer 257d0ec340 Prepare parts of the build system
extracted and slightly modified from Buddy-FW, still doesn't work
2021-04-19 07:03:47 +02:00