Skip to content

Commit 56e2928

Browse files
committed
[Style] Removed trailing spaces.
1 parent c2f7128 commit 56e2928

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

ld/devices.data

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
################################################################################
22
#
33
# Device chip tree definition file.
4-
#
4+
#
55
# Copyright (c) 2013 Frantisek Burian <[email protected]>
66
# Copyright (C) 2013 Werner Almesberger <wpwrak>
77
#
88
# Line description:
99
# <pattern> <parent> (<data> ...)
1010
#
11-
# <pattern>: is the pattern for the chip description to be searched for.
11+
# <pattern>: is the pattern for the chip description to be searched for.
1212
# The case of the pattern string is ignored.
1313
# Pattern match symbols:
1414
# ? - matches exactly one character
1515
# * - matches none or more characters
1616
# + - matches single or more characters
1717
#
18-
# <parent>: is the parent group name, where the search will continue.
18+
# <parent>: is the parent group name, where the search will continue.
1919
# There are special parents names that controls traversing:
2020
# "END" - Exit traversal.
2121
# "+" - Don't change the parent. Use for split long line to two.
2222
#
2323
# <data>: space-separated list of preprocessor symbols supplied to the linker.
2424
# -D option name is automatically prepended to each symbol definition
25-
#
25+
#
2626
# All lines starting with # symbol are treated as Comments
2727
#
2828
# Recommended tree hierarchy:
@@ -33,14 +33,14 @@
3333
# +- <architecture> END <architecture specific params>
3434
#
3535
# You can split the long line into two or more by using "+" in the parent field,
36-
# and defining same regex with appropriate parent on the next line. Example:
36+
# and defining same regex with appropriate parent on the next line. Example:
3737
#
3838
# device + PARAM1=aaa PARAM2=bbbb PARAM3=ccc PARAM4=dddd PARAM5=eeee
3939
# device parent PARAM6=ffff PARAM7=gggg PARAM8=hhhh
4040
# parent END
4141
#
42-
# The order of the lines is important. After the regex match, its parent will
43-
# be used for match on the next line. If two regexp lines matches input, only
42+
# The order of the lines is important. After the regex match, its parent will
43+
# be used for match on the next line. If two regexp lines matches input, only
4444
# the first will be evaluated, except special group definition "+"
4545
#
4646
# The regex matches entire sym
@@ -268,7 +268,7 @@ lm3s8962 lm3fury ROM=256K RAM=64K
268268
################################################################################
269269
# the TI cortex R4F chips
270270

271-
rm46l852* rm46l ROM=1280K RAM=192K
271+
rm46l852* rm46l ROM=1280K RAM=192K
272272

273273
################################################################################
274274
################################################################################
@@ -314,13 +314,13 @@ sam3x sam3 ROM_OFF=0x00800000 RAM_OFF=0x20000000
314314
################################################################################
315315
# the lpc families
316316

317-
lpc13 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000 RAM1_OFF=0x20000000
317+
lpc13 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000 RAM1_OFF=0x20000000
318318
lpc17 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000
319319

320320
################################################################################
321321
# the efm32 Gecko families
322322

323-
efm32zg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
323+
efm32zg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
324324
efm32tg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
325325
efm32g efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
326326
efm32lg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
@@ -338,7 +338,7 @@ lm3sandstorm lm3 ROM_OFF=0x00000000 RAM_OFF=0x20000000
338338
# Cortex R4F families
339339

340340
rm46l rm4 ROM_OFF=0x00000000 RAM_OFF=0x08000000 RAM1_OFF=0x08400000
341-
341+
342342
################################################################################
343343
################################################################################
344344
################################################################################
@@ -350,4 +350,4 @@ lpc END
350350
efm32 END
351351
lm3 END
352352
rm4 END
353-
353+

lib/linker.ld.S

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This file is part of the libopencm3 project.
33
*
44
* Copyright (C) 2009 Uwe Hermann <[email protected]>
5-
* Copyright (C) 2013 Frantisek Burian <[email protected]>
5+
* Copyright (C) 2013 Frantisek Burian <[email protected]>
66
*
77
* This library is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU Lesser General Public License as published by
@@ -69,8 +69,9 @@ SECTIONS
6969
. = ALIGN(4);
7070
} >rom
7171

72-
/* C++ Static constructors/destructors, also used for
73-
* __attribute__((constructor)) and the likes */
72+
/* C++ Static constructors/destructors, also used for
73+
* __attribute__((constructor)) and the likes.
74+
*/
7475
.preinit_array : {
7576
. = ALIGN(4);
7677
__preinit_array_start = .;

scripts/genlink.awk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This program converts chip name to the series of definitions for make of
1+
# This program converts chip name to the series of definitions for make of
22
# automatic linker script.
33
#
44
# Copyright (C) 2013 Frantisek Burian <[email protected]>
@@ -18,7 +18,7 @@ BEGIN {
1818
if (PAT ~ tmp) {
1919
if ($2 != "+")
2020
PAT=$2;
21-
$1="";
21+
$1="";
2222
$2="";
2323
for (i = 3; i <= NF; i = i + 1)
2424
$i = "-D"$i;

0 commit comments

Comments
 (0)