Skip to content

Commit 836c8ce

Browse files
committed
🎨 Detab some build files
1 parent 27b8288 commit 836c8ce

File tree

33 files changed

+26834
-26819
lines changed

33 files changed

+26834
-26819
lines changed

buildroot/share/PlatformIO/boards/marlin_FYSETC_CHEETAH_V20.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"dfu",
5656
"jlink"
5757
],
58-
"offset_address": "0x8008000",
58+
"offset_address": "0x8008000",
5959
"require_upload_port": true,
6060
"use_1200bps_touch": false,
6161
"wait_for_upload_port": false

buildroot/share/PlatformIO/variants/MARLIN_ARCHIM/variant.h

+19-20
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
*----------------------------------------------------------------------------*/
2525

2626
/** Frequency of the board main oscillator */
27-
#define VARIANT_MAINOSC 12000000
27+
#define VARIANT_MAINOSC 12000000
2828

2929
/** Master clock frequency */
30-
#define VARIANT_MCK 84000000
30+
#define VARIANT_MCK 84000000
3131

3232
/*----------------------------------------------------------------------------
3333
* Headers
@@ -119,13 +119,13 @@ extern "C"{
119119
#define BOARD_SPI_DEFAULT_SS BOARD_SPI_SS3
120120

121121
#define BOARD_PIN_TO_SPI_PIN(x) \
122-
(x==BOARD_SPI_SS0 ? PIN_SPI_SS0 : \
123-
(x==BOARD_SPI_SS1 ? PIN_SPI_SS1 : \
124-
(x==BOARD_SPI_SS2 ? PIN_SPI_SS2 : PIN_SPI_SS3 )))
122+
(x==BOARD_SPI_SS0 ? PIN_SPI_SS0 : \
123+
(x==BOARD_SPI_SS1 ? PIN_SPI_SS1 : \
124+
(x==BOARD_SPI_SS2 ? PIN_SPI_SS2 : PIN_SPI_SS3 )))
125125
#define BOARD_PIN_TO_SPI_CHANNEL(x) \
126-
(x==BOARD_SPI_SS0 ? 0 : \
127-
(x==BOARD_SPI_SS1 ? 1 : \
128-
(x==BOARD_SPI_SS2 ? 2 : 3)))
126+
(x==BOARD_SPI_SS0 ? 0 : \
127+
(x==BOARD_SPI_SS1 ? 1 : \
128+
(x==BOARD_SPI_SS2 ? 2 : 3)))
129129

130130
static const uint8_t SS = BOARD_SPI_SS0;
131131
static const uint8_t SS1 = BOARD_SPI_SS1;
@@ -195,7 +195,7 @@ static const uint8_t DAC0 = 66;
195195
static const uint8_t DAC1 = 67;
196196
static const uint8_t CANRX = 68;
197197
static const uint8_t CANTX = 69;
198-
#define ADC_RESOLUTION 12
198+
#define ADC_RESOLUTION 12
199199

200200
/*
201201
* Complementary CAN pins
@@ -212,21 +212,21 @@ static const uint8_t CAN1TX = 89;
212212
/*
213213
* DACC
214214
*/
215-
#define DACC_INTERFACE DACC
216-
#define DACC_INTERFACE_ID ID_DACC
217-
#define DACC_RESOLUTION 12
215+
#define DACC_INTERFACE DACC
216+
#define DACC_INTERFACE_ID ID_DACC
217+
#define DACC_RESOLUTION 12
218218
#define DACC_ISR_HANDLER DACC_Handler
219219
#define DACC_ISR_ID DACC_IRQn
220220

221221
/*
222222
* PWM
223223
*/
224-
#define PWM_INTERFACE PWM
225-
#define PWM_INTERFACE_ID ID_PWM
226-
#define PWM_FREQUENCY 31000
227-
#define PWM_MAX_DUTY_CYCLE 255
228-
#define PWM_MIN_DUTY_CYCLE 0
229-
#define PWM_RESOLUTION 8
224+
#define PWM_INTERFACE PWM
225+
#define PWM_INTERFACE_ID ID_PWM
226+
#define PWM_FREQUENCY 31000
227+
#define PWM_MAX_DUTY_CYCLE 255
228+
#define PWM_MIN_DUTY_CYCLE 0
229+
#define PWM_RESOLUTION 8
230230

