/** * @file arch.oil * * @section desc File description * * Trampoline Test Suite : Machine dependant oil configuration * * @section copyright Copyright * * Trampoline Test Suite * * Trampoline Test Suite is copyright (c) IRCCyN 2005-2007 * Trampoline Test Suite is protected by the French intellectual property law. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; version 2 * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * @section infos File informations * * $Date$ * $Rev$ * $Author$ * $URL$ */ /* FLAGS for the LEGO MINDSTORM NXT2.0 */ IMPLEMENTATION trampoline { TASK { UINT32 STACKSIZE = 500 ; UINT32 PRIORITY = 1 ; } ; ISR { UINT32 STACKSIZE = 500 ; } ; }; CPU test { OS config { CFLAGS = "-g -c -ffreestanding -fsigned-char -mcpu=arm7tdmi -Winline -Wall -Werror-implicit-function-declaration --param max-inline-insns-single=1000 -fdata-sections -ffunction-sections -std=gnu99"; //-MD "; ASFLAGS = "-g -mcpu=arm7tdmi-s --fatal-warnings "; LDFLAGS = "-g --cref --allow-multiple-definition --gc-sections"; LDFLAGS = "-L/usr/local/crossgcc/lib/gcc/arm-elf/4.2.3 -lgcc -L/usr/local/crossgcc/arm-elf/lib -lc"; SYSTEM_CALL = TRUE; COMPILER = "arm-elf-gcc"; ASSEMBLER = "arm-elf-as"; LINKER = "arm-elf-ld"; MEMMAP = TRUE{ COMPILER = gcc; LINKER = gnu_ld { SCRIPT = "script.ld"; }; ASSEMBLER = gnu_as; MEMORY_PROTECTION = TRUE; }; }; };