Minor cosmetics, whitespace.
This commit is contained in:
parent
5aa39a5264
commit
447c333cec
@ -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
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -58,4 +58,3 @@
|
|||||||
#define SCS_DEMCR_VC_MON_PEND 0x00020000
|
#define SCS_DEMCR_VC_MON_PEND 0x00020000
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -29,4 +29,3 @@ void gpio_clear(u32 gpioport, u8 gpios)
|
|||||||
{
|
{
|
||||||
GPIO_DATA(gpioport)[gpios] = 0;
|
GPIO_DATA(gpioport)[gpios] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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. */
|
||||||
|
@ -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. */
|
||||||
|
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user