diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
commit | ad9f1d3e8e3585d286a9042b0e071a15f477825e (patch) | |
tree | 875bd94696c05814c495cdcb1faff67f7fe36486 /src/Pccb | |
parent | 4248a4e898a846c3fbfdcc2d6c2177f3b37e55e2 (diff) |
Various
Support fan tachos on expansion boards
Fix SHA1 value display bug
Add DotStar support to Duet 3 v0.6
Support CRC32 checking of uploaded files
Include spindle speeds in restore points
Reduced memory usage in Duet 2 builds
Minor improvements to thermistor handling
FansManager class is no longer attached to Platform
Removed duplicate CRC32 functionality
Fixed W5500 network code startup issue
Diffstat (limited to 'src/Pccb')
-rw-r--r-- | src/Pccb/Pins_Pccb.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Pccb/Pins_Pccb.h b/src/Pccb/Pins_Pccb.h index 45384dc7..0b24db31 100644 --- a/src/Pccb/Pins_Pccb.h +++ b/src/Pccb/Pins_Pccb.h @@ -178,7 +178,8 @@ constexpr float EXT_BETA = 4388.0; constexpr float EXT_SHC = 0.0; // Thermistor series resistor value in Ohms -constexpr float THERMISTOR_SERIES_RS = 2200.0; +constexpr float DefaultThermistorSeriesR = 2200.0; +constexpr float MinVrefLoadR = DefaultThermistorSeriesR / 2; // there are 2 temperature sensing channels // Number of SPI temperature sensors to support constexpr size_t MaxSpiTempSensors = 1; //TODO which SPI channels does PCCB route to the DueX? @@ -201,12 +202,14 @@ constexpr Pin DiagPin = NoPin; // Cooling fans constexpr size_t NumTotalFans = 7; -// DotStar LED control (USART0 is SharedSPI, +// DotStar LED control (USART0 is SharedSPI so we use USART1) +#define DOTSTAR_USES_USART 1 + Usart * const DotStarUsart = USART1; -constexpr uint32_t DotStarUsartId = ID_USART1; constexpr Pin DotStarMosiPin = PortAPin(22); constexpr Pin DotStarSclkPin = PortAPin(23); -constexpr IRQn DotStarUsartIRQn = USART1_IRQn; +constexpr uint32_t DotStarClockId = ID_USART1; +constexpr IRQn DotStarIRQn = USART1_IRQn; const uint32_t DotStarSpiClockFrequency = 100000; // try sending at 100kHz // SD cards |