From be52c95820400d48e47615232d3c38236166fad3 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 2 Jan 2012 19:11:57 +0100 Subject: Renamed platforms.txt to platform.txt --- platforms.txt | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 platforms.txt (limited to 'platforms.txt') diff --git a/platforms.txt b/platforms.txt deleted file mode 100644 index 96a6378..0000000 --- a/platforms.txt +++ /dev/null @@ -1,51 +0,0 @@ - -# AVR compile variables -# --------------------- - -name=Arduino -# Default "compiler.path" is correct, change only if you want to overidde the initial value -#compiler.path={0}/hardware/tools/avr/bin/ -compiler.c.cmd=avr-gcc -compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -compiler.c.elf.flags=-Os -Wl,--gc-sections -compiler.c.elf.cmd=avr-gcc -compiler.S.flags=-c -g -assembler-with-cpp -compiler.cpp.cmd=avr-g++ -compiler.cpp.flags=-c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -compiler.ar.cmd=avr-ar -compiler.ar.flags=rcs -compiler.objcopy.cmd=avr-objcopy -compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 -compiler.elf2hex.flags=-O ihex -R .eeprom -compiler.elf2hex.cmd=avr-objcopy -compiler.ldflags= -compiler.cpudef=-mmcu= -compiler.upload.cmd= -compiler.upload.flags= -compiler.define=-DARDUINO= -library.path=./hardware/arduino/cores/arduino -library.core.path=./libraries - -# AVR compile patterns -# -------------------- - -## Compile c files -recipe.c.o.pattern={toolchain_path}{compiler.c.cmd} {compiler.c.flags} {compiler.cpudef}{build.mcu} -DF_CPU={build.f_cpu} -D{software}={ide_version} {includes} {source_file} -o {object_file} - -## Compile c++ files -recipe.cpp.o.pattern={toolchain_path}{compiler.cpp.cmd} {compiler.cpp.flags} {compiler.cpudef}{build.mcu} -DF_CPU={build.f_cpu} -D{software}={ide_version} {includes} {source_file} -o {object_file} - -## Create archives -recipe.ar.pattern={toolchain_path}{compiler.ar.cmd} {compiler.ar.flags} {build_path}{archive_file} {object_file} - -## Combine gc-sections, archives, and objects -recipe.c.combine.pattern={toolchain_path}{compiler.c.elf.cmd} {compiler.c.elf.flags} {compiler.cpudef}{build.mcu} -o {build_path}{project_name}.elf {object_files} {build_path}{archive_file} -L{build_path} -lm - -## Create eeprom -recipe.objcopy.eep.pattern={toolchain_path}{compiler.objcopy.cmd} {compiler.objcopy.eep.flags} {build_path}{project_name}.elf {build_path}{project_name}.eep - -## Create hex -recipe.objcopy.hex.pattern={toolchain_path}{compiler.elf2hex.cmd} {compiler.elf2hex.flags} {build_path}{project_name}.elf {build_path}{project_name}.hex - - - -- cgit v1.2.3-18-g5258