1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

remove trailing whitespace and newlines

This commit is contained in:
Ludwig Ortmann 2014-02-11 18:15:43 +01:00
parent 9fff3f5b90
commit 2525920426
267 changed files with 551 additions and 749 deletions

View File

@ -44,4 +44,3 @@ $(BINDIR)%.o: %.S
# remove compilation products
clean::
$(AD)rm -f $(BINDIR)$(MODULE).a $(OBJ) $(DEP) $(ASMOBJ)

View File

@ -197,4 +197,3 @@ void bl_init_ports(void)
PINMODE4 |= (BIT23) | (BIT25) | (BIT27); // no resistors
}

View File

@ -253,4 +253,3 @@ void cc1100_init_interrupts(void)
// Enable external interrupt on low edge (for GDO0)
FIO2DIR &= ~BIT6;
}

View File

@ -1331,5 +1331,3 @@ unsigned char SMB380_readGainTemp(uint16_t *gain)
return true;
}

View File

@ -425,4 +425,3 @@ unsigned short acam_trx(const uint8_t data)
SSP0_write(data, ACAMDMS);
return SSP0_read(ACAMDMS);
}

View File

@ -115,4 +115,3 @@ unsigned short acam_trx(const uint8_t data);
void SSP0Handler(void);
#endif /* __SSP_H__ */

View File

@ -30,4 +30,3 @@ int putchar(int c)
_putchar(c);
return c;
}

View File

@ -74,4 +74,3 @@ interrupt(USART1RX_VECTOR) usart0irq(void)
}
#endif
}

View File

@ -3,4 +3,3 @@ ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
USEMODULE += cc110x_spi
endif
endif

View File

@ -2,4 +2,3 @@ MODULE =$(BOARD)_base
include $(RIOTBOARD)/$(BOARD)/Makefile.include
include $(RIOTBASE)/Makefile.base

View File

@ -227,4 +227,3 @@ bl_uart_init(void)
U0IER |= BIT0; // enable only RX irq
return 1;
}

View File

@ -48,4 +48,3 @@ unsigned int benchmark_read_stop(void)
T3TCR = 0; // disable timer
return T3TC;
}

View File

@ -18,6 +18,3 @@ Added 2103 chip to chip list. ID numbers for 2101 and 2102 unknown
Added support for other chips
Added soft boot code
Added user configurable crystal value (for baud sync protocol)

View File

@ -55,7 +55,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@ -278,7 +278,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest

View File

@ -140,5 +140,3 @@ of the following:
If you get "Command not found" when trying to run "gtk-config", this
is a sure sign that you do not have GTK+ 1.2 installed.

View File

@ -24,5 +24,3 @@ print C "const unsigned int ${ARGV[0]}[] = {\n";
print C "\t", join(', ', @data), "\n";
print C "};\n";
close C;

View File

@ -44,4 +44,3 @@ for ($i=0; $i<@arg; $i++) {
}
}
print "\n";

View File

@ -3,7 +3,3 @@ typedef struct {
int size;
const int *prog;
} boot_t;

View File

@ -28,5 +28,3 @@ const:
.int 0xE01FC040 /* MEMMAP register */
.int 0xE01FC080 /* PLLCON */
.int 0xE01FC08C /* PLLFEED */

View File

@ -9,7 +9,3 @@ begin:
mov pc, #0 /* and then jump to the user's code */
const:
.int 0xE01FC040 /* MEMMAP register */

View File

@ -153,4 +153,3 @@ char *lpc_return_strings[] = {
"INVALID_CODE", "INVALID_BAUD_RATE", "INVALID_STOP_BIT",
"CODE_READ_PROTECTION_ENABLED"
};

View File

@ -16,5 +16,3 @@ struct chip_info_struct {
};
extern struct chip_info_struct chip_info[];

View File

@ -78,8 +78,3 @@ int main()
return 0;
}

View File

@ -5,4 +5,3 @@ void hard_reset_to_bootloader(void);
void hard_reset_to_user_code(void);
#endif // ..._H

View File

@ -1189,5 +1189,3 @@ void download_rx_term(const unsigned char *buf, int num)
// while we are in the middle of downloading. Maybe
// we should look for CTRL-C and abort??
}

View File

@ -302,14 +302,3 @@ void put_ihex_data(int addr, int len, const unsigned char *bytes)
addr++;
}
}

View File

@ -2,6 +2,3 @@ extern int read_intel_hex(const char *filename);
extern int bytes_within_range(int begin, int end);
extern void get_ihex_data(int addr, int len, unsigned char *bytes);
extern void put_ihex_data(int addr, int len, const unsigned char *bytes);

View File

@ -100,4 +100,3 @@ int main(int argc, char **argv)
return programming_status;
}

View File

@ -177,5 +177,3 @@ int main(int argc, char **argv)
close_serial_port();
return 0;
}

View File

