# #-*- coding: utf-8 -*- # # \file # # # General CPU info denfinition AVR family. # # This file contain all info for the BeRTOS wizard. # # \author Daniele Basile # # # Import the common settings for the path. include("../../path.common") # Short description of the cpu. CPU_DESC = [ "ATMEL AVR Microcontroller ", "8-bit RISC Architecture"] # Special CPU related tags. CPU_TAGS = ["harvard"] # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "avr" # CPU default clock frequency CPU_DEFAULT_FREQ = "8000000UL" # Where are locate the bertos directories SCRIPT_DIR = CPU_DIR + "avr/scripts/" PROG_SCRIPT_DIR = "prog_scripts/avr/" MK_FLASH_SCRIPT = PROG_SCRIPT_DIR + "flash.sh" MK_DEBUG_SCRIPT = PROG_SCRIPT_DIR + "debug.sh" # Common GCC flags. MK_CPU_CPPFLAGS = "-Os -fno-strict-aliasing -I" + CPU_DIR + "avr/"