1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

[sam] adding wiring_digital and validation app

This commit is contained in:
aethaniel
2011-07-13 01:20:40 +02:00
parent 03c064e946
commit 6c6038f81a
75 changed files with 4454 additions and 588 deletions

View File

@ -6,7 +6,8 @@ SUBMAKE_OPTIONS=--no-builtin-rules --no-builtin-variables
# Rules
#-------------------------------------------------------------------------------
all: libchip_sam3s4_gcc_dbg.a libchip_sam3s4_gcc_rel.a
# libchip_sam3s4_gcc_rel.a
all: libchip_sam3s4_gcc_dbg.a
libchip_sam3s4_gcc_dbg.a:
@echo --- Making $@

View File

@ -116,8 +116,8 @@ $(addprefix $(OUTPUT_PATH)/,$(A_OBJ)): $(OUTPUT_PATH)/%.o: %.s
@"$(AS)" -c $(ASFLAGS) $< -o $@
$(OUTPUT_LIB): $(addprefix $(OUTPUT_PATH)/, $(C_OBJ)) $(addprefix $(OUTPUT_PATH)/, $(A_OBJ))
@"$(AR)" -r "../../../cores/sam/$@" $^
@"$(AR)" -r "$(OUTPUT_BIN)/$@" $^
@"$(AR)" -r "../../../cores/sam/$@" $^
@"$(NM)" "$(OUTPUT_BIN)/$@" > "$(OUTPUT_BIN)/$@.txt"
.PHONY: clean
@ -129,3 +129,4 @@ clean:
# dependencies
$(addprefix $(OUTPUT_PATH)/,$(C_OBJ)): $(OUTPUT_PATH)/%.o: $(PROJECT_BASE_PATH)/chip.h $(wildcard $(PROJECT_BASE_PATH)/include/*.h) $(wildcard $(CMSIS_BASE_PATH)/*.h)