Merge upstream changes from Marlin 2.1.2
This commit is contained in:
@@ -63,26 +63,21 @@
|
||||
* SPI3 is unusable due to pin 43 (PB4) and NRST tie-together :(, but
|
||||
* leave the definitions so as not to clutter things up. This is only
|
||||
* OK since RET6 Ed. is specifically advertised as a beta board. */
|
||||
#define BOARD_NR_SPI 3
|
||||
#define BOARD_SPI1_NSS_PIN PA4
|
||||
#define BOARD_SPI1_SCK_PIN PA5
|
||||
#define BOARD_SPI1_MISO_PIN PA6
|
||||
#define BOARD_SPI1_MOSI_PIN PA7
|
||||
|
||||
|
||||
|
||||
#define BOARD_SPI2_NSS_PIN PB12
|
||||
#define BOARD_SPI2_SCK_PIN PB13
|
||||
#define BOARD_SPI2_MISO_PIN PB14
|
||||
#define BOARD_SPI2_MOSI_PIN PB15
|
||||
|
||||
|
||||
#define BOARD_SPI3_NSS_PIN PA15
|
||||
#define BOARD_SPI3_SCK_PIN PB3
|
||||
#define BOARD_SPI3_MISO_PIN PB4
|
||||
#define BOARD_SPI3_MOSI_PIN PB5
|
||||
|
||||
|
||||
/* GPIO A to E = 5 * 16 - BOOT1 not used = 79*/
|
||||
#define BOARD_NR_GPIO_PINS 51
|
||||
/* Note: NOT 19. The missing one is D38 a.k.a. BOARD_BUTTON_PIN, which
|
||||
|
@@ -144,7 +144,7 @@ static void setup_clocks(void) {
|
||||
* present. If no bootloader is present, the user NVIC usually starts
|
||||
* at the Flash base address, 0x08000000.
|
||||
*/
|
||||
#if defined(BOOTLOADER_maple)
|
||||
#ifdef BOOTLOADER_maple
|
||||
#define USER_ADDR_ROM 0x08002000
|
||||
#else
|
||||
#define USER_ADDR_ROM 0x08000000
|
||||
|
Reference in New Issue
Block a user