[Style] Removed trailing spaces.

This commit is contained in:
Piotr Esden-Tempski 2013-06-30 23:40:44 -07:00
parent c2f7128459
commit 56e2928ebe
3 changed files with 18 additions and 17 deletions

View File

@ -1,28 +1,28 @@
################################################################################ ################################################################################
# #
# Device chip tree definition file. # Device chip tree definition file.
# #
# Copyright (c) 2013 Frantisek Burian <Bufran@seznam.cz> # Copyright (c) 2013 Frantisek Burian <Bufran@seznam.cz>
# Copyright (C) 2013 Werner Almesberger <wpwrak> # Copyright (C) 2013 Werner Almesberger <wpwrak>
# #
# Line description: # Line description:
# <pattern> <parent> (<data> ...) # <pattern> <parent> (<data> ...)
# #
# <pattern>: is the pattern for the chip description to be searched for. # <pattern>: is the pattern for the chip description to be searched for.
# The case of the pattern string is ignored. # The case of the pattern string is ignored.
# Pattern match symbols: # Pattern match symbols:
# ? - matches exactly one character # ? - matches exactly one character
# * - matches none or more characters # * - matches none or more characters
# + - matches single or more characters # + - matches single or more characters
# #
# <parent>: is the parent group name, where the search will continue. # <parent>: is the parent group name, where the search will continue.
# There are special parents names that controls traversing: # There are special parents names that controls traversing:
# "END" - Exit traversal. # "END" - Exit traversal.
# "+" - Don't change the parent. Use for split long line to two. # "+" - Don't change the parent. Use for split long line to two.
# #
# <data>: space-separated list of preprocessor symbols supplied to the linker. # <data>: space-separated list of preprocessor symbols supplied to the linker.
# -D option name is automatically prepended to each symbol definition # -D option name is automatically prepended to each symbol definition
# #
# All lines starting with # symbol are treated as Comments # All lines starting with # symbol are treated as Comments
# #
# Recommended tree hierarchy: # Recommended tree hierarchy:
@ -33,14 +33,14 @@
# +- <architecture> END <architecture specific params> # +- <architecture> END <architecture specific params>
# #
# You can split the long line into two or more by using "+" in the parent field, # You can split the long line into two or more by using "+" in the parent field,
# and defining same regex with appropriate parent on the next line. Example: # and defining same regex with appropriate parent on the next line. Example:
# #
# device + PARAM1=aaa PARAM2=bbbb PARAM3=ccc PARAM4=dddd PARAM5=eeee # device + PARAM1=aaa PARAM2=bbbb PARAM3=ccc PARAM4=dddd PARAM5=eeee
# device parent PARAM6=ffff PARAM7=gggg PARAM8=hhhh # device parent PARAM6=ffff PARAM7=gggg PARAM8=hhhh
# parent END # parent END
# #
# The order of the lines is important. After the regex match, its parent will # The order of the lines is important. After the regex match, its parent will
# be used for match on the next line. If two regexp lines matches input, only # be used for match on the next line. If two regexp lines matches input, only
# the first will be evaluated, except special group definition "+" # the first will be evaluated, except special group definition "+"
# #
# The regex matches entire sym # The regex matches entire sym
@ -268,7 +268,7 @@ lm3s8962 lm3fury ROM=256K RAM=64K
################################################################################ ################################################################################
# the TI cortex R4F chips # the TI cortex R4F chips
rm46l852* rm46l ROM=1280K RAM=192K rm46l852* rm46l ROM=1280K RAM=192K
################################################################################ ################################################################################
################################################################################ ################################################################################
@ -314,13 +314,13 @@ sam3x sam3 ROM_OFF=0x00800000 RAM_OFF=0x20000000
################################################################################ ################################################################################
# the lpc families # the lpc families
lpc13 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000 RAM1_OFF=0x20000000 lpc13 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000 RAM1_OFF=0x20000000
lpc17 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000 lpc17 lpc ROM_OFF=0x00000000 RAM_OFF=0x10000000
################################################################################ ################################################################################
# the efm32 Gecko families # the efm32 Gecko families
efm32zg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000 efm32zg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
efm32tg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000 efm32tg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
efm32g efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000 efm32g efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
efm32lg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000 efm32lg efm32 ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x10000000
@ -338,7 +338,7 @@ lm3sandstorm lm3 ROM_OFF=0x00000000 RAM_OFF=0x20000000
# Cortex R4F families # Cortex R4F families
rm46l rm4 ROM_OFF=0x00000000 RAM_OFF=0x08000000 RAM1_OFF=0x08400000 rm46l rm4 ROM_OFF=0x00000000 RAM_OFF=0x08000000 RAM1_OFF=0x08400000
################################################################################ ################################################################################
################################################################################ ################################################################################
################################################################################ ################################################################################
@ -350,4 +350,4 @@ lpc END
efm32 END efm32 END
lm3 END lm3 END
rm4 END rm4 END

View File

@ -2,7 +2,7 @@
* This file is part of the libopencm3 project. * This file is part of the libopencm3 project.
* *
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2013 Frantisek Burian <BuFran@seznam.cz> * Copyright (C) 2013 Frantisek Burian <BuFran@seznam.cz>
* *
* This library is free software: you can redistribute it and/or modify * This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
@ -69,8 +69,9 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
} >rom } >rom
/* C++ Static constructors/destructors, also used for /* C++ Static constructors/destructors, also used for
* __attribute__((constructor)) and the likes */ * __attribute__((constructor)) and the likes.
*/
.preinit_array : { .preinit_array : {
. = ALIGN(4); . = ALIGN(4);
__preinit_array_start = .; __preinit_array_start = .;

View File

@ -1,4 +1,4 @@
# This program converts chip name to the series of definitions for make of # This program converts chip name to the series of definitions for make of
# automatic linker script. # automatic linker script.
# #
# Copyright (C) 2013 Frantisek Burian <Bufran@seznam.cz> # Copyright (C) 2013 Frantisek Burian <Bufran@seznam.cz>
@ -18,7 +18,7 @@ BEGIN {
if (PAT ~ tmp) { if (PAT ~ tmp) {
if ($2 != "+") if ($2 != "+")
PAT=$2; PAT=$2;
$1=""; $1="";
$2=""; $2="";
for (i = 3; i <= NF; i = i + 1) for (i = 3; i <= NF; i = i + 1)
$i = "-D"$i; $i = "-D"$i;