diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-26 11:59:39 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-26 11:59:39 +0300 |
commit | f8bc851baed276ab2ea2e8b91bc2dfe99653d8cb (patch) | |
tree | 077ea93a163bbb13fe5ed34e43b325f85063d8e4 /src/DuetNG | |
parent | cfb3fca8b8cf43d74bbf186625d63ae637af7bd5 (diff) |
Fix Duet2_SBC configuration
Add SAM4S hardware directory (just a copy of SAM4E for now)
Move contents of AppUrgentInit() into AppInit()
Diffstat (limited to 'src/DuetNG')
-rw-r--r-- | src/DuetNG/Pins_DuetNG.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h index 464c14dd..78e10e09 100644 --- a/src/DuetNG/Pins_DuetNG.h +++ b/src/DuetNG/Pins_DuetNG.h @@ -552,6 +552,7 @@ constexpr Pin APIN_SBC_SPI_MOSI = SPI_MOSI; constexpr Pin APIN_SBC_SPI_MISO = SPI_MISO; constexpr Pin APIN_SBC_SPI_SCK = SPI_SCK; constexpr Pin APIN_SBC_SPI_SS0 = SPI_SS0; +constexpr GpioPinFunction SBCPinPeriphMode = SPIPeriphMode; constexpr Pin SbcTfrReadyPin = PortDPin(31); |