Minor cosmetics, whitespace.

This commit is contained in:
Uwe Hermann 2011-02-09 01:06:43 +01:00
parent 5aa39a5264
commit 447c333cec
16 changed files with 10 additions and 17 deletions

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* Linker script for LM3S3748-EVB */ /* Linker script for Luminary Micro (now TI) Stellaris LM3S3748-EVB. */
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY

View File

@ -20,7 +20,7 @@
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH =8K rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
} }

View File

@ -26,7 +26,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }
/* Include the common ld script. */ /* Include the common ld script. */
INCLUDE libopencm3_stm32.ld INCLUDE libopencm3_stm32.ld

View File

@ -20,7 +20,7 @@
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH =64K rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }

View File

@ -20,7 +20,7 @@
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH =8K rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
} }

View File

@ -20,7 +20,7 @@
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH =64K rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }

View File

@ -26,7 +26,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }
/* Include the common ld script. */ /* Include the common ld script. */
INCLUDE libopencm3_stm32.ld INCLUDE libopencm3_stm32.ld

View File

@ -20,7 +20,7 @@
/* Define memory regions. */ /* Define memory regions. */
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = 0x08000000, LENGTH =8K rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
} }

View File

@ -26,7 +26,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }
/* Include the common ld script. */ /* Include the common ld script. */
INCLUDE libopencm3_stm32.ld INCLUDE libopencm3_stm32.ld

View File

@ -26,7 +26,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
} }
/* Include the common ld script. */ /* Include the common ld script. */
INCLUDE libopencm3_stm32.ld INCLUDE libopencm3_stm32.ld

View File

@ -58,4 +58,3 @@
#define SCS_DEMCR_VC_MON_PEND 0x00020000 #define SCS_DEMCR_VC_MON_PEND 0x00020000
#endif #endif

View File

@ -28,8 +28,7 @@ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
-ffunction-sections -fdata-sections -ffunction-sections -fdata-sections
# ARFLAGS = rcsv # ARFLAGS = rcsv
ARFLAGS = rcs ARFLAGS = rcs
OBJS = gpio.o \ OBJS = gpio.o vector.o
vector.o
# VPATH += ../usb # VPATH += ../usb

View File

@ -29,4 +29,3 @@ void gpio_clear(u32 gpioport, u8 gpios)
{ {
GPIO_DATA(gpioport)[gpios] = 0; GPIO_DATA(gpioport)[gpios] = 0;
} }

View File

@ -21,7 +21,7 @@
/* Memory regions must be defined in the ld script which includes this one. */ /* Memory regions must be defined in the ld script which includes this one. */
/* Enforce emmition of the vector table */ /* Enforce emmition of the vector table. */
EXTERN (vector_table) EXTERN (vector_table)
/* Define sections. */ /* Define sections. */

View File

@ -21,7 +21,7 @@
/* Memory regions must be defined in the ld script which includes this one. */ /* Memory regions must be defined in the ld script which includes this one. */
/* Enforce emmition of the vector table */ /* Enforce emmition of the vector table. */
EXTERN (vector_table) EXTERN (vector_table)
/* Define sections. */ /* Define sections. */

View File

@ -21,7 +21,7 @@
/* Memory regions must be defined in the ld script which includes this one. */ /* Memory regions must be defined in the ld script which includes this one. */
/* Enforce emmition of the vector table */ /* Enforce emmition of the vector table. */
EXTERN (vector_table) EXTERN (vector_table)
/* Define sections. */ /* Define sections. */