diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-26 14:33:52 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-26 14:33:52 +0300 |
commit | 93fa897014e5e78df6667211e4dab87625f7b800 (patch) | |
tree | a814aadad2b430925a8cba70a1c1227503edd06f /src/RepRap.cpp | |
parent | 806d32c60b784d29b908e07d9c97d3d81714ff79 (diff) |
Convert Maestro build to CoreN2G
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r-- | src/RepRap.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/RepRap.cpp b/src/RepRap.cpp index aae1a9f5..21f4f303 100644 --- a/src/RepRap.cpp +++ b/src/RepRap.cpp @@ -55,9 +55,9 @@ #if HAS_HIGH_SPEED_SD -# if !SAME5x // if not using CoreN2G -# include "sam/drivers/hsmci/hsmci.h" -# include "conf_sd_mmc.h" +# if !SAME5x +# include <hsmci/hsmci.h> +# include <conf_sd_mmc.h> # endif # if SAME70 @@ -79,6 +79,10 @@ static_assert(CONF_HSMCI_XDMAC_CHANNEL == DmacChanHsmci, "mismatched DMA channel # include <DmacManager.h> #endif +#if SAM4S +# include <wdt/wdt.h> +#endif + // 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"); |