diff options
author | David Crocker <dcrocker@eschertech.com> | 2017-05-28 20:11:09 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2017-05-28 20:11:26 +0300 |
commit | 6d41bf935c54051a97cff1c69d31ef8678292eea (patch) | |
tree | 0b6fc091873f1ef07b815063caff127edd800148 /src/RepRapFirmware.h | |
parent | 87fc280c00216f813a2da285cc2efeb71c758796 (diff) |
Verison 1.19 beta 2
Improved reliability of new interface to WiFi module
Added options to control thermostatic fans based on CPU and driver
temperatures
Support M204 S parameter for backwards compatibility
Fixes to Scara kinematics
Support additional axes on delta printers
Added extra info to M122 repoirt
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r-- | src/RepRapFirmware.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/RepRapFirmware.h b/src/RepRapFirmware.h index 361dfa8e..82c679fa 100644 --- a/src/RepRapFirmware.h +++ b/src/RepRapFirmware.h @@ -106,4 +106,21 @@ const float RadiansToDegrees = 180.0/PI; typedef uint32_t FilePosition; const FilePosition noFilePosition = 0xFFFFFFFF; +// Interrupt priorities - must be chosen with care! 0 is the highest priority, 15 is the lowest. +#if SAM4S || SAM4E +const uint32_t NvicPriorityWatchdog = 0; // watchdog has highest priority (SAM4 only) +#endif + +const uint32_t NvicPriorityUart = 1; // UART is next to avoid character loss +const uint32_t NvicPrioritySystick = 2; // systick kicks the watchdog and starts the ADC conversions, so must be quite high +const uint32_t NvicPriorityStep = 3; // step interrupt is next highest, it can preempt most other interrupts + +#if !defined(DUET_NG) && !defined(__RADDS__) +const uint32_t NvicPriorityNetworkTick = 4; // priority for network tick interrupt +const uint32_t NvicPriorityEthernet = 4; // priority for Ethernet interface +#endif + +const uint32_t NvicPrioritySpi = 5; // SPI used for network transfers on Duet WiFi/Duet vEthernet +const uint32_t NvicPriorityPins = 6; // priority for GPIO pin interrupts + #endif |