Browse Source

Clean up trailing whitespace

pull/1/head
Scott Lahteine 5 years ago
parent
commit
a2cda631d9
  1. 2
      Marlin/src/module/stepper.h
  2. 4
      Marlin/src/pins/esp32/pins_MRR_ESPE.h
  3. 2
      Marlin/src/pins/stm32/pins_BTT_BTT002_V1_0.h
  4. 2
      Marlin/src/pins/stm32/pins_MKS_ROBIN_MINI.h
  5. 16
      buildroot/share/PlatformIO/variants/FLY_F407ZG/ldscript.ld
  6. 8
      buildroot/share/PlatformIO/variants/FLY_F407ZG/variant.h

2
Marlin/src/module/stepper.h

@ -67,7 +67,7 @@
#ifdef CPU_32_BIT #ifdef CPU_32_BIT
/** /**
* Duration of START_TIMED_PULSE * Duration of START_TIMED_PULSE
* *
* ...as measured on an LPC1768 with a scope and converted to cycles. * ...as measured on an LPC1768 with a scope and converted to cycles.
* Not applicable to other 32-bit processors, but as long as others * Not applicable to other 32-bit processors, but as long as others
* take longer, pulses will be longer. For example the SKR Pro * take longer, pulses will be longer. For example the SKR Pro

4
Marlin/src/pins/esp32/pins_MRR_ESPE.h

@ -107,8 +107,8 @@
#define HEATER_BED_PIN 144 // 4 #define HEATER_BED_PIN 144 // 4
#define CONTROLLER_FAN_PIN 147 #define CONTROLLER_FAN_PIN 147
//#define E0_AUTO_FAN_PIN 148 // need to update Configuration_adv.h @section extruder //#define E0_AUTO_FAN_PIN 148 // need to update Configuration_adv.h @section extruder
//#define E1_AUTO_FAN_PIN 149 // need to update Configuration_adv.h @section extruder //#define E1_AUTO_FAN_PIN 149 // need to update Configuration_adv.h @section extruder
#define FAN1_PIN 149 #define FAN1_PIN 149
// //

2
Marlin/src/pins/stm32/pins_BTT_BTT002_V1_0.h

@ -155,7 +155,7 @@
#define FAN_PIN PB9 // Fan0 #define FAN_PIN PB9 // Fan0
#define FAN1_PIN PB8 // Fan1 #define FAN1_PIN PB8 // Fan1
// HAL SPI1 pins // HAL SPI1 pins
#define CUSTOM_SPI_PINS #define CUSTOM_SPI_PINS
#if ENABLED(CUSTOM_SPI_PINS) #if ENABLED(CUSTOM_SPI_PINS)
#define SCK_PIN PA5 // SPI1 SCLK #define SCK_PIN PA5 // SPI1 SCLK

2
Marlin/src/pins/stm32/pins_MKS_ROBIN_MINI.h

@ -42,7 +42,7 @@
// 2K in a AT24C16N // 2K in a AT24C16N
#define EEPROM_PAGE_SIZE (uint16)0x800 // 2048 #define EEPROM_PAGE_SIZE (uint16)0x800 // 2048
#define EEPROM_START_ADDRESS ((uint32)(0x8000000 + 512 * 1024 - 2 * EEPROM_PAGE_SIZE)) #define EEPROM_START_ADDRESS ((uint32)(0x8000000 + 512 * 1024 - 2 * EEPROM_PAGE_SIZE))
#define E2END (EEPROM_PAGE_SIZE - 1) #define E2END (EEPROM_PAGE_SIZE - 1)
// //
// Note: MKS Robin mini board is using SPI2 interface. // Note: MKS Robin mini board is using SPI2 interface.

16
buildroot/share/PlatformIO/variants/FLY_F407ZG/ldscript.ld

@ -134,7 +134,7 @@ SECTIONS
_sidata = LOADADDR(.data); _sidata = LOADADDR(.data);
/* Initialized data sections goes into RAM, load LMA copy after code */ /* Initialized data sections goes into RAM, load LMA copy after code */
.data : .data :
{ {
. = ALIGN(4); . = ALIGN(4);
_sdata = .; /* create a global symbol at data start */ _sdata = .; /* create a global symbol at data start */
@ -147,11 +147,11 @@ SECTIONS
_siccmram = LOADADDR(.ccmram); _siccmram = LOADADDR(.ccmram);
/* CCM-RAM section /* CCM-RAM section
* *
* IMPORTANT NOTE! * IMPORTANT NOTE!
* If initialized variables will be placed in this section, * If initialized variables will be placed in this section,
* the startup code needs to be modified to copy the init-values. * the startup code needs to be modified to copy the init-values.
*/ */
.ccmram : .ccmram :
{ {
@ -159,12 +159,12 @@ SECTIONS
_sccmram = .; /* create a global symbol at ccmram start */ _sccmram = .; /* create a global symbol at ccmram start */
*(.ccmram) *(.ccmram)
*(.ccmram*) *(.ccmram*)
. = ALIGN(4); . = ALIGN(4);
_eccmram = .; /* create a global symbol at ccmram end */ _eccmram = .; /* create a global symbol at ccmram end */
} >CCMRAM AT> FLASH } >CCMRAM AT> FLASH
/* Uninitialized data section */ /* Uninitialized data section */
. = ALIGN(4); . = ALIGN(4);
.bss : .bss :
@ -191,7 +191,7 @@ SECTIONS
. = . + _Min_Stack_Size; . = . + _Min_Stack_Size;
. = ALIGN(4); . = ALIGN(4);
} >RAM } >RAM
/* Remove information from the standard libraries */ /* Remove information from the standard libraries */
/DISCARD/ : /DISCARD/ :

8
buildroot/share/PlatformIO/variants/FLY_F407ZG/variant.h

@ -163,15 +163,15 @@ extern "C" {
// Below SPI and I2C definitions already done in the core // Below SPI and I2C definitions already done in the core
// Could be redefined here if differs from the default one // Could be redefined here if differs from the default one
// SPI Definitions // SPI Definitions
#define PIN_SPI_SS PF11 #define PIN_SPI_SS PF11
#define PIN_SPI_MOSI PB15 #define PIN_SPI_MOSI PB15
#define PIN_SPI_MISO PB14 #define PIN_SPI_MISO PB14
#define PIN_SPI_SCK PB13 #define PIN_SPI_SCK PB13
//max6675 //max6675
//#define PIN_SPI_SS PA4 //#define PIN_SPI_SS PA4
//#define PIN_SPI_SCK PA5 //#define PIN_SPI_SCK PA5
//#define PIN_SPI_MISO PA6 //#define PIN_SPI_MISO PA6
//#define PIN_SPI_MOSI PA7 //#define PIN_SPI_MOSI PA7

Loading…
Cancel
Save