@ -444,9 +444,3 @@ void set_dtr(int val)
printf("Error %i while setting port io flags\n", errno);
}
}

View File

@ -206,4 +206,3 @@ void new_crystal_setting(const char *new_xtal)
write_settings_file();
}
}

View File

@ -118,6 +118,3 @@ static char uuchar(unsigned int val)
return val;
}

View File

@ -1,3 +1,2 @@
extern void uuencode(char *str, const unsigned char *data, int num);
extern int uudecode(const char *str, unsigned char *data, int max);

View File

@ -1,4 +1,3 @@
export INCLUDES += -I$(RIOTBOARD)/msba2/include
include $(RIOTBOARD)/msba2-common/Makefile.include

View File

@ -3,4 +3,3 @@ ifneq (,$(findstring ltc4150,$(USEMODULE)))
USEMODULE += hwtimer
endif
endif

View File

@ -48,4 +48,3 @@ void _native_LED_RED_TOGGLE(void)
{
printf("LED_RED_TOGGLE\n");
}

View File

@ -1,4 +1,3 @@
export INCLUDES += -I$(RIOTBOARD)/pttu/include
include $(RIOTBOARD)/msba2-common/Makefile.include

View File

@ -6,4 +6,3 @@ jtag_speed 100
source [find interface/olimex-arm-usb-ocd.cfg]
#source [find target/lpc2148.cfg]
source lpc2378.cfg

View File

@ -12,4 +12,3 @@ monitor debug_level 0
break bootloader
continue
d b 1

View File

@ -183,4 +183,3 @@ void bl_uart_init(void)
{
uart_init(UART1, BAUTRATE_UART1);
}

View File

@ -28,4 +28,3 @@
typedef uint8_t radio_packet_length_t;
#endif

View File

@ -168,4 +168,3 @@ $ob -> close or die "Close failed: $!\n";
ReadMode 0;
undef $ob; # closes port AND frees memory in perl
exit;

View File

@ -1,2 +1 @@
USEMODULE += msp430_common

View File

@ -115,4 +115,3 @@ interrupt(USART1RX_VECTOR) usart1irq(void)
#endif
}

View File

@ -22,4 +22,3 @@ export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
export INCLUDES += -I$(RIOTBOARD)/wsn430-common/include
export OFLAGS = -O ihex

View File

@ -60,4 +60,3 @@ interrupt(USART0RX_VECTOR) usart0irq(void) {
}
#endif
}

View File

@ -69,4 +69,3 @@ number_of_bits_set(unsigned v)
return c;
}

View File

@ -217,4 +217,3 @@ int hwtimer_remove(int n)
hwtimer_arch_enable_interrupt();
return 1;
}

View File

@ -46,4 +46,3 @@ void clist_print(clist_node_t *clist);
/** @} */
#endif // __CLIST_H

View File

@ -84,4 +84,3 @@ void kernel_init(void)
cpu_switch_context_exit();
}

View File

@ -2,4 +2,3 @@ MODULE =arm_common
CFLAGS += $(CFLAGS_BASIC)
include $(RIOTBASE)/Makefile.base

View File

@ -1,4 +1,3 @@
INCLUDES += -I$(MAKEBASE)/cpu/arm_common/include/
export UNDEF += $(BINDIR)syscalls.o

View File

@ -94,5 +94,3 @@ unsigned enableFIQ(void)
__set_cpsr(_cpsr & ~FIQ_MASK);
return _cpsr;
}

View File

@ -15,4 +15,3 @@ atomic_set_return:
MOV r0, r2
mov pc, lr
.endfunc

View File

@ -174,4 +174,3 @@ switch_context_int:
ldmfd sp!, {r0-r12}
b ctx_switch2

View File

@ -1,4 +1,3 @@
INCLUDES += -I$(MAKEBASE)/cpu/cc430/include/
include $(RIOTCPU)/msp430-common/Makefile.include

View File

@ -159,5 +159,3 @@ interrupt(ADC12_VECTOR) __attribute__((naked)) adc_isr(void)
__exit_isr();
}

View File

@ -241,4 +241,3 @@ interrupt(PORT2_VECTOR) __attribute__((naked)) port2_isr(void)
P2IE = int_enable;
__exit_isr();
}

View File

@ -23,4 +23,3 @@ include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -4,4 +4,3 @@ include $(RIOTCPU)/arm_common/Makefile.include
include $(RIOTCPU)/lpc_common/Makefile.include
export USEMODULE += arm_common lpc_common

View File

@ -93,4 +93,3 @@ sb_align:
BX LR
.end

View File

@ -1,4 +1,3 @@
MODULE =gpioint
include $(MAKEBASE)/Makefile.base

View File

@ -1,4 +1,3 @@
MODULE =i2c
include $(MAKEBASE)/Makefile.base

View File

@ -327,4 +327,3 @@ void i2c_enable_pull_up_resistor(uint8_t i2c_interface);
void i2c_disable_pull_up_resistor(uint8_t i2c_interface);
#endif /* end __I2C_H */