231231
/*
232232
* TC
@@ -236,7 +236,7 @@ static const uint8_t CAN1TX = 89;
236236
#define TC_FREQUENCY 100000
237237
#define TC_MAX_DUTY_CYCLE 255
238238
#define TC_MIN_DUTY_CYCLE 0
239-
#define TC_RESOLUTION 8
239+
#define TC_RESOLUTION 8
240240

241241
#ifdef __cplusplus
242242
}
@@ -281,4 +281,3 @@ extern USARTClass Serial3;
281281
#define SERIAL_PORT_HARDWARE3 Serial3
282282

283283
#endif /* _VARIANT_ARDUINO_DUE_X_ */
284-

buildroot/share/PlatformIO/variants/MARLIN_ARTILLERY_RUBY/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ extern "C" {
121121
#ifdef __cplusplus
122122
} // extern "C"
123123
#endif
124+
124125
/*----------------------------------------------------------------------------
125126
* Arduino objects - C++ only
126127
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ extern "C" {
272272
#ifdef __cplusplus
273273
} // extern "C"
274274
#endif
275+
275276
/*----------------------------------------------------------------------------
276277
* Arduino objects - C++ only
277278
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_E3_RRF/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ extern "C" {
267267
#ifdef __cplusplus
268268
} // extern "C"
269269
#endif
270+
270271
/*----------------------------------------------------------------------------
271272
* Arduino objects - C++ only
272273
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_GTR_V1/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ extern "C" {
295295
#ifdef __cplusplus
296296
} // extern "C"
297297
#endif
298+
298299
/*----------------------------------------------------------------------------
299300
* Arduino objects - C++ only
300301
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_SKR_PRO_11/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ extern "C" {
295295
#ifdef __cplusplus
296296
} // extern "C"
297297
#endif
298+
298299
/*----------------------------------------------------------------------------
299300
* Arduino objects - C++ only
300301
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_BTT_SKR_SE_BX/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ extern "C" {
195195
#ifdef __cplusplus
196196
} // extern "C"
197197
#endif
198+
198199
/*----------------------------------------------------------------------------
199200
* Arduino objects - C++ only
200201
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_CREALITY_STM32F401RC/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ extern "C" {
123123
#ifdef __cplusplus
124124
} // extern "C"
125125
#endif
126+
126127
/*----------------------------------------------------------------------------
127128
* Arduino objects - C++ only
128129
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F103Rx/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ extern "C" {
148148
#ifdef __cplusplus
149149
} // extern "C"
150150
#endif
151+
151152
/*----------------------------------------------------------------------------
152153
* Arduino objects - C++ only
153154
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F103VE_LONGER/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ extern "C" {
148148
#ifdef __cplusplus
149149
} // extern "C"
150150
#endif
151+
151152
/*----------------------------------------------------------------------------
152153
* Arduino objects - C++ only
153154
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F103Vx/ldscript.ld

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
** File : LinkerScript.ld
66
**
7-
** Author : Auto-generated by STM32CubeIDE
7+
** Author : Auto-generated by STM32CubeIDE
88
**
99
** Abstract : Linker script for STM32F103V(8/B/C/E/F/GTx Device from STM32F1 series
1010
** 64/128/256/512/768/1024Kbytes FLASH
@@ -54,15 +54,15 @@
5454
ENTRY(Reset_Handler)
5555

5656
/* Highest address of the user mode stack */
57-
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of "RAM" Ram type memory */
57+
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of "RAM" Ram type memory */
5858
_Min_Heap_Size = 0x200; /* required amount of heap */
5959
_Min_Stack_Size = 0x400; /* required amount of stack */
6060

