diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-10-16 13:54:45 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-10-16 13:54:45 +0300 |
commit | fde4a6db6b73878758f02b7e5be4b462ae959e30 (patch) | |
tree | 3173c1050b6975569f15f9f55e44263f0f1cdaee /src/RepRap.cpp | |
parent | 4038ce68de6b560eaab7c08264e1bc93936a3425 (diff) |
Added version string for CoreN2G
Also implemented M122 P1007 on expansion boards
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r-- | src/RepRap.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/RepRap.cpp b/src/RepRap.cpp index f4ab605d..ae7884f8 100644 --- a/src/RepRap.cpp +++ b/src/RepRap.cpp @@ -78,6 +78,9 @@ static_assert(CONF_HSMCI_XDMAC_CHANNEL == DmacChanHsmci, "mismatched DMA channel // We call vTaskNotifyGiveFromISR from various interrupts, so the following must be true static_assert(configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY <= NvicPriorityHSMCI, "configMAX_SYSCALL_INTERRUPT_PRIORITY is set too high"); +// Builds that use CoreN2G now need a version string. Eventually, all builds of RRF3 will use CoreN2G. +extern const char VersionText[] = FIRMWARE_NAME " version " VERSION; + #if HAS_HIGH_SPEED_SD && !SAME5x // SAME5x uses CoreN2G which makes its own RTOS calls static TaskHandle hsmciTask = nullptr; // the task that is waiting for a HSMCI command to complete @@ -507,7 +510,7 @@ void RepRap::Init() noexcept usingLinuxInterface = true; #endif - platform->MessageF(UsbMessage, "\n%s Version %s dated %s\n", FIRMWARE_NAME, VERSION, DATE); + platform->MessageF(UsbMessage, "%s\n", VersionText); #if HAS_MASS_STORAGE // Try to mount the first SD card |