mirror of
https://github.com/digistump/DigistumpArduino.git
synced 2025-09-18 01:42:26 -07:00
Initial import of support files for all Digistump boards - Digispark, Pro, DigiX - including libraries, examples, tools, and other support files for the Arduino IDE
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* SAM Software Package License
|
||||
* ----------------------------------------------------------------------------
|
||||
* Copyright (c) 2012, Atmel Corporation
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following condition is met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the disclaimer below.
|
||||
*
|
||||
* Atmel's name may not be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef CONF_BOARD_H_INCLUDED
|
||||
#define CONF_BOARD_H_INCLUDED
|
||||
|
||||
#define SAM3S_EK (1)
|
||||
#define SAM3S_EK2 (2)
|
||||
#define SAM3N_EK (3)
|
||||
#define SAM3U_EK (4)
|
||||
#define SAM3X_EK (5)
|
||||
#define SAM4S_EK (6)
|
||||
|
||||
#ifndef BOARD
|
||||
# error "BOARD is not defined"
|
||||
#endif
|
||||
|
||||
#if BOARD == SAM3S_EK
|
||||
# define LED0_PIO PIOA
|
||||
# define LED0_MASK (0x01UL << 19)
|
||||
#endif /* SAM3S_EK */
|
||||
|
||||
#if BOARD == SAM3S_EK2
|
||||
# define LED0_PIO PIOA
|
||||
# define LED0_MASK (0x01UL << 19)
|
||||
#endif /* SAM3S_EK2 */
|
||||
|
||||
#if BOARD == SAM3N_EK
|
||||
# define LED0_PIO PIOA
|
||||
# define LED0_MASK (0x01UL << 23)
|
||||
#endif /* SAM3N_EK */
|
||||
|
||||
#if BOARD == SAM3U_EK
|
||||
# define LED0_PIO PIOB
|
||||
# define LED0_MASK (0x01UL << 0)
|
||||
#endif /* SAM3U_EK */
|
||||
|
||||
#if BOARD == SAM3X_EK
|
||||
# define LED0_PIO PIOB
|
||||
# define LED0_MASK (0x01UL << 12)
|
||||
#endif /* SAM3X_EK */
|
||||
|
||||
#if BOARD == SAM4S_EK
|
||||
# define LED0_PIO PIOA
|
||||
# define LED0_MASK (0x01UL << 19)
|
||||
#endif /* SAM4S_EK */
|
||||
|
||||
#endif /* CONF_BOARD_H_INCLUDED */
|
@@ -0,0 +1,75 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# make inner variables
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# custom variables
|
||||
BUILD_NUMBER :=
|
||||
BUILDS :=
|
||||
CLEANS :=
|
||||
|
||||
# Build macro
|
||||
define BUILD_SERIES
|
||||
|
||||
# output test number information
|
||||
$(info Defining cmsis_example_$(1)_build and cmsis_example_$(1)_clean)
|
||||
|
||||
# add the incoming targets to global targets
|
||||
BUILDS += cmsis_example_$(1)_build
|
||||
CLEANS += cmsis_example_$(1)_clean
|
||||
BUILD_NUMBER += x
|
||||
|
||||
.PHONY: cmsis_example_$(1)_build
|
||||
cmsis_example_$(1)_build:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Making $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) -f cmsis_example.mk
|
||||
|
||||
.PHONY: cmsis_example_$(1)_clean
|
||||
cmsis_example_$(1)_clean:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Cleaning $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) clean -f cmsis_example.mk
|
||||
endef
|
||||
|
||||
# define SAM series
|
||||
include sam_series.mk
|
||||
|
||||
$(foreach SERIES, $(SAM_SERIES), $(eval $(call BUILD_SERIES,$(SERIES))))
|
||||
|
||||
# output test number information
|
||||
$(info Number of devices to be tested $(words $(BUILD_NUMBER)) / $(words $(SAM_SERIES)))
|
||||
|
||||
all: $(BUILDS)
|
||||
|
||||
clean: $(CLEANS)
|
@@ -0,0 +1 @@
|
||||
@cs-make --no-builtin-rules --no-builtin-variables >log.txt 2>&1
|
@@ -0,0 +1 @@
|
||||
@cs-make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1
|
@@ -0,0 +1,195 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# User-modifiable options
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
ifeq ('$(CHIP)','')
|
||||
$(error CHIP not defined)
|
||||
endif
|
||||
|
||||
include sam_series.mk
|
||||
|
||||
# fill the needed variables
|
||||
ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3N)))
|
||||
|
||||
BOARD:=SAM3N_EK
|
||||
SERIES:=sam3n
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3S)))
|
||||
|
||||
BOARD:=SAM3S_EK
|
||||
SERIES:=sam3s
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3SD8)))
|
||||
|
||||
BOARD:=SAM3S_EK2
|
||||
SERIES:=sam3sd8
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3U)))
|
||||
|
||||
BOARD:=SAM3U_EK
|
||||
SERIES:=sam3u
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3XA)))
|
||||
|
||||
BOARD:=SAM3X_EK
|
||||
SERIES:=sam3xa
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM4S)))
|
||||
|
||||
BOARD:=SAM4S_EK
|
||||
SERIES:=sam4s
|
||||
|
||||
endif
|
||||
|
||||
|
||||
# Defines which are the available memory targets for the device.
|
||||
MEMORIES = sram flash
|
||||
|
||||
# Optimization level, put in comment for debugging
|
||||
OPTIMIZATION = -Os
|
||||
|
||||
# Output directories
|
||||
BIN = $(CHIP)_bin
|
||||
OBJ = $(CHIP)_obj
|
||||
|
||||
# Output file basename
|
||||
OUTPUT_BIN = $(BIN)/cmsis_example_$(BOARD)_$(CHIP)
|
||||
|
||||
# GCC toolchain provider
|
||||
GCC_TOOLCHAIN=gcc
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Tools
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Toolchain prefix when cross-compiling
|
||||
CROSS_COMPILE = arm-none-eabi-
|
||||
|
||||
CMSIS_ROOT=../../..
|
||||
CMSIS_PATH=$(CMSIS_ROOT)/CMSIS/Include
|
||||
SAM_PATH=$(CMSIS_ROOT)/Device/ATMEL
|
||||
DEVICE_PATH=$(SAM_PATH)/$(SERIES)/source
|
||||
|
||||
LIBS = -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
|
||||
LIB_PATH+=-L=/lib/thumb2
|
||||
LIB_PATH+=-L"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN))"
|
||||
|
||||
# Compilation tools
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
SIZE = $(CROSS_COMPILE)size
|
||||
STRIP = $(CROSS_COMPILE)strip
|
||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
GDB = $(CROSS_COMPILE)gdb
|
||||
NM = $(CROSS_COMPILE)nm
|
||||
RM = cs-rm
|
||||
|
||||
# Flags
|
||||
INCLUDES := -I"$(CMSIS_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)/$(SERIES)/include"
|
||||
|
||||
CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int
|
||||
CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses
|
||||
CFLAGS += -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused
|
||||
CFLAGS += -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef
|
||||
CFLAGS += -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings
|
||||
CFLAGS += -Wsign-compare -Waggregate-return -Wstrict-prototypes
|
||||
CFLAGS += -Wmissing-prototypes -Wmissing-declarations
|
||||
CFLAGS += -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations
|
||||
CFLAGS += -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wlong-long
|
||||
CFLAGS += -Wunreachable-code
|
||||
CFLAGS += -Wcast-align
|
||||
#CFLAGS += -Wmissing-noreturn
|
||||
#CFLAGS += -Wconversion
|
||||
|
||||
# To reduce application size use only integer printf function.
|
||||
CFLAGS += -Dprintf=iprintf
|
||||
|
||||
# -mlong-calls -Wall
|
||||
CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -ffunction-sections
|
||||
CFLAGS += -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -DBOARD=$(BOARD)
|
||||
ASFLAGS = -mcpu=cortex-m3 -mthumb -Wall -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -D__ASSEMBLY__
|
||||
LDFLAGS= -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols
|
||||
#LD_OPTIONAL=-Wl,--print-gc-sections -Wl,--stats
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Files
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Directories where source files can be found
|
||||
|
||||
VPATH += ..
|
||||
VPATH += $(DEVICE_PATH)
|
||||
VPATH += $(DEVICE_PATH)/$(GCC_TOOLCHAIN)
|
||||
|
||||
# Objects built from C source files
|
||||
C_OBJECTS += main.o
|
||||
C_OBJECTS += startup_$(SERIES).o
|
||||
C_OBJECTS += system_$(SERIES).o
|
||||
|
||||
# Append OBJ and BIN directories to output filename
|
||||
OUTPUT := $(BIN)/$(OUTPUT_BIN)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Rules
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
all: $(BIN) $(OBJ) $(MEMORIES)
|
||||
|
||||
$(BIN) $(OBJ):
|
||||
-@mkdir $@
|
||||
|
||||
define RULES
|
||||
C_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(C_OBJECTS))
|
||||
ASM_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(ASM_OBJECTS))
|
||||
|
||||
$(1): $$(ASM_OBJECTS_$(1)) $$(C_OBJECTS_$(1))
|
||||
$(CC) $(LIB_PATH) $(LDFLAGS) $(LD_OPTIONAL) -T"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN)/$(CHIP)_$$@.ld)" -Wl,-Map,"$(OUTPUT_BIN)_$$@.map" -o "$(OUTPUT_BIN)_$$@.elf" $$^ $(LIBS)
|
||||
@$(NM) "$(OUTPUT_BIN)_$$@.elf" >"$(OUTPUT_BIN)_$$@.elf.txt"
|
||||
@$(OBJCOPY) -O binary "$(OUTPUT_BIN)_$$@.elf" "$(OUTPUT_BIN)_$$@.bin"
|
||||
@$(SIZE) $$^ "$(OUTPUT_BIN)_$$@.elf"
|
||||
|
||||
$$(C_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.c Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(CFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
$$(ASM_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.S Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(ASFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
debug_$(1): $(1)
|
||||
$(GDB) -x "$(CHIP)_$(1).gdb" -ex "reset" -readnow -se "$(OUTPUT_BIN)_$(1).elf"
|
||||
endef
|
||||
|
||||
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
|
||||
|
||||
clean:
|
||||
-$(RM) -fR $(OBJ) $(BIN)
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3N4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x00400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x00400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3U4E
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3X8H
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,32 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device (Should be AT91SAM4S16C, but it is not available now)
|
||||
monitor flash device = AT91SAM4S16C
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
mon reg pc=(0x400004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,27 @@
|
||||
#*************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
mon reg pc=(0x20000004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,37 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# define SAM series
|
||||
SAM3N=SAM3N00A SAM3N00B SAM3N0A SAM3N0B SAM3N0C SAM3N1A SAM3N1B SAM3N1C SAM3N2A SAM3N2B SAM3N2C SAM3N4A SAM3N4B SAM3N4C
|
||||
SAM3S=SAM3S1A SAM3S1B SAM3S1C SAM3S2A SAM3S2B SAM3S2C SAM3S4A SAM3S4B SAM3S4C
|
||||
SAM3SD8=SAM3S8B SAM3S8C SAM3SD8B SAM3SD8C
|
||||
SAM3U=SAM3U1C SAM3U1E SAM3U2C SAM3U2E SAM3U4C SAM3U4E
|
||||
SAM3XA=SAM3A4C SAM3A8C SAM3X4C SAM3X4E SAM3X8C SAM3X8E SAM3X8H
|
||||
SAM4S=SAM4S8B SAM4S8C SAM4S16B SAM4S16C
|
||||
|
||||
SAM_SERIES=$(SAM3N) $(SAM3S) $(SAM3SD8) $(SAM3U) $(SAM3XA) $(SAM4S)
|
@@ -0,0 +1,75 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# make inner variables
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# custom variables
|
||||
BUILD_NUMBER :=
|
||||
BUILDS :=
|
||||
CLEANS :=
|
||||
|
||||
# Build macro
|
||||
define BUILD_SERIES
|
||||
|
||||
# output test number information
|
||||
$(info Defining cmsis_example_$(1)_build and cmsis_example_$(1)_clean)
|
||||
|
||||
# add the incoming targets to global targets
|
||||
BUILDS += cmsis_example_$(1)_build
|
||||
CLEANS += cmsis_example_$(1)_clean
|
||||
BUILD_NUMBER += x
|
||||
|
||||
.PHONY: cmsis_example_$(1)_build
|
||||
cmsis_example_$(1)_build:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Making $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) -f cmsis_example.mk
|
||||
|
||||
.PHONY: cmsis_example_$(1)_clean
|
||||
cmsis_example_$(1)_clean:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Cleaning $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) clean -f cmsis_example.mk
|
||||
endef
|
||||
|
||||
# define SAM series
|
||||
include sam_series.mk
|
||||
|
||||
$(foreach SERIES, $(SAM_SERIES), $(eval $(call BUILD_SERIES,$(SERIES))))
|
||||
|
||||
# output test number information
|
||||
$(info Number of devices to be tested $(words $(BUILD_NUMBER)) / $(words $(SAM_SERIES)))
|
||||
|
||||
all: $(BUILDS)
|
||||
|
||||
clean: $(CLEANS)
|
@@ -0,0 +1 @@
|
||||
@make --no-builtin-rules --no-builtin-variables >log.txt 2>&1
|
@@ -0,0 +1 @@
|
||||
@make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1
|
@@ -0,0 +1,195 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# User-modifiable options
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
ifeq ('$(CHIP)','')
|
||||
$(error CHIP not defined)
|
||||
endif
|
||||
|
||||
include sam_series.mk
|
||||
|
||||
# fill the needed variables
|
||||
ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3N)))
|
||||
|
||||
BOARD:=SAM3N_EK
|
||||
SERIES:=sam3n
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3S)))
|
||||
|
||||
BOARD:=SAM3S_EK
|
||||
SERIES:=sam3s
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3SD8)))
|
||||
|
||||
BOARD:=SAM3S_EK2
|
||||
SERIES:=sam3sd8
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3U)))
|
||||
|
||||
BOARD:=SAM3U_EK
|
||||
SERIES:=sam3u
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3XA)))
|
||||
|
||||
BOARD:=SAM3X_EK
|
||||
SERIES:=sam3xa
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM4S)))
|
||||
|
||||
BOARD:=SAM4S_EK
|
||||
SERIES:=sam4s
|
||||
|
||||
endif
|
||||
|
||||
|
||||
# Defines which are the available memory targets for the device.
|
||||
MEMORIES = sram flash
|
||||
|
||||
# Optimization level, put in comment for debugging
|
||||
OPTIMIZATION = -Os
|
||||
|
||||
# Output directories
|
||||
BIN = $(CHIP)_bin
|
||||
OBJ = $(CHIP)_obj
|
||||
|
||||
# Output file basename
|
||||
OUTPUT_BIN = $(BIN)/cmsis_example_$(BOARD)_$(CHIP)
|
||||
|
||||
# GCC toolchain provider
|
||||
GCC_TOOLCHAIN=gcc_arm
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Tools
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Toolchain prefix when cross-compiling
|
||||
CROSS_COMPILE = arm-none-eabi-
|
||||
|
||||
CMSIS_ROOT=../../..
|
||||
CMSIS_PATH=$(CMSIS_ROOT)/CMSIS/Include
|
||||
SAM_PATH=$(CMSIS_ROOT)/Device/ATMEL
|
||||
DEVICE_PATH=$(SAM_PATH)/$(SERIES)/source
|
||||
|
||||
LIBS = -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
|
||||
LIB_PATH+=-L=/lib/thumb2
|
||||
LIB_PATH+=-L"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN))"
|
||||
|
||||
# Compilation tools
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
SIZE = $(CROSS_COMPILE)size
|
||||
STRIP = $(CROSS_COMPILE)strip
|
||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
GDB = $(CROSS_COMPILE)gdb
|
||||
NM = $(CROSS_COMPILE)nm
|
||||
RM = rm
|
||||
|
||||
# Flags
|
||||
INCLUDES := -I"$(CMSIS_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)/$(SERIES)/include"
|
||||
|
||||
CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int
|
||||
CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses
|
||||
CFLAGS += -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused
|
||||
CFLAGS += -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef
|
||||
CFLAGS += -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings
|
||||
CFLAGS += -Wsign-compare -Waggregate-return -Wstrict-prototypes
|
||||
CFLAGS += -Wmissing-prototypes -Wmissing-declarations
|
||||
CFLAGS += -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations
|
||||
CFLAGS += -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wlong-long
|
||||
CFLAGS += -Wunreachable-code
|
||||
CFLAGS += -Wcast-align
|
||||
#CFLAGS += -Wmissing-noreturn
|
||||
#CFLAGS += -Wconversion
|
||||
|
||||
# To reduce application size use only integer printf function.
|
||||
CFLAGS += -Dprintf=iprintf
|
||||
|
||||
# -mlong-calls -Wall
|
||||
CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -ffunction-sections
|
||||
CFLAGS += -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -DBOARD=$(BOARD)
|
||||
ASFLAGS = -mcpu=cortex-m3 -mthumb -Wall -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -D__ASSEMBLY__
|
||||
LDFLAGS= -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols
|
||||
#LD_OPTIONAL=-Wl,--print-gc-sections -Wl,--stats
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Files
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Directories where source files can be found
|
||||
|
||||
VPATH += ..
|
||||
VPATH += $(DEVICE_PATH)
|
||||
VPATH += $(DEVICE_PATH)/$(GCC_TOOLCHAIN)
|
||||
|
||||
# Objects built from C source files
|
||||
C_OBJECTS += main.o
|
||||
C_OBJECTS += startup_$(SERIES).o
|
||||
C_OBJECTS += system_$(SERIES).o
|
||||
|
||||
# Append OBJ and BIN directories to output filename
|
||||
OUTPUT := $(BIN)/$(OUTPUT_BIN)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Rules
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
all: $(BIN) $(OBJ) $(MEMORIES)
|
||||
|
||||
$(BIN) $(OBJ):
|
||||
-@mkdir $@
|
||||
|
||||
define RULES
|
||||
C_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(C_OBJECTS))
|
||||
ASM_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(ASM_OBJECTS))
|
||||
|
||||
$(1): $$(ASM_OBJECTS_$(1)) $$(C_OBJECTS_$(1))
|
||||
$(CC) $(LIB_PATH) $(LDFLAGS) $(LD_OPTIONAL) -T"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN)/$(CHIP)_$$@.ld)" -Wl,-Map,"$(OUTPUT_BIN)_$$@.map" -o "$(OUTPUT_BIN)_$$@.elf" $$^ $(LIBS)
|
||||
@$(NM) "$(OUTPUT_BIN)_$$@.elf" >"$(OUTPUT_BIN)_$$@.elf.txt"
|
||||
@$(OBJCOPY) -O binary "$(OUTPUT_BIN)_$$@.elf" "$(OUTPUT_BIN)_$$@.bin"
|
||||
@$(SIZE) $$^ "$(OUTPUT_BIN)_$$@.elf"
|
||||
|
||||
$$(C_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.c Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(CFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
$$(ASM_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.S Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(ASFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
debug_$(1): $(1)
|
||||
$(GDB) -x "$(CHIP)_$(1).gdb" -ex "reset" -readnow -se "$(OUTPUT_BIN)_$(1).elf"
|
||||
endef
|
||||
|
||||
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
|
||||
|
||||
clean:
|
||||
-$(RM) -fR $(OBJ) $(BIN)
|
@@ -0,0 +1,151 @@
|
||||
* CoreUtils-5.3.0 for Windows *
|
||||
===============================
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
CoreUtils: collection of basic file, shell and text manipulation utilities
|
||||
|
||||
Description
|
||||
-----------
|
||||
The GNU Core Utilities are the basic file, shell and text manipulation utilities
|
||||
of the GNU operating system. These are the core utilities which are expected to
|
||||
exist on every operating system.
|
||||
|
||||
File utilities:
|
||||
|
||||
- chgrp: Changes file group ownership.
|
||||
- chown: Changes file ownership.
|
||||
- chmod: Changes file permissions.
|
||||
- cp: Copies files.
|
||||
- dd: Copies and converts a file.
|
||||
- df: Shows disk free space on filesystems.
|
||||
- dir: Gives a brief directory listing.
|
||||
- dircolors: Setup program for the color output of GNU ls.
|
||||
- du: Shows disk usage on filesystems.
|
||||
- install: Copies file and sets its permissions.
|
||||
- ln: Creates file links.
|
||||
- ls: Lists directory contents.
|
||||
- mkdir: Creates directories.
|
||||
- mkfifo: Creates FIFOs (named pipes).
|
||||
- mknod: Creates special files.
|
||||
- mv: Moves files.
|
||||
- rm: Removes (deletes) files.
|
||||
- rmdir: Removes empty directories.
|
||||
- shred: Destroy data in files.
|
||||
- sync: Synchronizes filesystem buffers and disk.
|
||||
- touch: Changes file timestamps.
|
||||
- vdir: Long directory listing.
|
||||
|
||||
|
||||
Text utilities:
|
||||
|
||||
- cat: concatenates and prints files on the standard output
|
||||
- cksum: checksum and count the bytes in a file
|
||||
- comm: compares two sorted files line by line
|
||||
- csplit: splits a file into sections determined by context lines
|
||||
- cut: remove sections from each line of files
|
||||
- expand: convert tabs to spaces
|
||||
- fmt: simple optimal text formatter
|
||||
- fold: wrap each input line to fit in specified width
|
||||
- head: output the first part of files
|
||||
- join: join lines of two files on a common field
|
||||
- md5sum: compute and check MD5 messsage digest
|
||||
- nl: number lines of files
|
||||
- od: dump files in octal and other formats
|
||||
- paste: merge lines of files
|
||||
- ptx: produce a permuted index of file contents
|
||||
- pr: convert text files for printing
|
||||
- shasum: compute and check SHA1 message digest
|
||||
- sort: sort lines of text files
|
||||
- split: split a file into pieces
|
||||
- sum: checksum and count the blocks in a file
|
||||
- tac: concatenates and prints files in reverse
|
||||
- tail: outputs the last part of files
|
||||
- tr: translates or deletes characters
|
||||
- tsort: perform topological sort
|
||||
- unexpand: convert spaces to tabs
|
||||
- uniq: remove duplicate lines from a sorted file
|
||||
- wc: prints the number of bytes, words, and lines in files
|
||||
|
||||
|
||||
Shell utilities:
|
||||
|
||||
- [ - Check file types and compare values
|
||||
- basename - Removes the path prefix from a given pathname.
|
||||
- chroot - Changes the root directory.
|
||||
- date - Prints/sets the system date and time.
|
||||
- dirname - Removes the last level or filename from a given pathname.
|
||||
- echo - Prints a line of text.
|
||||
- env - Displays/modifies the environment.
|
||||
- expr - Evaluates expressions.
|
||||
- factor - Prints prime factors.
|
||||
- false - Returns an unsuccessful exit status.
|
||||
- groups - Print the groups that the user is a member of.
|
||||
- hostid - Print the numeric identifier for the current host
|
||||
- hostname - Print or set the machine name.
|
||||
- id - Print real/effective uid/gid.
|
||||
- logname - Print current login name.
|
||||
- nice - Modify scheduling priority.
|
||||
- nohup - Allows a command to continue running after logging out.
|
||||
- pathchk - Check file name portability.
|
||||
- pinky - Lightweight finger
|
||||
- printenv - Prints environment variables.
|
||||
- printf - Formats and prints data.
|
||||
- pwd - Print the current working directory.
|
||||
- seq - Print numeric sequences.
|
||||
- sleep - Suspends execution for a specified time.
|
||||
- stty - Print/change terminal settings.
|
||||
- su - Allows you to adopt the id of another user or superuser.
|
||||
- tee - Sends output to multiple files.
|
||||
- test - Evaluates an expression.
|
||||
- true - Returns a successful exit status.
|
||||
- tty - Print terminal name.
|
||||
- uname - Print system information.
|
||||
- users - Print current user names.
|
||||
- who - Print a list of all users currently logged in.
|
||||
- whoami - Print effective user id.
|
||||
- yes - Print a string repeatedly.
|
||||
|
||||
Homepage
|
||||
--------
|
||||
http://www.gnu.org/software/coreutils
|
||||
|
||||
System
|
||||
------
|
||||
- MS-Windows 95 / 98 / ME / NT / 2000 / XP with msvcrt.dll
|
||||
- if msvcrt.dll is not in your Windows/System folder, get it from
|
||||
Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403">
|
||||
or by installing Internet Explorer 4.0 or higher
|
||||
<http://www.microsoft.com/windows/ie>
|
||||
- libintl-2 <http://gnuwin32.sourceforge.net/packages/libintl.htm>
|
||||
- libiconv-2 <http://gnuwin32.sourceforge.net/packages/libiconv.htm>
|
||||
|
||||
Notes
|
||||
-----
|
||||
- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net
|
||||
|
||||
Package Availability
|
||||
--------------------
|
||||
- in: http://gnuwin32.sourceforge.net
|
||||
Installation
|
||||
------------
|
||||
The MS-Windows version of ln implements soft links as MS-Windows
|
||||
shortcuts. If necessary, it adds the extension .lnk
|
||||
Hard links are implemented as copies on MS-Windows-95 / 98 / ME,
|
||||
and as hard linls on MS-Windows-NT / 2000 / XP.
|
||||
|
||||
Sources
|
||||
-------
|
||||
- coreutils-5.3.0-src.zip
|
||||
|
||||
Compilation
|
||||
-----------
|
||||
The package has been compiled with GNU auto-tools, GNU make, and Mingw
|
||||
(GCC for MS-Windows). Any differences from the original sources are given
|
||||
in coreutils-5.3.0-GnuWin32.diffs in coreutils-5.3.0-src.zip. Libraries needed
|
||||
for compilation can be found at the lines starting with 'LIBS = ' in the
|
||||
Makefiles. Usually, these are standard libraries provided with Mingw, or
|
||||
libraries from the package itself; 'gw32c' refers to the libgw32c package,
|
||||
which provides MS-Windows substitutes or stubs for functions normally found in
|
||||
Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
|
||||
and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
|
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,845 @@
|
||||
Defining cmsis_example_SAM3N00A_build and cmsis_example_SAM3N00A_clean
|
||||
Defining cmsis_example_SAM3N00B_build and cmsis_example_SAM3N00B_clean
|
||||
Defining cmsis_example_SAM3N0A_build and cmsis_example_SAM3N0A_clean
|
||||
Defining cmsis_example_SAM3N0B_build and cmsis_example_SAM3N0B_clean
|
||||
Defining cmsis_example_SAM3N0C_build and cmsis_example_SAM3N0C_clean
|
||||
Defining cmsis_example_SAM3N1A_build and cmsis_example_SAM3N1A_clean
|
||||
Defining cmsis_example_SAM3N1B_build and cmsis_example_SAM3N1B_clean
|
||||
Defining cmsis_example_SAM3N1C_build and cmsis_example_SAM3N1C_clean
|
||||
Defining cmsis_example_SAM3N2A_build and cmsis_example_SAM3N2A_clean
|
||||
Defining cmsis_example_SAM3N2B_build and cmsis_example_SAM3N2B_clean
|
||||
Defining cmsis_example_SAM3N2C_build and cmsis_example_SAM3N2C_clean
|
||||
Defining cmsis_example_SAM3N4A_build and cmsis_example_SAM3N4A_clean
|
||||
Defining cmsis_example_SAM3N4B_build and cmsis_example_SAM3N4B_clean
|
||||
Defining cmsis_example_SAM3N4C_build and cmsis_example_SAM3N4C_clean
|
||||
Defining cmsis_example_SAM3S1A_build and cmsis_example_SAM3S1A_clean
|
||||
Defining cmsis_example_SAM3S1B_build and cmsis_example_SAM3S1B_clean
|
||||
Defining cmsis_example_SAM3S1C_build and cmsis_example_SAM3S1C_clean
|
||||
Defining cmsis_example_SAM3S2A_build and cmsis_example_SAM3S2A_clean
|
||||
Defining cmsis_example_SAM3S2B_build and cmsis_example_SAM3S2B_clean
|
||||
Defining cmsis_example_SAM3S2C_build and cmsis_example_SAM3S2C_clean
|
||||
Defining cmsis_example_SAM3S4A_build and cmsis_example_SAM3S4A_clean
|
||||
Defining cmsis_example_SAM3S4B_build and cmsis_example_SAM3S4B_clean
|
||||
Defining cmsis_example_SAM3S4C_build and cmsis_example_SAM3S4C_clean
|
||||
Defining cmsis_example_SAM3S8B_build and cmsis_example_SAM3S8B_clean
|
||||
Defining cmsis_example_SAM3S8C_build and cmsis_example_SAM3S8C_clean
|
||||
Defining cmsis_example_SAM3SD8B_build and cmsis_example_SAM3SD8B_clean
|
||||
Defining cmsis_example_SAM3SD8C_build and cmsis_example_SAM3SD8C_clean
|
||||
Defining cmsis_example_SAM3U1C_build and cmsis_example_SAM3U1C_clean
|
||||
Defining cmsis_example_SAM3U1E_build and cmsis_example_SAM3U1E_clean
|
||||
Defining cmsis_example_SAM3U2C_build and cmsis_example_SAM3U2C_clean
|
||||
Defining cmsis_example_SAM3U2E_build and cmsis_example_SAM3U2E_clean
|
||||
Defining cmsis_example_SAM3U4C_build and cmsis_example_SAM3U4C_clean
|
||||
Defining cmsis_example_SAM3U4E_build and cmsis_example_SAM3U4E_clean
|
||||
Defining cmsis_example_SAM3A4C_build and cmsis_example_SAM3A4C_clean
|
||||
Defining cmsis_example_SAM3A8C_build and cmsis_example_SAM3A8C_clean
|
||||
Defining cmsis_example_SAM3X4C_build and cmsis_example_SAM3X4C_clean
|
||||
Defining cmsis_example_SAM3X4E_build and cmsis_example_SAM3X4E_clean
|
||||
Defining cmsis_example_SAM3X8C_build and cmsis_example_SAM3X8C_clean
|
||||
Defining cmsis_example_SAM3X8E_build and cmsis_example_SAM3X8E_clean
|
||||
Defining cmsis_example_SAM3X8H_build and cmsis_example_SAM3X8H_clean
|
||||
Defining cmsis_example_SAM4S8B_build and cmsis_example_SAM4S8B_clean
|
||||
Defining cmsis_example_SAM4S8C_build and cmsis_example_SAM4S8C_clean
|
||||
Defining cmsis_example_SAM4S16B_build and cmsis_example_SAM4S16B_clean
|
||||
Defining cmsis_example_SAM4S16C_build and cmsis_example_SAM4S16C_clean
|
||||
Number of devices to be tested 44 / 44
|
||||
---
|
||||
---
|
||||
--- Making SAM3N00A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N00A_sram.ld" -Wl,-Map,"SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_sram.map" -o "SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_sram.elf" SAM3N00A_obj/sram_main.o SAM3N00A_obj/sram_startup_sam3n.o SAM3N00A_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N00A_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N00A_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N00A_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N00A_flash.ld" -Wl,-Map,"SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_flash.map" -o "SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_flash.elf" SAM3N00A_obj/flash_main.o SAM3N00A_obj/flash_startup_sam3n.o SAM3N00A_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N00A_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N00A_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N00A_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N00A_bin/cmsis_example_SAM3N_EK_SAM3N00A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N00B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N00B_sram.ld" -Wl,-Map,"SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_sram.map" -o "SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_sram.elf" SAM3N00B_obj/sram_main.o SAM3N00B_obj/sram_startup_sam3n.o SAM3N00B_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N00B_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N00B_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N00B_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N00B_flash.ld" -Wl,-Map,"SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_flash.map" -o "SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_flash.elf" SAM3N00B_obj/flash_main.o SAM3N00B_obj/flash_startup_sam3n.o SAM3N00B_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N00B_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N00B_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N00B_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N00B_bin/cmsis_example_SAM3N_EK_SAM3N00B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N0A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0A_sram.ld" -Wl,-Map,"SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_sram.map" -o "SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_sram.elf" SAM3N0A_obj/sram_main.o SAM3N0A_obj/sram_startup_sam3n.o SAM3N0A_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0A_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N0A_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0A_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0A_flash.ld" -Wl,-Map,"SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_flash.map" -o "SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_flash.elf" SAM3N0A_obj/flash_main.o SAM3N0A_obj/flash_startup_sam3n.o SAM3N0A_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0A_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N0A_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0A_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N0A_bin/cmsis_example_SAM3N_EK_SAM3N0A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N0B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0B_sram.ld" -Wl,-Map,"SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_sram.map" -o "SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_sram.elf" SAM3N0B_obj/sram_main.o SAM3N0B_obj/sram_startup_sam3n.o SAM3N0B_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0B_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N0B_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0B_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0B_flash.ld" -Wl,-Map,"SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_flash.map" -o "SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_flash.elf" SAM3N0B_obj/flash_main.o SAM3N0B_obj/flash_startup_sam3n.o SAM3N0B_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0B_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N0B_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0B_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N0B_bin/cmsis_example_SAM3N_EK_SAM3N0B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N0C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0C_sram.ld" -Wl,-Map,"SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_sram.map" -o "SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_sram.elf" SAM3N0C_obj/sram_main.o SAM3N0C_obj/sram_startup_sam3n.o SAM3N0C_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0C_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N0C_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0C_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N0C_flash.ld" -Wl,-Map,"SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_flash.map" -o "SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_flash.elf" SAM3N0C_obj/flash_main.o SAM3N0C_obj/flash_startup_sam3n.o SAM3N0C_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N0C_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N0C_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N0C_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N0C_bin/cmsis_example_SAM3N_EK_SAM3N0C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N1A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1A_sram.ld" -Wl,-Map,"SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_sram.map" -o "SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_sram.elf" SAM3N1A_obj/sram_main.o SAM3N1A_obj/sram_startup_sam3n.o SAM3N1A_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1A_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N1A_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1A_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1A_flash.ld" -Wl,-Map,"SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_flash.map" -o "SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_flash.elf" SAM3N1A_obj/flash_main.o SAM3N1A_obj/flash_startup_sam3n.o SAM3N1A_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1A_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N1A_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1A_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N1A_bin/cmsis_example_SAM3N_EK_SAM3N1A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N1B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1B_sram.ld" -Wl,-Map,"SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_sram.map" -o "SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_sram.elf" SAM3N1B_obj/sram_main.o SAM3N1B_obj/sram_startup_sam3n.o SAM3N1B_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1B_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N1B_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1B_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1B_flash.ld" -Wl,-Map,"SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_flash.map" -o "SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_flash.elf" SAM3N1B_obj/flash_main.o SAM3N1B_obj/flash_startup_sam3n.o SAM3N1B_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1B_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N1B_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1B_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N1B_bin/cmsis_example_SAM3N_EK_SAM3N1B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N1C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1C_sram.ld" -Wl,-Map,"SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_sram.map" -o "SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_sram.elf" SAM3N1C_obj/sram_main.o SAM3N1C_obj/sram_startup_sam3n.o SAM3N1C_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1C_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N1C_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1C_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N1C_flash.ld" -Wl,-Map,"SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_flash.map" -o "SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_flash.elf" SAM3N1C_obj/flash_main.o SAM3N1C_obj/flash_startup_sam3n.o SAM3N1C_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N1C_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N1C_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N1C_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N1C_bin/cmsis_example_SAM3N_EK_SAM3N1C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N2A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2A_sram.ld" -Wl,-Map,"SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_sram.map" -o "SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_sram.elf" SAM3N2A_obj/sram_main.o SAM3N2A_obj/sram_startup_sam3n.o SAM3N2A_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2A_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N2A_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2A_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2A_flash.ld" -Wl,-Map,"SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_flash.map" -o "SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_flash.elf" SAM3N2A_obj/flash_main.o SAM3N2A_obj/flash_startup_sam3n.o SAM3N2A_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2A_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N2A_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2A_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N2A_bin/cmsis_example_SAM3N_EK_SAM3N2A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N2B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2B_sram.ld" -Wl,-Map,"SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_sram.map" -o "SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_sram.elf" SAM3N2B_obj/sram_main.o SAM3N2B_obj/sram_startup_sam3n.o SAM3N2B_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2B_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N2B_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2B_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2B_flash.ld" -Wl,-Map,"SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_flash.map" -o "SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_flash.elf" SAM3N2B_obj/flash_main.o SAM3N2B_obj/flash_startup_sam3n.o SAM3N2B_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2B_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N2B_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2B_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N2B_bin/cmsis_example_SAM3N_EK_SAM3N2B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N2C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2C_sram.ld" -Wl,-Map,"SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_sram.map" -o "SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_sram.elf" SAM3N2C_obj/sram_main.o SAM3N2C_obj/sram_startup_sam3n.o SAM3N2C_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2C_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N2C_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2C_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N2C_flash.ld" -Wl,-Map,"SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_flash.map" -o "SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_flash.elf" SAM3N2C_obj/flash_main.o SAM3N2C_obj/flash_startup_sam3n.o SAM3N2C_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N2C_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N2C_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N2C_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N2C_bin/cmsis_example_SAM3N_EK_SAM3N2C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N4A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4A_sram.ld" -Wl,-Map,"SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_sram.map" -o "SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_sram.elf" SAM3N4A_obj/sram_main.o SAM3N4A_obj/sram_startup_sam3n.o SAM3N4A_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4A_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N4A_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4A_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4A_flash.ld" -Wl,-Map,"SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_flash.map" -o "SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_flash.elf" SAM3N4A_obj/flash_main.o SAM3N4A_obj/flash_startup_sam3n.o SAM3N4A_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4A_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N4A_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4A_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N4A_bin/cmsis_example_SAM3N_EK_SAM3N4A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N4B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4B_sram.ld" -Wl,-Map,"SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_sram.map" -o "SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_sram.elf" SAM3N4B_obj/sram_main.o SAM3N4B_obj/sram_startup_sam3n.o SAM3N4B_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4B_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N4B_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4B_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4B_flash.ld" -Wl,-Map,"SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_flash.map" -o "SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_flash.elf" SAM3N4B_obj/flash_main.o SAM3N4B_obj/flash_startup_sam3n.o SAM3N4B_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4B_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N4B_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4B_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N4B_bin/cmsis_example_SAM3N_EK_SAM3N4B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3N4C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4C_sram.ld" -Wl,-Map,"SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_sram.map" -o "SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_sram.elf" SAM3N4C_obj/sram_main.o SAM3N4C_obj/sram_startup_sam3n.o SAM3N4C_obj/sram_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4C_obj/sram_main.o
|
||||
310 0 0 310 136 SAM3N4C_obj/sram_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4C_obj/sram_system_sam3n.o
|
||||
796 4 544 1344 540 SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3n/source/gcc_atmel/SAM3N4C_flash.ld" -Wl,-Map,"SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_flash.map" -o "SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_flash.elf" SAM3N4C_obj/flash_main.o SAM3N4C_obj/flash_startup_sam3n.o SAM3N4C_obj/flash_system_sam3n.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3N4C_obj/flash_main.o
|
||||
310 0 0 310 136 SAM3N4C_obj/flash_startup_sam3n.o
|
||||
400 4 0 404 194 SAM3N4C_obj/flash_system_sam3n.o
|
||||
796 4 548 1348 544 SAM3N4C_bin/cmsis_example_SAM3N_EK_SAM3N4C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S1A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1A_sram.ld" -Wl,-Map,"SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_sram.map" -o "SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_sram.elf" SAM3S1A_obj/sram_main.o SAM3S1A_obj/sram_startup_sam3s.o SAM3S1A_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1A_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S1A_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1A_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1A_flash.ld" -Wl,-Map,"SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_flash.map" -o "SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_flash.elf" SAM3S1A_obj/flash_main.o SAM3S1A_obj/flash_startup_sam3s.o SAM3S1A_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1A_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S1A_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1A_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1A_bin/cmsis_example_SAM3S_EK_SAM3S1A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S1B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1B_sram.ld" -Wl,-Map,"SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_sram.map" -o "SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_sram.elf" SAM3S1B_obj/sram_main.o SAM3S1B_obj/sram_startup_sam3s.o SAM3S1B_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1B_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S1B_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1B_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1B_flash.ld" -Wl,-Map,"SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_flash.map" -o "SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_flash.elf" SAM3S1B_obj/flash_main.o SAM3S1B_obj/flash_startup_sam3s.o SAM3S1B_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1B_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S1B_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1B_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1B_bin/cmsis_example_SAM3S_EK_SAM3S1B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S1C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1C_sram.ld" -Wl,-Map,"SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_sram.map" -o "SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_sram.elf" SAM3S1C_obj/sram_main.o SAM3S1C_obj/sram_startup_sam3s.o SAM3S1C_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1C_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S1C_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1C_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S1C_flash.ld" -Wl,-Map,"SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_flash.map" -o "SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_flash.elf" SAM3S1C_obj/flash_main.o SAM3S1C_obj/flash_startup_sam3s.o SAM3S1C_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S1C_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S1C_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S1C_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S1C_bin/cmsis_example_SAM3S_EK_SAM3S1C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S2A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2A_sram.ld" -Wl,-Map,"SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_sram.map" -o "SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_sram.elf" SAM3S2A_obj/sram_main.o SAM3S2A_obj/sram_startup_sam3s.o SAM3S2A_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2A_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S2A_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2A_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2A_flash.ld" -Wl,-Map,"SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_flash.map" -o "SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_flash.elf" SAM3S2A_obj/flash_main.o SAM3S2A_obj/flash_startup_sam3s.o SAM3S2A_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2A_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S2A_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2A_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2A_bin/cmsis_example_SAM3S_EK_SAM3S2A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S2B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2B_sram.ld" -Wl,-Map,"SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_sram.map" -o "SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_sram.elf" SAM3S2B_obj/sram_main.o SAM3S2B_obj/sram_startup_sam3s.o SAM3S2B_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2B_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S2B_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2B_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2B_flash.ld" -Wl,-Map,"SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_flash.map" -o "SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_flash.elf" SAM3S2B_obj/flash_main.o SAM3S2B_obj/flash_startup_sam3s.o SAM3S2B_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2B_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S2B_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2B_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2B_bin/cmsis_example_SAM3S_EK_SAM3S2B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S2C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2C_sram.ld" -Wl,-Map,"SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_sram.map" -o "SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_sram.elf" SAM3S2C_obj/sram_main.o SAM3S2C_obj/sram_startup_sam3s.o SAM3S2C_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2C_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S2C_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2C_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S2C_flash.ld" -Wl,-Map,"SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_flash.map" -o "SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_flash.elf" SAM3S2C_obj/flash_main.o SAM3S2C_obj/flash_startup_sam3s.o SAM3S2C_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S2C_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S2C_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S2C_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S2C_bin/cmsis_example_SAM3S_EK_SAM3S2C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S4A
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4A_sram.ld" -Wl,-Map,"SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_sram.map" -o "SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_sram.elf" SAM3S4A_obj/sram_main.o SAM3S4A_obj/sram_startup_sam3s.o SAM3S4A_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4A_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S4A_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4A_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4A_flash.ld" -Wl,-Map,"SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_flash.map" -o "SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_flash.elf" SAM3S4A_obj/flash_main.o SAM3S4A_obj/flash_startup_sam3s.o SAM3S4A_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4A_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S4A_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4A_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4A_bin/cmsis_example_SAM3S_EK_SAM3S4A_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S4B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4B_sram.ld" -Wl,-Map,"SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_sram.map" -o "SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_sram.elf" SAM3S4B_obj/sram_main.o SAM3S4B_obj/sram_startup_sam3s.o SAM3S4B_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4B_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S4B_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4B_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4B_flash.ld" -Wl,-Map,"SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_flash.map" -o "SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_flash.elf" SAM3S4B_obj/flash_main.o SAM3S4B_obj/flash_startup_sam3s.o SAM3S4B_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4B_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S4B_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4B_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4B_bin/cmsis_example_SAM3S_EK_SAM3S4B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S4C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4C_sram.ld" -Wl,-Map,"SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_sram.map" -o "SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_sram.elf" SAM3S4C_obj/sram_main.o SAM3S4C_obj/sram_startup_sam3s.o SAM3S4C_obj/sram_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4C_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S4C_obj/sram_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4C_obj/sram_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3s/source/gcc_atmel/SAM3S4C_flash.ld" -Wl,-Map,"SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_flash.map" -o "SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_flash.elf" SAM3S4C_obj/flash_main.o SAM3S4C_obj/flash_startup_sam3s.o SAM3S4C_obj/flash_system_sam3s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S4C_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S4C_obj/flash_startup_sam3s.o
|
||||
412 4 0 416 1a0 SAM3S4C_obj/flash_system_sam3s.o
|
||||
808 4 548 1360 550 SAM3S4C_bin/cmsis_example_SAM3S_EK_SAM3S4C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S8B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3S8B_sram.ld" -Wl,-Map,"SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_sram.map" -o "SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_sram.elf" SAM3S8B_obj/sram_main.o SAM3S8B_obj/sram_startup_sam3sd8.o SAM3S8B_obj/sram_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S8B_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S8B_obj/sram_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3S8B_obj/sram_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3S8B_flash.ld" -Wl,-Map,"SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_flash.map" -o "SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_flash.elf" SAM3S8B_obj/flash_main.o SAM3S8B_obj/flash_startup_sam3sd8.o SAM3S8B_obj/flash_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S8B_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S8B_obj/flash_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3S8B_obj/flash_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3S8B_bin/cmsis_example_SAM3S_EK2_SAM3S8B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3S8C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3S8C_sram.ld" -Wl,-Map,"SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_sram.map" -o "SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_sram.elf" SAM3S8C_obj/sram_main.o SAM3S8C_obj/sram_startup_sam3sd8.o SAM3S8C_obj/sram_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S8C_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3S8C_obj/sram_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3S8C_obj/sram_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3S8C_flash.ld" -Wl,-Map,"SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_flash.map" -o "SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_flash.elf" SAM3S8C_obj/flash_main.o SAM3S8C_obj/flash_startup_sam3sd8.o SAM3S8C_obj/flash_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3S8C_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3S8C_obj/flash_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3S8C_obj/flash_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3S8C_bin/cmsis_example_SAM3S_EK2_SAM3S8C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3SD8B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3SD8B_sram.ld" -Wl,-Map,"SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_sram.map" -o "SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_sram.elf" SAM3SD8B_obj/sram_main.o SAM3SD8B_obj/sram_startup_sam3sd8.o SAM3SD8B_obj/sram_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3SD8B_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3SD8B_obj/sram_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3SD8B_obj/sram_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3SD8B_flash.ld" -Wl,-Map,"SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_flash.map" -o "SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_flash.elf" SAM3SD8B_obj/flash_main.o SAM3SD8B_obj/flash_startup_sam3sd8.o SAM3SD8B_obj/flash_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3SD8B_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3SD8B_obj/flash_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3SD8B_obj/flash_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3SD8B_bin/cmsis_example_SAM3S_EK2_SAM3SD8B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3SD8C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3SD8C_sram.ld" -Wl,-Map,"SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_sram.map" -o "SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_sram.elf" SAM3SD8C_obj/sram_main.o SAM3SD8C_obj/sram_startup_sam3sd8.o SAM3SD8C_obj/sram_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3SD8C_obj/sram_main.o
|
||||
322 0 0 322 142 SAM3SD8C_obj/sram_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3SD8C_obj/sram_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3sd8/source/gcc_atmel/SAM3SD8C_flash.ld" -Wl,-Map,"SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_flash.map" -o "SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_flash.elf" SAM3SD8C_obj/flash_main.o SAM3SD8C_obj/flash_startup_sam3sd8.o SAM3SD8C_obj/flash_system_sam3sd8.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3SD8C_obj/flash_main.o
|
||||
322 0 0 322 142 SAM3SD8C_obj/flash_startup_sam3sd8.o
|
||||
412 4 0 416 1a0 SAM3SD8C_obj/flash_system_sam3sd8.o
|
||||
808 4 548 1360 550 SAM3SD8C_bin/cmsis_example_SAM3S_EK2_SAM3SD8C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U1C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U1C_sram.ld" -Wl,-Map,"SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_sram.map" -o "SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_sram.elf" SAM3U1C_obj/sram_main.o SAM3U1C_obj/sram_startup_sam3u.o SAM3U1C_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U1C_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U1C_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U1C_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U1C_flash.ld" -Wl,-Map,"SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_flash.map" -o "SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_flash.elf" SAM3U1C_obj/flash_main.o SAM3U1C_obj/flash_startup_sam3u.o SAM3U1C_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U1C_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U1C_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U1C_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U1C_bin/cmsis_example_SAM3U_EK_SAM3U1C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U1E
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U1E_sram.ld" -Wl,-Map,"SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_sram.map" -o "SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_sram.elf" SAM3U1E_obj/sram_main.o SAM3U1E_obj/sram_startup_sam3u.o SAM3U1E_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U1E_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U1E_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U1E_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U1E_flash.ld" -Wl,-Map,"SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_flash.map" -o "SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_flash.elf" SAM3U1E_obj/flash_main.o SAM3U1E_obj/flash_startup_sam3u.o SAM3U1E_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U1E_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U1E_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U1E_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U1E_bin/cmsis_example_SAM3U_EK_SAM3U1E_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U2C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U2C_sram.ld" -Wl,-Map,"SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_sram.map" -o "SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_sram.elf" SAM3U2C_obj/sram_main.o SAM3U2C_obj/sram_startup_sam3u.o SAM3U2C_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U2C_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U2C_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U2C_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U2C_flash.ld" -Wl,-Map,"SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_flash.map" -o "SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_flash.elf" SAM3U2C_obj/flash_main.o SAM3U2C_obj/flash_startup_sam3u.o SAM3U2C_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U2C_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U2C_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U2C_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U2C_bin/cmsis_example_SAM3U_EK_SAM3U2C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U2E
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U2E_sram.ld" -Wl,-Map,"SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_sram.map" -o "SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_sram.elf" SAM3U2E_obj/sram_main.o SAM3U2E_obj/sram_startup_sam3u.o SAM3U2E_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U2E_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U2E_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U2E_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U2E_flash.ld" -Wl,-Map,"SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_flash.map" -o "SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_flash.elf" SAM3U2E_obj/flash_main.o SAM3U2E_obj/flash_startup_sam3u.o SAM3U2E_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U2E_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U2E_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U2E_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U2E_bin/cmsis_example_SAM3U_EK_SAM3U2E_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U4C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U4C_sram.ld" -Wl,-Map,"SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_sram.map" -o "SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_sram.elf" SAM3U4C_obj/sram_main.o SAM3U4C_obj/sram_startup_sam3u.o SAM3U4C_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U4C_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U4C_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U4C_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U4C_flash.ld" -Wl,-Map,"SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_flash.map" -o "SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_flash.elf" SAM3U4C_obj/flash_main.o SAM3U4C_obj/flash_startup_sam3u.o SAM3U4C_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U4C_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U4C_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U4C_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U4C_bin/cmsis_example_SAM3U_EK_SAM3U4C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3U4E
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U4E_sram.ld" -Wl,-Map,"SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_sram.map" -o "SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_sram.elf" SAM3U4E_obj/sram_main.o SAM3U4E_obj/sram_startup_sam3u.o SAM3U4E_obj/sram_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U4E_obj/sram_main.o
|
||||
302 0 0 302 12e SAM3U4E_obj/sram_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U4E_obj/sram_system_sam3u.o
|
||||
788 4 544 1336 538 SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3u/source/gcc_atmel/SAM3U4E_flash.ld" -Wl,-Map,"SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_flash.map" -o "SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_flash.elf" SAM3U4E_obj/flash_main.o SAM3U4E_obj/flash_startup_sam3u.o SAM3U4E_obj/flash_system_sam3u.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3U4E_obj/flash_main.o
|
||||
302 0 0 302 12e SAM3U4E_obj/flash_startup_sam3u.o
|
||||
436 4 0 440 1b8 SAM3U4E_obj/flash_system_sam3u.o
|
||||
788 4 548 1340 53c SAM3U4E_bin/cmsis_example_SAM3U_EK_SAM3U4E_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3A4C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3A4C_sram.ld" -Wl,-Map,"SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_sram.map" -o "SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_sram.elf" SAM3A4C_obj/sram_main.o SAM3A4C_obj/sram_startup_sam3xa.o SAM3A4C_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3A4C_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3A4C_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3A4C_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3A4C_flash.ld" -Wl,-Map,"SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_flash.map" -o "SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_flash.elf" SAM3A4C_obj/flash_main.o SAM3A4C_obj/flash_startup_sam3xa.o SAM3A4C_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3A4C_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3A4C_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3A4C_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3A4C_bin/cmsis_example_SAM3X_EK_SAM3A4C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3A8C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3A8C_sram.ld" -Wl,-Map,"SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_sram.map" -o "SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_sram.elf" SAM3A8C_obj/sram_main.o SAM3A8C_obj/sram_startup_sam3xa.o SAM3A8C_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3A8C_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3A8C_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3A8C_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3A8C_flash.ld" -Wl,-Map,"SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_flash.map" -o "SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_flash.elf" SAM3A8C_obj/flash_main.o SAM3A8C_obj/flash_startup_sam3xa.o SAM3A8C_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3A8C_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3A8C_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3A8C_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3A8C_bin/cmsis_example_SAM3X_EK_SAM3A8C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3X4C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X4C_sram.ld" -Wl,-Map,"SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_sram.map" -o "SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_sram.elf" SAM3X4C_obj/sram_main.o SAM3X4C_obj/sram_startup_sam3xa.o SAM3X4C_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X4C_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3X4C_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X4C_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X4C_flash.ld" -Wl,-Map,"SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_flash.map" -o "SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_flash.elf" SAM3X4C_obj/flash_main.o SAM3X4C_obj/flash_startup_sam3xa.o SAM3X4C_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X4C_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3X4C_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X4C_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X4C_bin/cmsis_example_SAM3X_EK_SAM3X4C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3X4E
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X4E_sram.ld" -Wl,-Map,"SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_sram.map" -o "SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_sram.elf" SAM3X4E_obj/sram_main.o SAM3X4E_obj/sram_startup_sam3xa.o SAM3X4E_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X4E_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3X4E_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X4E_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X4E_flash.ld" -Wl,-Map,"SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_flash.map" -o "SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_flash.elf" SAM3X4E_obj/flash_main.o SAM3X4E_obj/flash_startup_sam3xa.o SAM3X4E_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X4E_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3X4E_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X4E_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X4E_bin/cmsis_example_SAM3X_EK_SAM3X4E_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3X8C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8C_sram.ld" -Wl,-Map,"SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_sram.map" -o "SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_sram.elf" SAM3X8C_obj/sram_main.o SAM3X8C_obj/sram_startup_sam3xa.o SAM3X8C_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8C_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3X8C_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8C_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8C_flash.ld" -Wl,-Map,"SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_flash.map" -o "SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_flash.elf" SAM3X8C_obj/flash_main.o SAM3X8C_obj/flash_startup_sam3xa.o SAM3X8C_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8C_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3X8C_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8C_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8C_bin/cmsis_example_SAM3X_EK_SAM3X8C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3X8E
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8E_sram.ld" -Wl,-Map,"SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_sram.map" -o "SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_sram.elf" SAM3X8E_obj/sram_main.o SAM3X8E_obj/sram_startup_sam3xa.o SAM3X8E_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8E_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3X8E_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8E_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8E_flash.ld" -Wl,-Map,"SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_flash.map" -o "SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_flash.elf" SAM3X8E_obj/flash_main.o SAM3X8E_obj/flash_startup_sam3xa.o SAM3X8E_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8E_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3X8E_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8E_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8E_bin/cmsis_example_SAM3X_EK_SAM3X8E_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM3X8H
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8H_sram.ld" -Wl,-Map,"SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_sram.map" -o "SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_sram.elf" SAM3X8H_obj/sram_main.o SAM3X8H_obj/sram_startup_sam3xa.o SAM3X8H_obj/sram_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8H_obj/sram_main.o
|
||||
362 0 0 362 16a SAM3X8H_obj/sram_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8H_obj/sram_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_sram.elf
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam3xa/source/gcc_atmel/SAM3X8H_flash.ld" -Wl,-Map,"SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_flash.map" -o "SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_flash.elf" SAM3X8H_obj/flash_main.o SAM3X8H_obj/flash_startup_sam3xa.o SAM3X8H_obj/flash_system_sam3xa.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM3X8H_obj/flash_main.o
|
||||
362 0 0 362 16a SAM3X8H_obj/flash_startup_sam3xa.o
|
||||
436 4 0 440 1b8 SAM3X8H_obj/flash_system_sam3xa.o
|
||||
848 4 548 1400 578 SAM3X8H_bin/cmsis_example_SAM3X_EK_SAM3X8H_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM4S8B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S8B_sram.ld" -Wl,-Map,"SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_sram.map" -o "SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_sram.elf" SAM4S8B_obj/sram_main.o SAM4S8B_obj/sram_startup_sam4s.o SAM4S8B_obj/sram_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S8B_obj/sram_main.o
|
||||
298 0 0 298 12a SAM4S8B_obj/sram_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S8B_obj/sram_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_sram.elf
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S8B_flash.ld" -Wl,-Map,"SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_flash.map" -o "SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_flash.elf" SAM4S8B_obj/flash_main.o SAM4S8B_obj/flash_startup_sam4s.o SAM4S8B_obj/flash_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S8B_obj/flash_main.o
|
||||
298 0 0 298 12a SAM4S8B_obj/flash_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S8B_obj/flash_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S8B_bin/cmsis_example_SAM4S_EK_SAM4S8B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM4S8C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S8C_sram.ld" -Wl,-Map,"SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_sram.map" -o "SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_sram.elf" SAM4S8C_obj/sram_main.o SAM4S8C_obj/sram_startup_sam4s.o SAM4S8C_obj/sram_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S8C_obj/sram_main.o
|
||||
298 0 0 298 12a SAM4S8C_obj/sram_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S8C_obj/sram_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_sram.elf
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S8C_flash.ld" -Wl,-Map,"SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_flash.map" -o "SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_flash.elf" SAM4S8C_obj/flash_main.o SAM4S8C_obj/flash_startup_sam4s.o SAM4S8C_obj/flash_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S8C_obj/flash_main.o
|
||||
298 0 0 298 12a SAM4S8C_obj/flash_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S8C_obj/flash_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S8C_bin/cmsis_example_SAM4S_EK_SAM4S8C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM4S16B
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S16B_sram.ld" -Wl,-Map,"SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_sram.map" -o "SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_sram.elf" SAM4S16B_obj/sram_main.o SAM4S16B_obj/sram_startup_sam4s.o SAM4S16B_obj/sram_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S16B_obj/sram_main.o
|
||||
298 0 0 298 12a SAM4S16B_obj/sram_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S16B_obj/sram_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_sram.elf
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S16B_flash.ld" -Wl,-Map,"SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_flash.map" -o "SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_flash.elf" SAM4S16B_obj/flash_main.o SAM4S16B_obj/flash_startup_sam4s.o SAM4S16B_obj/flash_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S16B_obj/flash_main.o
|
||||
298 0 0 298 12a SAM4S16B_obj/flash_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S16B_obj/flash_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S16B_bin/cmsis_example_SAM4S_EK_SAM4S16B_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
---
|
||||
---
|
||||
--- Making SAM4S16C
|
||||
---
|
||||
make[1]: Entering directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S16C_sram.ld" -Wl,-Map,"SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_sram.map" -o "SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_sram.elf" SAM4S16C_obj/sram_main.o SAM4S16C_obj/sram_startup_sam4s.o SAM4S16C_obj/sram_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S16C_obj/sram_main.o
|
||||
298 0 0 298 12a SAM4S16C_obj/sram_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S16C_obj/sram_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_sram.elf
|
||||
../../../Device/ATMEL/sam4s/source/system_sam4s.c:176:6: warning: no previous prototype for 'system_init_flash' [-Wmissing-prototypes]
|
||||
arm-none-eabi-gcc -L=/lib/thumb2 -L"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel" -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -T"S:/CMSIS_svn/trunk/Device/ATMEL/sam4s/source/gcc_atmel/SAM4S16C_flash.ld" -Wl,-Map,"SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_flash.map" -o "SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_flash.elf" SAM4S16C_obj/flash_main.o SAM4S16C_obj/flash_startup_sam4s.o SAM4S16C_obj/flash_system_sam4s.o -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
text data bss dec hex filename
|
||||
136 0 4 140 8c SAM4S16C_obj/flash_main.o
|
||||
298 0 0 298 12a SAM4S16C_obj/flash_startup_sam4s.o
|
||||
412 4 0 416 1a0 SAM4S16C_obj/flash_system_sam4s.o
|
||||
784 4 548 1336 538 SAM4S16C_bin/cmsis_example_SAM4S_EK_SAM4S16C_flash.elf
|
||||
make[1]: Leaving directory `S:/CMSIS_svn/trunk/Examples/cmsis_example/gcc_atmel'
|
@@ -0,0 +1,50 @@
|
||||
* Make-3.81 for Windows *
|
||||
=========================
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
Make: GNU make utility to maintain groups of programs
|
||||
|
||||
Description
|
||||
-----------
|
||||
Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the non-source files and how to compute it from other files. When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program. Capabilities of Make - Make enables the end user to build and install your package without knowing the details of how that is done -- because these details are recorded in the makefile that you supply. - Make figures out automatically which files it needs to update, based on which source files have changed. It also automatically determines the proper order for updating files, in case one non-source file depends on another non-source file. As a result, if you change a few source files and then run Make, it does not need to recompile all of your program. It updates only those non-source files that depend directly or indirectly on the source files that you changed. - Make is not limited to any particular language. For each non-source file in the program, the makefile specifies the shell commands to compute it. These shell commands can run a compiler to produce an object file, the linker to produce an executable, ar to update a library, or TeX or Makeinfo to format documentation. - Make is not limited to building a package. You can also use Make to control installing or deinstalling a package, generate tags tables for it, or anything else you want to do often enough to make it worth while writing down how to do it.
|
||||
|
||||
Homepage
|
||||
--------
|
||||
http://www.gnu.org/software/make
|
||||
|
||||
System
|
||||
------
|
||||
- Win32, i.e. MS-Windows 95 / 98 / ME / NT / 2000 / XP / 2003 with msvcrt.dll
|
||||
- if msvcrt.dll is not in your Windows/System folder, get it from
|
||||
Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403">
|
||||
or by installing Internet Explorer 4.0 or higher
|
||||
<http://www.microsoft.com/windows/ie>
|
||||
- libintl3 <http://gnuwin32.sourceforge.net/packages/libintl3.htm>
|
||||
- libiconv2 <http://gnuwin32.sourceforge.net/packages/libiconv2.htm>
|
||||
|
||||
Notes
|
||||
-----
|
||||
- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net
|
||||
|
||||
Package Availability
|
||||
--------------------
|
||||
- in: http://gnuwin32.sourceforge.net
|
||||
Installation
|
||||
------------
|
||||
|
||||
Sources
|
||||
-------
|
||||
- make-3.81-src.zip
|
||||
|
||||
Compilation
|
||||
-----------
|
||||
The package has been compiled with GNU auto-tools, GNU make, and Mingw
|
||||
(GCC for MS-Windows). Any differences from the original sources are given
|
||||
in make-3.81-GnuWin32.diffs in make-3.81-src.zip. Libraries needed
|
||||
for compilation can be found at the lines starting with 'LIBS = ' in the
|
||||
Makefiles. Usually, these are standard libraries provided with Mingw, or
|
||||
libraries from the package itself; 'gw32c' refers to the libgw32c package,
|
||||
which provides MS-Windows substitutes or stubs for functions normally found in
|
||||
Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
|
||||
and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
|
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3N4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x00400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x00400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3U4E
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3X8H
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,32 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device (Should be AT91SAM4S16C, but it is not available now)
|
||||
monitor flash device = AT91SAM4S16C
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
mon reg pc=(0x400004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,27 @@
|
||||
#*************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
mon reg pc=(0x20000004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,37 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# define SAM series
|
||||
SAM3N=SAM3N00A SAM3N00B SAM3N0A SAM3N0B SAM3N0C SAM3N1A SAM3N1B SAM3N1C SAM3N2A SAM3N2B SAM3N2C SAM3N4A SAM3N4B SAM3N4C
|
||||
SAM3S=SAM3S1A SAM3S1B SAM3S1C SAM3S2A SAM3S2B SAM3S2C SAM3S4A SAM3S4B SAM3S4C
|
||||
SAM3SD8=SAM3S8B SAM3S8C SAM3SD8B SAM3SD8C
|
||||
SAM3U=SAM3U1C SAM3U1E SAM3U2C SAM3U2E SAM3U4C SAM3U4E
|
||||
SAM3XA=SAM3A4C SAM3A8C SAM3X4C SAM3X4E SAM3X8C SAM3X8E SAM3X8H
|
||||
SAM4S=SAM4S8B SAM4S8C SAM4S16B SAM4S16C
|
||||
|
||||
SAM_SERIES=$(SAM3N) $(SAM3S) $(SAM3SD8) $(SAM3U) $(SAM3XA) $(SAM4S)
|
@@ -0,0 +1,75 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# make inner variables
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# custom variables
|
||||
BUILD_NUMBER :=
|
||||
BUILDS :=
|
||||
CLEANS :=
|
||||
|
||||
# Build macro
|
||||
define BUILD_SERIES
|
||||
|
||||
# output test number information
|
||||
$(info Defining cmsis_example_$(1)_build and cmsis_example_$(1)_clean)
|
||||
|
||||
# add the incoming targets to global targets
|
||||
BUILDS += cmsis_example_$(1)_build
|
||||
CLEANS += cmsis_example_$(1)_clean
|
||||
BUILD_NUMBER += x
|
||||
|
||||
.PHONY: cmsis_example_$(1)_build
|
||||
cmsis_example_$(1)_build:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Making $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) -f cmsis_example.mk
|
||||
|
||||
.PHONY: cmsis_example_$(1)_clean
|
||||
cmsis_example_$(1)_clean:
|
||||
@echo ---
|
||||
@echo ---
|
||||
@echo --- Cleaning $(1)
|
||||
@echo ---
|
||||
@$(MAKE) CHIP=$(1) clean -f cmsis_example.mk
|
||||
endef
|
||||
|
||||
# define SAM series
|
||||
include sam_series.mk
|
||||
|
||||
$(foreach SERIES, $(SAM_SERIES), $(eval $(call BUILD_SERIES,$(SERIES))))
|
||||
|
||||
# output test number information
|
||||
$(info Number of devices to be tested $(words $(BUILD_NUMBER)) / $(words $(SAM_SERIES)))
|
||||
|
||||
all: $(BUILDS)
|
||||
|
||||
clean: $(CLEANS)
|
@@ -0,0 +1 @@
|
||||
@make --no-builtin-rules --no-builtin-variables >log.txt 2>&1
|
@@ -0,0 +1 @@
|
||||
@make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1
|
@@ -0,0 +1,197 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# User-modifiable options
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
ifeq ('$(CHIP)','')
|
||||
$(error CHIP not defined)
|
||||
endif
|
||||
|
||||
include sam_series.mk
|
||||
|
||||
# fill the needed variables
|
||||
ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3N)))
|
||||
|
||||
BOARD:=SAM3N_EK
|
||||
SERIES:=sam3n
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3S)))
|
||||
|
||||
BOARD:=SAM3S_EK
|
||||
SERIES:=sam3s
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3SD8)))
|
||||
|
||||
BOARD:=SAM3S_EK2
|
||||
SERIES:=sam3sd8
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3U)))
|
||||
|
||||
BOARD:=SAM3U_EK
|
||||
SERIES:=sam3u
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM3XA)))
|
||||
|
||||
BOARD:=SAM3X_EK
|
||||
SERIES:=sam3xa
|
||||
|
||||
else ifeq ($(CHIP),$(findstring $(CHIP), $(SAM4S)))
|
||||
|
||||
BOARD:=SAM4S_EK
|
||||
SERIES:=sam4s
|
||||
|
||||
endif
|
||||
|
||||
|
||||
# Defines which are the available memory targets for the device.
|
||||
MEMORIES = sram flash
|
||||
|
||||
# Optimization level, put in comment for debugging
|
||||
OPTIMIZATION = -Os
|
||||
|
||||
# Output directories
|
||||
BIN = $(CHIP)_bin
|
||||
OBJ = $(CHIP)_obj
|
||||
|
||||
# Output file basename
|
||||
OUTPUT_BIN = $(BIN)/cmsis_example_$(BOARD)_$(CHIP)
|
||||
|
||||
# GCC toolchain provider
|
||||
GCC_TOOLCHAIN=gcc_atmel
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Tools
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Toolchain prefix when cross-compiling
|
||||
CROSS_COMPILE = arm-none-eabi-
|
||||
|
||||
CMSIS_ROOT=../../..
|
||||
CMSIS_PATH=$(CMSIS_ROOT)/CMSIS/Include
|
||||
SAM_PATH=$(CMSIS_ROOT)/Device/ATMEL
|
||||
DEVICE_PATH=$(SAM_PATH)/$(SERIES)/source
|
||||
|
||||
LIBS = -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||
|
||||
LIB_PATH+=-L=/lib/thumb2
|
||||
LIB_PATH+=-L"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN))"
|
||||
|
||||
# Compilation tools
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
SIZE = $(CROSS_COMPILE)size
|
||||
STRIP = $(CROSS_COMPILE)strip
|
||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
GDB = $(CROSS_COMPILE)gdb
|
||||
NM = $(CROSS_COMPILE)nm
|
||||
RM = rm
|
||||
|
||||
# Flags
|
||||
INCLUDES := -I"$(CMSIS_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)"
|
||||
INCLUDES += -I"$(SAM_PATH)/$(SERIES)/include"
|
||||
|
||||
CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int
|
||||
CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses
|
||||
CFLAGS += -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused
|
||||
CFLAGS += -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef
|
||||
CFLAGS += -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings
|
||||
CFLAGS += -Wsign-compare -Waggregate-return -Wstrict-prototypes
|
||||
CFLAGS += -Wmissing-prototypes -Wmissing-declarations
|
||||
CFLAGS += -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations
|
||||
CFLAGS += -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wlong-long
|
||||
CFLAGS += -Wunreachable-code
|
||||
CFLAGS += -Wcast-align
|
||||
#CFLAGS += -Wmissing-noreturn
|
||||
#CFLAGS += -Wconversion
|
||||
|
||||
# To reduce application size use only integer printf function.
|
||||
CFLAGS += -Dprintf=iprintf
|
||||
|
||||
# CFLAGS += -mlong-calls -Wall
|
||||
# CFLAGS += -ansi
|
||||
CFLAGS += -std=c99
|
||||
CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -ffunction-sections
|
||||
CFLAGS += -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -DBOARD=$(BOARD)
|
||||
ASFLAGS = -mcpu=cortex-m3 -mthumb -Wall -g $(OPTIMIZATION) $(INCLUDES) -D__$(CHIP)__ -D__ASSEMBLY__
|
||||
LDFLAGS= -mcpu=cortex-m3 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--defsym=STACK_SIZE=0x200 -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols
|
||||
#LD_OPTIONAL=-Wl,--print-gc-sections -Wl,--stats
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Files
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# Directories where source files can be found
|
||||
|
||||
VPATH += ..
|
||||
VPATH += $(DEVICE_PATH)
|
||||
VPATH += $(DEVICE_PATH)/$(GCC_TOOLCHAIN)
|
||||
|
||||
# Objects built from C source files
|
||||
C_OBJECTS += main.o
|
||||
C_OBJECTS += startup_$(SERIES).o
|
||||
C_OBJECTS += system_$(SERIES).o
|
||||
|
||||
# Append OBJ and BIN directories to output filename
|
||||
OUTPUT := $(BIN)/$(OUTPUT_BIN)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Rules
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
all: $(BIN) $(OBJ) $(MEMORIES)
|
||||
|
||||
$(BIN) $(OBJ):
|
||||
-@mkdir $@
|
||||
|
||||
define RULES
|
||||
C_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(C_OBJECTS))
|
||||
ASM_OBJECTS_$(1) = $(addprefix $(OBJ)/$(1)_, $(ASM_OBJECTS))
|
||||
|
||||
$(1): $$(ASM_OBJECTS_$(1)) $$(C_OBJECTS_$(1))
|
||||
$(CC) $(LIB_PATH) $(LDFLAGS) $(LD_OPTIONAL) -T"$(realpath $(DEVICE_PATH)/$(GCC_TOOLCHAIN)/$(CHIP)_$$@.ld)" -Wl,-Map,"$(OUTPUT_BIN)_$$@.map" -o "$(OUTPUT_BIN)_$$@.elf" $$^ $(LIBS)
|
||||
@$(NM) "$(OUTPUT_BIN)_$$@.elf" >"$(OUTPUT_BIN)_$$@.elf.txt"
|
||||
@$(OBJCOPY) -O binary "$(OUTPUT_BIN)_$$@.elf" "$(OUTPUT_BIN)_$$@.bin"
|
||||
@$(SIZE) $$^ "$(OUTPUT_BIN)_$$@.elf"
|
||||
|
||||
$$(C_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.c Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(CFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
$$(ASM_OBJECTS_$(1)): $(OBJ)/$(1)_%.o: %.S Makefile $(OBJ) $(BIN)
|
||||
@$(CC) $(ASFLAGS) -D$(1) -c -o $$@ $$<
|
||||
|
||||
debug_$(1): $(1)
|
||||
$(GDB) -x "$(CHIP)_$(1).gdb" -ex "reset" -readnow -se "$(OUTPUT_BIN)_$(1).elf"
|
||||
endef
|
||||
|
||||
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
|
||||
|
||||
clean:
|
||||
-$(RM) -fR $(OBJ) $(BIN)
|
@@ -0,0 +1,151 @@
|
||||
* CoreUtils-5.3.0 for Windows *
|
||||
===============================
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
CoreUtils: collection of basic file, shell and text manipulation utilities
|
||||
|
||||
Description
|
||||
-----------
|
||||
The GNU Core Utilities are the basic file, shell and text manipulation utilities
|
||||
of the GNU operating system. These are the core utilities which are expected to
|
||||
exist on every operating system.
|
||||
|
||||
File utilities:
|
||||
|
||||
- chgrp: Changes file group ownership.
|
||||
- chown: Changes file ownership.
|
||||
- chmod: Changes file permissions.
|
||||
- cp: Copies files.
|
||||
- dd: Copies and converts a file.
|
||||
- df: Shows disk free space on filesystems.
|
||||
- dir: Gives a brief directory listing.
|
||||
- dircolors: Setup program for the color output of GNU ls.
|
||||
- du: Shows disk usage on filesystems.
|
||||
- install: Copies file and sets its permissions.
|
||||
- ln: Creates file links.
|
||||
- ls: Lists directory contents.
|
||||
- mkdir: Creates directories.
|
||||
- mkfifo: Creates FIFOs (named pipes).
|
||||
- mknod: Creates special files.
|
||||
- mv: Moves files.
|
||||
- rm: Removes (deletes) files.
|
||||
- rmdir: Removes empty directories.
|
||||
- shred: Destroy data in files.
|
||||
- sync: Synchronizes filesystem buffers and disk.
|
||||
- touch: Changes file timestamps.
|
||||
- vdir: Long directory listing.
|
||||
|
||||
|
||||
Text utilities:
|
||||
|
||||
- cat: concatenates and prints files on the standard output
|
||||
- cksum: checksum and count the bytes in a file
|
||||
- comm: compares two sorted files line by line
|
||||
- csplit: splits a file into sections determined by context lines
|
||||
- cut: remove sections from each line of files
|
||||
- expand: convert tabs to spaces
|
||||
- fmt: simple optimal text formatter
|
||||
- fold: wrap each input line to fit in specified width
|
||||
- head: output the first part of files
|
||||
- join: join lines of two files on a common field
|
||||
- md5sum: compute and check MD5 messsage digest
|
||||
- nl: number lines of files
|
||||
- od: dump files in octal and other formats
|
||||
- paste: merge lines of files
|
||||
- ptx: produce a permuted index of file contents
|
||||
- pr: convert text files for printing
|
||||
- shasum: compute and check SHA1 message digest
|
||||
- sort: sort lines of text files
|
||||
- split: split a file into pieces
|
||||
- sum: checksum and count the blocks in a file
|
||||
- tac: concatenates and prints files in reverse
|
||||
- tail: outputs the last part of files
|
||||
- tr: translates or deletes characters
|
||||
- tsort: perform topological sort
|
||||
- unexpand: convert spaces to tabs
|
||||
- uniq: remove duplicate lines from a sorted file
|
||||
- wc: prints the number of bytes, words, and lines in files
|
||||
|
||||
|
||||
Shell utilities:
|
||||
|
||||
- [ - Check file types and compare values
|
||||
- basename - Removes the path prefix from a given pathname.
|
||||
- chroot - Changes the root directory.
|
||||
- date - Prints/sets the system date and time.
|
||||
- dirname - Removes the last level or filename from a given pathname.
|
||||
- echo - Prints a line of text.
|
||||
- env - Displays/modifies the environment.
|
||||
- expr - Evaluates expressions.
|
||||
- factor - Prints prime factors.
|
||||
- false - Returns an unsuccessful exit status.
|
||||
- groups - Print the groups that the user is a member of.
|
||||
- hostid - Print the numeric identifier for the current host
|
||||
- hostname - Print or set the machine name.
|
||||
- id - Print real/effective uid/gid.
|
||||
- logname - Print current login name.
|
||||
- nice - Modify scheduling priority.
|
||||
- nohup - Allows a command to continue running after logging out.
|
||||
- pathchk - Check file name portability.
|
||||
- pinky - Lightweight finger
|
||||
- printenv - Prints environment variables.
|
||||
- printf - Formats and prints data.
|
||||
- pwd - Print the current working directory.
|
||||
- seq - Print numeric sequences.
|
||||
- sleep - Suspends execution for a specified time.
|
||||
- stty - Print/change terminal settings.
|
||||
- su - Allows you to adopt the id of another user or superuser.
|
||||
- tee - Sends output to multiple files.
|
||||
- test - Evaluates an expression.
|
||||
- true - Returns a successful exit status.
|
||||
- tty - Print terminal name.
|
||||
- uname - Print system information.
|
||||
- users - Print current user names.
|
||||
- who - Print a list of all users currently logged in.
|
||||
- whoami - Print effective user id.
|
||||
- yes - Print a string repeatedly.
|
||||
|
||||
Homepage
|
||||
--------
|
||||
http://www.gnu.org/software/coreutils
|
||||
|
||||
System
|
||||
------
|
||||
- MS-Windows 95 / 98 / ME / NT / 2000 / XP with msvcrt.dll
|
||||
- if msvcrt.dll is not in your Windows/System folder, get it from
|
||||
Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403">
|
||||
or by installing Internet Explorer 4.0 or higher
|
||||
<http://www.microsoft.com/windows/ie>
|
||||
- libintl-2 <http://gnuwin32.sourceforge.net/packages/libintl.htm>
|
||||
- libiconv-2 <http://gnuwin32.sourceforge.net/packages/libiconv.htm>
|
||||
|
||||
Notes
|
||||
-----
|
||||
- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net
|
||||
|
||||
Package Availability
|
||||
--------------------
|
||||
- in: http://gnuwin32.sourceforge.net
|
||||
Installation
|
||||
------------
|
||||
The MS-Windows version of ln implements soft links as MS-Windows
|
||||
shortcuts. If necessary, it adds the extension .lnk
|
||||
Hard links are implemented as copies on MS-Windows-95 / 98 / ME,
|
||||
and as hard linls on MS-Windows-NT / 2000 / XP.
|
||||
|
||||
Sources
|
||||
-------
|
||||
- coreutils-5.3.0-src.zip
|
||||
|
||||
Compilation
|
||||
-----------
|
||||
The package has been compiled with GNU auto-tools, GNU make, and Mingw
|
||||
(GCC for MS-Windows). Any differences from the original sources are given
|
||||
in coreutils-5.3.0-GnuWin32.diffs in coreutils-5.3.0-src.zip. Libraries needed
|
||||
for compilation can be found at the lines starting with 'LIBS = ' in the
|
||||
Makefiles. Usually, these are standard libraries provided with Mingw, or
|
||||
libraries from the package itself; 'gw32c' refers to the libgw32c package,
|
||||
which provides MS-Windows substitutes or stubs for functions normally found in
|
||||
Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
|
||||
and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
|
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,50 @@
|
||||
* Make-3.81 for Windows *
|
||||
=========================
|
||||
|
||||
What is it?
|
||||
-----------
|
||||
Make: GNU make utility to maintain groups of programs
|
||||
|
||||
Description
|
||||
-----------
|
||||
Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the non-source files and how to compute it from other files. When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program. Capabilities of Make - Make enables the end user to build and install your package without knowing the details of how that is done -- because these details are recorded in the makefile that you supply. - Make figures out automatically which files it needs to update, based on which source files have changed. It also automatically determines the proper order for updating files, in case one non-source file depends on another non-source file. As a result, if you change a few source files and then run Make, it does not need to recompile all of your program. It updates only those non-source files that depend directly or indirectly on the source files that you changed. - Make is not limited to any particular language. For each non-source file in the program, the makefile specifies the shell commands to compute it. These shell commands can run a compiler to produce an object file, the linker to produce an executable, ar to update a library, or TeX or Makeinfo to format documentation. - Make is not limited to building a package. You can also use Make to control installing or deinstalling a package, generate tags tables for it, or anything else you want to do often enough to make it worth while writing down how to do it.
|
||||
|
||||
Homepage
|
||||
--------
|
||||
http://www.gnu.org/software/make
|
||||
|
||||
System
|
||||
------
|
||||
- Win32, i.e. MS-Windows 95 / 98 / ME / NT / 2000 / XP / 2003 with msvcrt.dll
|
||||
- if msvcrt.dll is not in your Windows/System folder, get it from
|
||||
Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403">
|
||||
or by installing Internet Explorer 4.0 or higher
|
||||
<http://www.microsoft.com/windows/ie>
|
||||
- libintl3 <http://gnuwin32.sourceforge.net/packages/libintl3.htm>
|
||||
- libiconv2 <http://gnuwin32.sourceforge.net/packages/libiconv2.htm>
|
||||
|
||||
Notes
|
||||
-----
|
||||
- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net
|
||||
|
||||
Package Availability
|
||||
--------------------
|
||||
- in: http://gnuwin32.sourceforge.net
|
||||
Installation
|
||||
------------
|
||||
|
||||
Sources
|
||||
-------
|
||||
- make-3.81-src.zip
|
||||
|
||||
Compilation
|
||||
-----------
|
||||
The package has been compiled with GNU auto-tools, GNU make, and Mingw
|
||||
(GCC for MS-Windows). Any differences from the original sources are given
|
||||
in make-3.81-GnuWin32.diffs in make-3.81-src.zip. Libraries needed
|
||||
for compilation can be found at the lines starting with 'LIBS = ' in the
|
||||
Makefiles. Usually, these are standard libraries provided with Mingw, or
|
||||
libraries from the package itself; 'gw32c' refers to the libgw32c package,
|
||||
which provides MS-Windows substitutes or stubs for functions normally found in
|
||||
Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
|
||||
and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
|
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3N4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x00400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x00400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3N.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3S4C
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
#set *0x400004 = *0x400004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x400004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3S.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3U4E
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3U.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1200 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,35 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device
|
||||
monitor flash device = AT91SAM3X8H
|
||||
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x80000)
|
||||
#set *0x80004 = *0x80004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x80004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,29 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram on SAM3X.
|
||||
#
|
||||
|
||||
# Define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1a00 = 0xA5000004
|
||||
|
||||
# Initialize PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
#set *0x20000004 = *0x20000004 & 0xFFFFFFFE
|
||||
mon reg pc=(0x20000004)
|
||||
|
||||
info reg
|
||||
|
||||
# End of 'reset' command
|
||||
end
|
@@ -0,0 +1,32 @@
|
||||
#*******************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in flash.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Select flash device (Should be AT91SAM4S16C, but it is not available now)
|
||||
monitor flash device = AT91SAM4S16C
|
||||
# Enable flash download and flash breakpoints
|
||||
monitor flash download = 1
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x400000)
|
||||
mon reg pc=(0x400004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,27 @@
|
||||
#*************************************************
|
||||
#
|
||||
# Connect to J-Link and debug application in sram.
|
||||
#
|
||||
|
||||
# define 'reset' command
|
||||
define reset
|
||||
|
||||
# Connect to the J-Link gdb server
|
||||
target remote localhost:2331
|
||||
|
||||
# Reset the chip to get to a known state
|
||||
monitor reset
|
||||
|
||||
# Load the program
|
||||
load
|
||||
|
||||
# Reset peripheral (RSTC_CR)
|
||||
set *0x400e1400 = 0xA5000004
|
||||
|
||||
# Initializing PC and stack pointer
|
||||
mon reg sp=(0x20000000)
|
||||
mon reg pc=(0x20000004)
|
||||
info reg
|
||||
|
||||
# end of 'reset' command
|
||||
end
|
@@ -0,0 +1,37 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# ATMEL Microcontroller Software Support
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2010, Atmel Corporation
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following condition is met:
|
||||
#
|
||||
# - Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the disclaimer below.
|
||||
#
|
||||
# Atmel's name may not be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# define SAM series
|
||||
SAM3N=SAM3N00A SAM3N00B SAM3N0A SAM3N0B SAM3N0C SAM3N1A SAM3N1B SAM3N1C SAM3N2A SAM3N2B SAM3N2C SAM3N4A SAM3N4B SAM3N4C
|
||||
SAM3S=SAM3S1A SAM3S1B SAM3S1C SAM3S2A SAM3S2B SAM3S2C SAM3S4A SAM3S4B SAM3S4C
|
||||
SAM3SD8=SAM3S8B SAM3S8C SAM3SD8B SAM3SD8C
|
||||
SAM3U=SAM3U1C SAM3U1E SAM3U2C SAM3U2E SAM3U4C SAM3U4E
|
||||
SAM3XA=SAM3A4C SAM3A8C SAM3X4C SAM3X4E SAM3X8C SAM3X8E SAM3X8H
|
||||
SAM4S=SAM4S8B SAM4S8C SAM4S16B SAM4S16C
|
||||
|
||||
SAM_SERIES=$(SAM3N) $(SAM3S) $(SAM3SD8) $(SAM3U) $(SAM3XA) $(SAM4S)
|
@@ -0,0 +1,158 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* SAM Software Package License
|
||||
* ----------------------------------------------------------------------------
|
||||
* Copyright (c) 2012, Atmel Corporation
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following condition is met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the disclaimer below.
|
||||
*
|
||||
* Atmel's name may not be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* \brief CMSIS Example
|
||||
* \mainpage CMSIS Example
|
||||
*
|
||||
* \section Purpose
|
||||
*
|
||||
* The cmsis example will help new users get familiar with
|
||||
* basic cmsis utilities of SAM3 and SAM4 microcontrollers.
|
||||
*
|
||||
* The example will execute the following tests:
|
||||
* - The application will flash the LED per second. The second
|
||||
* is calculated by the standard system tick interface of cmsis.
|
||||
*
|
||||
* \section Requirements
|
||||
*
|
||||
* This package can be used with SAM3 and SAM4 evaluation kits.
|
||||
*
|
||||
* \section Description
|
||||
* The cmsis example will use the system tick of the Cortex-M.
|
||||
*
|
||||
* \section Usage
|
||||
*
|
||||
* -# Build the program and download it into the evaluation board. Please
|
||||
* refer to the
|
||||
* <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6224.pdf">
|
||||
* SAM-BA User Guide</a>, the
|
||||
* <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6310.pdf">
|
||||
* GNU-Based Software Development</a> application note or the
|
||||
* <a href="ftp://ftp.iar.se/WWWfiles/arm/Guides/EWARM_UserGuide.ENU.pdf">
|
||||
* IAR EWARM User Guide</a>, depending on the solutions that users choose.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "sam.h"
|
||||
|
||||
#include "conf_board.h"
|
||||
|
||||
__INLINE static void delay_ms(uint32_t dw_dly_ticks);
|
||||
__INLINE static void led_config(void);
|
||||
__INLINE static void led_on(uint32_t dw_led);
|
||||
__INLINE static void led_off(uint32_t dw_led);
|
||||
|
||||
/* Systick Counter */
|
||||
static volatile uint32_t dw_ms_ticks = 0U;
|
||||
|
||||
/**
|
||||
* \brief SysTick_Handler.
|
||||
*/
|
||||
void SysTick_Handler(void)
|
||||
{
|
||||
/* Increment counter necessary in delay(). */
|
||||
dw_ms_ticks++;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Delay number of tick Systicks (happens every 1 ms).
|
||||
*/
|
||||
__INLINE static void delay_ms(uint32_t dw_dly_ticks)
|
||||
{
|
||||
uint32_t dw_cur_ticks;
|
||||
|
||||
dw_cur_ticks = dw_ms_ticks;
|
||||
while ((dw_ms_ticks - dw_cur_ticks) < dw_dly_ticks) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Configure LED pins.
|
||||
*/
|
||||
__INLINE static void led_config(void)
|
||||
{
|
||||
/* Set up LED pins. */
|
||||
LED0_PIO->PIO_PER = LED0_MASK;
|
||||
LED0_PIO->PIO_OER = LED0_MASK;
|
||||
LED0_PIO->PIO_PUDR = LED0_MASK;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Switch on LED.
|
||||
*/
|
||||
__INLINE static void led_on(uint32_t dw_led)
|
||||
{
|
||||
/* Turn On LED. */
|
||||
LED0_PIO->PIO_CODR = dw_led;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Switch off LED.
|
||||
*/
|
||||
__INLINE static void led_off(uint32_t dw_led)
|
||||
{
|
||||
/* Turn Off LED. */
|
||||
LED0_PIO->PIO_SODR = dw_led;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Application entry point.
|
||||
*
|
||||
* \return Unused (ANSI-C compatibility).
|
||||
*/
|
||||
int main(void)
|
||||
{
|
||||
/* Initilize the SAM3 system */
|
||||
SystemInit();
|
||||
|
||||
WDT->WDT_MR = WDT_MR_WDDIS;
|
||||
|
||||
/* Set up SysTick Timer for 1 msec interrupts. */
|
||||
if (SysTick_Config(SystemCoreClock / (uint32_t) 1000)) {
|
||||
/* Capture error. */
|
||||
while (1) {
|
||||
}
|
||||
}
|
||||
|
||||
led_config();
|
||||
|
||||
/* Flash the LED. */
|
||||
while (1) {
|
||||
/* Turn on the LED. */
|
||||
led_on(LED0_MASK);
|
||||
/* Delay 1000 Msec. */
|
||||
delay_ms((uint32_t) 1000);
|
||||
|
||||
/* Turn off the LED. */
|
||||
led_off(LED0_MASK);
|
||||
/* Delay 1000 Msec. */
|
||||
delay_ms((uint32_t) 1000);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user