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

View File

@@ -42,4 +42,3 @@ BMP_PORT ?=
include ../../../../Makefile.rules

View File

@@ -28,4 +28,3 @@ MEMORY
/* Include the common ld script. */
INCLUDE libopencm3_lpc13xx.ld

View File

@@ -22,4 +22,3 @@ BINARY = miniblink
LDSCRIPT = ../lpc-p1343.ld
include ../../Makefile.include

View File

@@ -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.

View File

@@ -43,4 +43,3 @@ BMP_PORT ?=
include ../../../../Makefile.rules

View File

@@ -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");

View File

@@ -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");

View File

@@ -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;

View File

@@ -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;

View File

@@ -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);

View File

@@ -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 */