1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-29 18:52:13 +01:00

[sam] renamed 'sam' core folder into 'arduino'

This commit is contained in:
Cristian Maglie 2012-05-20 23:45:56 +02:00
parent c54316a76b
commit adeaf8ae43
90 changed files with 20 additions and 20 deletions

View File

@ -6,7 +6,7 @@ arduino_due_u.upload.protocol=sam-ba
arduino_due_u.upload.maximum_size=49152
arduino_due_u.build.mcu=cortex-m3
arduino_due_u.build.f_cpu=96000000L
arduino_due_u.build.core=sam
arduino_due_u.build.core=arduino
arduino_due_u.build.extra_flags=-D__SAM3U4E__ -mthumb -DUSB_PID={build.pid} -DUSB_VID={build.vid} -DUSBCON
arduino_due_u.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_u.build.variant=arduino_due_u
@ -22,7 +22,7 @@ arduino_due_x.upload.protocol=sam-ba
arduino_due_x.upload.maximum_size=49152
arduino_due_x.build.mcu=cortex-m3
arduino_due_x.build.f_cpu=84000000L
arduino_due_x.build.core=sam
arduino_due_x.build.core=arduino
arduino_due_x.build.extra_flags=-D__SAM3X8E__ -mthumb -DUSB_PID={build.pid} -DUSB_VID={build.vid} -DUSBCON
arduino_due_x.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_x.build.variant=arduino_due_x

View File

@ -13,19 +13,19 @@ run the command: 'cs-make'
This will compile the libsam library and deliver to main Arduino folder the files:
hardware/sam/cores/sam/libsam_sam3s4c_gcc_dbg.a
hardware/sam/cores/sam/libsam_sam3s4c_gcc_dbg.a.txt (result of nm)
hardware/sam/cores/arduino/libsam_sam3s4c_gcc_dbg.a
hardware/sam/cores/arduino/libsam_sam3s4c_gcc_dbg.a.txt (result of nm)
3- Compile libarduino (Arduino API)
Go to hardware/sam/cores/sam/build_gcc
Go to hardware/sam/cores/arduino/build_gcc
run the command: 'cs-make'
This will compile the libarduino library and deliver to main Arduino folder the files:
hardware/sam/cores/sam/libarduino_sam3s_ek_gcc_dbg.a
hardware/sam/cores/sam/libarduino_sam3s_ek_gcc_dbg.a.txt (result of nm)
hardware/sam/cores/arduino/libarduino_sam3s_ek_gcc_dbg.a
hardware/sam/cores/arduino/libarduino_sam3s_ek_gcc_dbg.a.txt (result of nm)
4- Compile libvariant (variant specific library, use Arduino API and libsam)
@ -35,21 +35,21 @@ run the command: 'cs-make'
This will compile the libvariant library and deliver to main Arduino folder the files:
hardware/sam/cores/sam/libvariant_sam3s_ek_gcc_dbg.a
hardware/sam/cores/sam/libvariant_sam3s_ek_gcc_dbg.a.txt (result of nm)
hardware/sam/cores/arduino/libvariant_sam3s_ek_gcc_dbg.a
hardware/sam/cores/arduino/libvariant_sam3s_ek_gcc_dbg.a.txt (result of nm)
5- Compile test application
Go to hardware/sam/cores/sam/validation/build_gcc
Go to hardware/sam/cores/arduino/validation/build_gcc
run the command: 'cs-make'
This will compile the test application and deliver the binary into:
hardware/sam/cores/sam/validation/debug_sam3s_ek/test_gcc_dbg.elf
hardware/sam/cores/sam/validation/debug_sam3s_ek/test_gcc_dbg.bin
hardware/sam/cores/sam/validation/debug_sam3s_ek/test_gcc_dbg.map (mapping matching linker script)
hardware/sam/cores/sam/validation/debug_sam3s_ek/test_gcc_dbg.elf.txt (result of nm)
hardware/sam/cores/arduino/validation/debug_sam3s_ek/test_gcc_dbg.elf
hardware/sam/cores/arduino/validation/debug_sam3s_ek/test_gcc_dbg.bin
hardware/sam/cores/arduino/validation/debug_sam3s_ek/test_gcc_dbg.map (mapping matching linker script)
hardware/sam/cores/arduino/validation/debug_sam3s_ek/test_gcc_dbg.elf.txt (result of nm)

View File

@ -81,7 +81,7 @@ CMSIS_ARM_PATH=$(CMSIS_ROOT_PATH)/CMSIS/Include
CMSIS_ATMEL_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL
CMSIS_CHIP_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL/$(CHIP_SERIE)
ARDUINO_CORE_PATH=../../../../cores/sam
ARDUINO_CORE_PATH=../../../../cores/arduino
ARDUINO_USB_PATH=$(ARDUINO_CORE_PATH)/USB
# Output directories

View File

@ -41,7 +41,7 @@ endif
#-------------------------------------------------------------------------------
# Output directories
OUTPUT_BIN = ../../../cores/sam
OUTPUT_BIN = ../../../cores/arduino
# Libraries
PROJECT_BASE_PATH = ..

View File

@ -29,7 +29,7 @@ TOOLCHAIN=gcc
#-------------------------------------------------------------------------------
# Output directories
OUTPUT_BIN = ../../../cores/sam
OUTPUT_BIN = ../../../cores/arduino
# Libraries
PROJECT_BASE_PATH = ..
@ -39,7 +39,7 @@ CMSIS_ARM_PATH=$(CMSIS_ROOT_PATH)/CMSIS/Include
CMSIS_ATMEL_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL
#CMSIS_CHIP_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL/$(CHIP_SERIE)
ARDUINO_PATH = ../../../cores/sam
ARDUINO_PATH = ../../../cores/arduino
VARIANT_BASE_PATH = ../../../variants
VARIANT_PATH = ../../../variants/$(VARIANT)

View File

@ -29,7 +29,7 @@ TOOLCHAIN=gcc
#-------------------------------------------------------------------------------
# Output directories
OUTPUT_BIN = ../../../cores/sam
OUTPUT_BIN = ../../../cores/arduino
# Libraries
PROJECT_BASE_PATH = ..
@ -39,7 +39,7 @@ CMSIS_ARM_PATH=$(CMSIS_ROOT_PATH)/CMSIS/Include
CMSIS_ATMEL_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL
#CMSIS_CHIP_PATH=$(CMSIS_ROOT_PATH)/Device/ATMEL/$(CHIP_SERIE)
ARDUINO_PATH = ../../../cores/sam
ARDUINO_PATH = ../../../cores/arduino
VARIANT_BASE_PATH = ../../../variants
VARIANT_PATH = ../../../variants/$(VARIANT)