diff --git a/src/Config/Configuration.h b/src/Config/Configuration.h index 70a0ca4843..1d216b4357 100644 --- a/src/Config/Configuration.h +++ b/src/Config/Configuration.h @@ -187,12 +187,8 @@ constexpr size_t OUTPUT_BUFFER_COUNT = 40; // How many OutputBuffer instances constexpr size_t RESERVED_OUTPUT_BUFFERS = 4; // Number of reserved output buffers after long responses, enough to hold a status response #elif SAM4E || SAM4S constexpr size_t OUTPUT_BUFFER_SIZE = 256; // How many bytes does each OutputBuffer hold? -constexpr size_t OUTPUT_BUFFER_COUNT = 24; // How many OutputBuffer instances do we have? +constexpr size_t OUTPUT_BUFFER_COUNT = 26; // How many OutputBuffer instances do we have? constexpr size_t RESERVED_OUTPUT_BUFFERS = 4; // Number of reserved output buffers after long responses, enough to hold a status response -#elif SAM3XA -constexpr size_t OUTPUT_BUFFER_SIZE = 256; // How many bytes does each OutputBuffer hold? -constexpr size_t OUTPUT_BUFFER_COUNT = 16; // How many OutputBuffer instances do we have? -constexpr size_t RESERVED_OUTPUT_BUFFERS = 2; // Number of reserved output buffers after long responses #elif __LPC17xx__ constexpr uint16_t OUTPUT_BUFFER_SIZE = 256; // How many bytes does each OutputBuffer hold? constexpr size_t OUTPUT_BUFFER_COUNT = 16; // How many OutputBuffer instances do we have? diff --git a/src/Hardware/SoftwareReset.h b/src/Hardware/SoftwareReset.h index 3e080611f5..15cfa87856 100644 --- a/src/Hardware/SoftwareReset.h +++ b/src/Hardware/SoftwareReset.h @@ -10,10 +10,6 @@ #include -#if SAM3XA -# include -#endif - // Enumeration describing the reasons for a software reset. // The spin state gets or'ed into this, so keep the lower 5 bits unused. // IMPORTANT! When changing this, also update table SoftwareResetReasonText diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp index ff1e6db6bc..1e6a085569 100644 --- a/src/Platform/Platform.cpp +++ b/src/Platform/Platform.cpp @@ -797,9 +797,7 @@ void Platform::Init() noexcept // If MISO from a MAX31856 board breaks after initialising the MAX31856 then if MISO floats low and reads as all zeros, this looks like a temperature of 0C and no error. // Enable the pullup resistor, with luck this will make it float high instead. -#if SAM3XA - pinMode(APIN_SHARED_SPI_MISO, INPUT_PULLUP); -#elif defined(__LPC17xx__) || SAME5x +#if defined(__LPC17xx__) || SAME5x // nothing to do here #else pinMode(APIN_USART_SSPI_MISO, INPUT_PULLUP); @@ -1504,8 +1502,6 @@ float Platform::GetCpuTemperature() const noexcept const float voltage = (float)adcFilters[CpuTempFilterIndex].GetSum() * (3.3/(float)((1u << AdcBits) * ThermistorAverageReadings)); # if SAM4E || SAM4S return (voltage - 1.44) * (1000.0/4.7) + 27.0 + mcuTemperatureAdjust; // accuracy at 27C is +/-13C -# elif SAM3XA - return (voltage - 0.8) * (1000.0/2.65) + 27.0 + mcuTemperatureAdjust; // accuracy at 27C is +/-45C # elif SAME70 return (voltage - 0.72) * (1000.0/2.33) + 25.0 + mcuTemperatureAdjust; // accuracy at 25C is +/-34C # else diff --git a/src/Platform/RepRap.cpp b/src/Platform/RepRap.cpp index 286e63a89c..ae951908fe 100644 --- a/src/Platform/RepRap.cpp +++ b/src/Platform/RepRap.cpp @@ -2896,8 +2896,6 @@ bool RepRap::CheckFirmwareUpdatePrerequisites(const StringRef& reply, const Stri if (!ok || firstDword != #if SAME5x HSRAM_ADDR + HSRAM_SIZE -#elif SAM3XA - IRAM1_ADDR + IRAM1_SIZE #else IRAM_ADDR + IRAM_SIZE #endif @@ -3036,8 +3034,6 @@ void RepRap::StartIap(const char *filename) noexcept if (topOfStack + firmwareFileLocation.strlen() + 1 <= # if SAME5x HSRAM_ADDR + HSRAM_SIZE -# elif SAM3XA - IRAM1_ADDR + IRAM1_SIZE # else IRAM_ADDR + IRAM_SIZE # endif diff --git a/src/Version.h b/src/Version.h index 474912dbda..8a6cdf11db 100644 --- a/src/Version.h +++ b/src/Version.h @@ -10,7 +10,7 @@ #ifndef VERSION // Note: the complete VERSION string must be in standard version number format and must not contain spaces! This is so that DWC can parse it. -# define MAIN_VERSION "3.4.0+1" +# define MAIN_VERSION "3.4.1rc1" # ifdef USE_CAN0 # define VERSION_SUFFIX "(CAN0)" # else