6 # This file is part of BeRTOS.
8 # Bertos is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 # As a special exception, you may use this file as part of a free software
23 # library without restriction. Specifically, if other files instantiate
24 # templates or use macros or inline functions from this file, or you compile
25 # this file and link it with other files to produce an executable, this
26 # file does not by itself cause the resulting executable to be covered by
27 # the GNU General Public License. This exception does not however
28 # invalidate any other reasons why the executable file might be covered by
29 # the GNU General Public License.
31 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
32 # Copyright 2011 Onno <developer@gorgoz.org>
36 # General CPU info definition AVR Xmega family.
38 # This file contain all info for the BeRTOS wizard.
40 # \author Onno <developer@gorgoz.org>
44 # Import the common settings for the path.
47 # Special CPU related tags.
50 # CPU default clock frequency
51 # Set to 2Mhz as by default the Internal 2Mhz clock is used
52 CPU_DEFAULT_FREQ = "2000000UL"
54 # Add additional init routines for the Xmega to the source
55 HW_DIR = CPU_DIR + "avr/hw/"
56 MK_CPU_CSRC = HW_DIR + "init_xmega.c"