View File

@ -207,4 +207,3 @@
/** @} */
#endif // __LPC2387_H

View File

@ -1128,4 +1128,3 @@ with the spec. update in USB Device Section. */
#endif // __LPC23xx_H

View File

@ -1,4 +1,3 @@
MODULE =mci
include $(MAKEBASE)/Makefile.base

View File

@ -1,4 +1,3 @@
MODULE =rtc
include $(MAKEBASE)/Makefile.base

View File

@ -46,4 +46,3 @@ $_TARGETNAME configure -event reset-init {
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
#flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765

View File

@ -1,4 +1,3 @@
MODULE =lpc_common
include $(RIOTBASE)/Makefile.base

View File

@ -15,4 +15,3 @@ include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -72,4 +72,3 @@ static inline void gpio_pad_dir_reset(volatile uint64_t data)
GPIO->PAD_DIR_RESET0 = (data & 0xffffffff);
GPIO->PAD_DIR_RESET1 = (data >> 32);
}

View File

@ -157,4 +157,3 @@ enum { _REP(0,0) };
static volatile struct GPIO_struct * const GPIO = (void *) (0x80000000);
#endif

View File

@ -9,4 +9,3 @@ include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -1,2 +1 @@
INCLUDES += -I$(MAKEBASE)/cpu/msp430-common/include/

View File

@ -54,4 +54,3 @@ void restoreIRQ(unsigned int state)
eINT();
}
}

View File

@ -121,4 +121,3 @@ inline void lpm_awake(void)
/* the following two functions have no actual role to play MSP430s */
inline void lpm_begin_awake(void) { }
inline void lpm_end_awake(void) { }

View File

@ -175,4 +175,3 @@ splx_(int sr)
/*---------------------------------------------------------------------------*/
extern void board_init(void);

View File

@ -11,4 +11,3 @@ include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -1,4 +1,3 @@
INCLUDES += -I$(RIOTCPU)/msp430x16x/include/
include $(RIOTCPU)/msp430-common/Makefile.include

View File

@ -23,4 +23,3 @@ $(BINDIR)%.o: %.c
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -1,2 +1 @@
export INCLUDES += -I$(RIOTCPU)/native/include

View File

@ -8,4 +8,3 @@ $(BINDIR)%.o: %.c
$(AD)$(CC) $(CFLAGS) $(filter-out $(EXCLUDES),$(INCLUDES)) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
@$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d

View File

@ -1,4 +1,3 @@
MODULE =rtc
include $(MAKEBASE)/Makefile.base

View File

@ -28,5 +28,3 @@ sudo make link
# Load firmware, not yet building it locally.
goodfet.bsl --fromweb
goodfet.monitor test

View File

@ -6,4 +6,3 @@ void hard_reset_to_bootloader(void);
void hard_reset_to_user_code(void);
#endif // ..._H

View File

@ -425,9 +425,3 @@ void set_dtr(int val)
printf("Error %i while setting port io flags\n", errno);
}
}

View File

@ -325,4 +325,3 @@ int border_initialize(char *if_name, const char *ip_addr, const char *tty_dev)
return 0;
}

View File

@ -7,4 +7,3 @@ export ROOT=${ROOT:-.}
${ROOT}/tools/testsuite/svn_test_revision.sh ${REVISION}
${ROOT}/tools/testsuite/generate_html.sh

View File

@ -23,5 +23,3 @@ done
cat ${HTMLDIR}/footer
} > ${OUTFILE}

View File

@ -3,4 +3,3 @@
<title> Feuerwhere Build Bot results </title>
</header>
<body>

View File

@ -39,5 +39,3 @@ echo "<br> Failed builds/tests: <br>"
grep '\[.* FAILED\]' ${LOG} | uniq | sed -e 's/$/<br>/'
fi
} | tee ${1}.parsed

View File

@ -40,4 +40,3 @@ for i in projects/*; do
} 2>&1
fi
done

View File

@ -183,4 +183,3 @@ mkdir -p ${GNUARM_BUILDDIR}
cd ${GNUARM_BUILDDIR}
$*

View File

@ -160,4 +160,3 @@ mkdir -p ${GNUARM_BUILDDIR}
cd ${GNUARM_BUILDDIR}
$*

View File

@ -8,4 +8,3 @@
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>

View File

@ -44,4 +44,3 @@ include $(RIOTBASE)/Makefile.base
# remove compilation products
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -9,4 +9,3 @@ include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

View File

@ -173,4 +173,3 @@ void at86rf231_swap_fcf_bytes(uint8_t *buf)
buf[1] = buf[2];
buf[2] = tmp;
}

View File

@ -73,4 +73,3 @@ void at86rf231_rx_handler(void)
// Read IRQ to clear it
at86rf231_reg_read(AT86RF231_REG__IRQ_STATUS);
}

Some files were not shown because too many files have changed in this diff Show More