# #-*- coding: utf-8 -*- # # \file # # # General CPU info denfinition AVR family. # # This file contains all the info for the BeRTOS wizard. # # \author Mohamed Tarek # # # Import the common settings for the path. include("../../path.common") # Short description of the cpu. CPU_DESC = [ "Texas Instruments MSP430 Microcontroller ", "16-bit RISC Architecture"] # Type of the toolchain we should use to compile the source for this CPU. TOOLCHAIN = "mspgcc" # Special CPU related tags. CPU_TAGS = ["Von Neumann", TOOLCHAIN] # CPU default clock frequency CPU_DEFAULT_FREQ = "1000000UL" # Where are locate the bertos directories SCRIPT_DIR = CPU_DIR + "msp430/scripts/" MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "msp430/flash.sh" MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "msp430/stopflash.sh" MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "nodebug.sh" MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "none.sh" # Common GCC flags. MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "msp430/"