Whitespace changes in the tiva(stellaris/lpc directory structure commit

This commit is contained in:
Uwe Bonnes
2014-02-13 20:01:58 +01:00
committed by Frantisek Burian
parent 1740fee230
commit 06208be477
28 changed files with 14 additions and 33 deletions
-1
View File
@@ -42,4 +42,3 @@ BMP_PORT ?=
include ../../../../Makefile.rules
@@ -28,4 +28,3 @@ MEMORY
/* Include the common ld script. */
INCLUDE libopencm3_lpc13xx.ld
@@ -22,4 +22,3 @@ BINARY = miniblink
LDSCRIPT = ../lpc-p1343.ld
include ../../Makefile.include
@@ -7,4 +7,3 @@ This is the smallest-possible example program using libopencm3.
It's intended for the NXP LPC1343-based Olimex LPC-1343 eval board (see
http://olimex.com/dev/lpc-p1343.html for details). It should blink
a LED on the board.
-1
View File
@@ -43,4 +43,3 @@ BMP_PORT ?=
include ../../../../Makefile.rules
@@ -39,7 +39,7 @@ int main(void)
//GPIO1_CLR = (1 << 29); /* LED off */
//for (i = 0; i < 800000; i++) /* Wait a bit. */
// __asm__("nop");
gpio_set(GPIO1, GPIOPIN29); /* LED on */
for (i = 0; i < 800000; i++) /* Wait a bit. */
__asm__("nop");
@@ -33,7 +33,7 @@ int main(void)
/* Blink D2 on the board. */
while (1) {
gpio_set(GPIO0, GPIOPIN5); /* LED on */
for (i = 0; i < 800000; i++) /* Wait a bit. */
__asm__("nop");
@@ -63,7 +63,7 @@ int main(void)
gpio_set(PORT_EN1V8, PIN_EN1V8);
/* Blink LED1/2/3 on the board and Read BOOT0/1/2/3 pins. */
while (1)
while (1)
{
boot0 = BOOT0_STATE;
boot1 = BOOT1_STATE;
@@ -63,7 +63,7 @@ int main(void)
gpio_set(PORT_EN1V8, PIN_EN1V8);
/* Blink LED1/2/3 on the board and Read BOOT0/1/2/3 pins. */
while (1)
while (1)
{
boot0 = BOOT0_STATE;
boot1 = BOOT1_STATE;
@@ -40,9 +40,9 @@ static void gpio_setup(void)
scu_pinmux(SCU_PINMUX_LED1, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_LED2, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_LED3, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_EN1V8, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT0, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT1, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT2, SCU_GPIO_FAST);
@@ -46,9 +46,9 @@ static void gpio_setup(void)
scu_pinmux(SCU_PINMUX_LED1, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_LED2, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_LED3, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_EN1V8, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT0, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT1, SCU_GPIO_FAST);
scu_pinmux(SCU_PINMUX_BOOT2, SCU_GPIO_FAST);
@@ -123,7 +123,7 @@ static uint32_t sys_tick_delta_time_ms(uint32_t start, uint32_t end)
{
diff=MAX_T_U32-(start-end)+1;
}
return diff;
}
@@ -169,7 +169,7 @@ int main(void)
/* SCS & Cycle Counter enabled (used to count number of cycles executed per second see g_NbCyclePerSecond */
scs_dwt_cycle_counter_enabled();
while (1)
while (1)
{
gpio_set(PORT_LED1_3, (PIN_LED1|PIN_LED2|PIN_LED3)); /* LEDs on */
@@ -28,4 +28,3 @@ MEMORY
/* Include the common ld script. */
INCLUDE libopencm3_lm3s.ld
@@ -22,4 +22,3 @@ BINARY = miniblink
LDSCRIPT = ../lm3s3748-evb.ld
include ../../Makefile.include
@@ -6,4 +6,3 @@ This is the smallest-possible example program using libopencm3.
It's intended for the LuminaryMicro LM3S3748-EVB.
It should blink the STATUS LED on the board.
@@ -28,4 +28,3 @@ MEMORY
/* Include the common ld script. */
INCLUDE libopencm3_lm3s.ld
@@ -22,4 +22,3 @@ BINARY = miniblink
LDSCRIPT = ../lm3s811-evb.ld
include ../../Makefile.include
@@ -6,4 +6,3 @@ This is the smallest-possible example program using libopencm3.
It's intended for the LuminaryMicro LM3S811-EVB.
It should blink the STATUS LED on the board.
-1
View File
@@ -45,4 +45,3 @@ BMP_PORT ?=
include ../../../../Makefile.rules
@@ -28,4 +28,3 @@ MEMORY
/* Include the common ld script. */
INCLUDE libopencm3_lm4f.ld
@@ -22,4 +22,3 @@ BINARY = miniblink
LDSCRIPT = ../ek-lm4f120xl.ld
include ../../Makefile.include
@@ -18,5 +18,3 @@ Pressing SW1 bypasses the PLL completely, and runs off the raw 16MHz clock
provided by the external crystal oscillator.
The LEDs will toggle at different speeds, depending on the system clock. The
system clock changes are handled within the interrupt service routine.
@@ -192,7 +192,7 @@ void gpiof_isr(void)
/* Clear interrupt source */
gpio_clear_interrupt_flag(GPIOF, USR_SW1);
}
if (gpio_is_interrupt_source(GPIOF, USR_SW2)) {
/* SW2 was just depressed */
if (!bypass) {
@@ -22,4 +22,3 @@ BINARY = uart_echo_interrupt
LDSCRIPT = ../ek-lm4f120xl.ld
include ../../Makefile.include
@@ -4,7 +4,7 @@ README
This example demonstrates the ease of setting up the UART with libopencm3, and
using UART interrupts. UART echo is achieved by echoing back received characters
from within the interrupt service routine. This has the advantage over using
from within the interrupt service routine. This has the advantage over using
blocking reads and writes that the main program loop is freed for other tasks.
The UART is set up as 921600-8N1.
@@ -69,7 +69,7 @@ void uart0_isr(void)
uart_send(UART0, rx);
irq_clear |= UART_INT_RX;
}
uart_clear_interrupt_flag(UART0, irq_clear);
}
@@ -22,4 +22,3 @@ BINARY = uart_echo_simple
LDSCRIPT = ../ek-lm4f120xl.ld
include ../../Makefile.include
@@ -207,7 +207,7 @@ static void usb_setup(void)
* Enable USB interrupts
*
* We don't enable the USB peripheral clock here, but we need it on in order to
* acces USB registers. Hence, this must be called after usbd_init().
* acces USB registers. Hence, this must be called after usbd_init().
*/
static void usb_ints_setup(void)
{
@@ -66,4 +66,3 @@ void glue_send_data_cb(uint8_t *buf, uint16_t len);
#endif /* __STELLARIS_EK_LM4F120XL_USB_TO_SERIAL_CDCACM_H */
/**@}*/