6161
/* Memories definition */
6262
MEMORY
6363
{
64-
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
65-
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
64+
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
65+
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
6666
}
6767

6868
/* Sections */
@@ -103,9 +103,9 @@ SECTIONS
103103
} >FLASH
104104

105105
.ARM.extab : {
106-
. = ALIGN(4);
107-
*(.ARM.extab* .gnu.linkonce.armextab.*)
108-
. = ALIGN(4);
106+
. = ALIGN(4);
107+
*(.ARM.extab* .gnu.linkonce.armextab.*)
108+
. = ALIGN(4);
109109
} >FLASH
110110
.ARM : {
111111
. = ALIGN(4);

buildroot/share/PlatformIO/variants/MARLIN_F103Vx/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ extern "C" {
158158
#ifdef __cplusplus
159159
} // extern "C"
160160
#endif
161+
161162
/*----------------------------------------------------------------------------
162163
* Arduino objects - C++ only
163164
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F103Zx/ldscript.ld

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/*
22
******************************************************************************
33
**
4-
54
** File : LinkerScript.ld
65
**
7-
** Author : Auto-generated by STM32CubeIDE
6+
** Author : Auto-generated by STM32CubeIDE
87
**
98
** Abstract : Linker script for STM32F103Z(C/D/E/G/GTx Device from STM32F1 series
109
** 256/386/512K/786/1024bytes FLASH
@@ -54,15 +53,15 @@
5453
ENTRY(Reset_Handler)
5554

5655
/* Highest address of the user mode stack */
57-
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of "RAM" Ram type memory */
56+
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of "RAM" Ram type memory */
5857
_Min_Heap_Size = 0x200; /* required amount of heap */
5958
_Min_Stack_Size = 0x400; /* required amount of stack */
6059

6160
/* Memories definition */
6261
MEMORY
6362
{
6463
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
65-
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
64+
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
6665
}
6766

6867
/* Sections */
@@ -103,9 +102,9 @@ SECTIONS
103102
} >FLASH
104103

105104
.ARM.extab : {
106-
. = ALIGN(4);
107-
*(.ARM.extab* .gnu.linkonce.armextab.*)
108-
. = ALIGN(4);
105+
. = ALIGN(4);
106+
*(.ARM.extab* .gnu.linkonce.armextab.*)
107+
. = ALIGN(4);
109108
} >FLASH
110109
.ARM : {
111110
. = ALIGN(4);

buildroot/share/PlatformIO/variants/MARLIN_F103Zx/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ extern "C" {
205205
#ifdef __cplusplus
206206
} // extern "C"
207207
#endif
208+
208209
/*----------------------------------------------------------------------------
209210
* Arduino objects - C++ only
210211
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F401RC/ldscript.ld

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
ENTRY(Reset_Handler)
2929

3030
/* Highest address of the user mode stack */
31-
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */
31+
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */
3232

33-
_Min_Heap_Size = 0x200; /* required amount of heap */
34-
_Min_Stack_Size = 0x400; /* required amount of stack */
33+
_Min_Heap_Size = 0x200; /* required amount of heap */
34+
_Min_Stack_Size = 0x400; /* required amount of stack */
3535

3636
/* Memories definition */
3737
MEMORY

buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ extern "C" {
326326
#ifdef __cplusplus
327327
} // extern "C"
328328
#endif
329+
329330
/*----------------------------------------------------------------------------
330331
* Arduino objects - C++ only
331332
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F446VE/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ extern "C" {
159159
#ifdef __cplusplus
160160
} // extern "C"
161161
#endif
162+
162163
/*----------------------------------------------------------------------------
163164
* Arduino objects - C++ only
164165
*----------------------------------------------------------------------------*/

buildroot/share/PlatformIO/variants/MARLIN_F4x7Vx/variant.h

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ extern "C" {
176176
#ifdef __cplusplus
177177
} // extern "C"
178178
#endif
179+
179180
/*----------------------------------------------------------------------------
180181
* Arduino objects - C++ only
181182
*----------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)