?? arch.nut
字號:
---- Copyright (C) 2004-2005 by egnite Software GmbH. All rights reserved.---- Redistribution and use in source and binary forms, with or without-- modification, are permitted provided that the following conditions-- are met:---- 1. Redistributions of source code must retain the above copyright-- notice, this list of conditions and the following disclaimer.-- 2. Redistributions in binary form must reproduce the above copyright-- notice, this list of conditions and the following disclaimer in the-- documentation and/or other materials provided with the distribution.-- 3. Neither the name of the copyright holders nor the names of-- contributors may be used to endorse or promote products derived-- from this software without specific prior written permission.---- THIS SOFTWARE IS PROVIDED BY EGNITE SOFTWARE GMBH AND CONTRIBUTORS-- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS-- FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL EGNITE-- SOFTWARE GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,-- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,-- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS-- OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED-- AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,-- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF-- THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF-- SUCH DAMAGE.---- For additional information see http://www.ethernut.de/---- Operating system functions---- $Log: arch.nut,v $-- Revision 1.13 2005/10/07 22:09:23 hwmaier-- Changed HWDEF= to HWDEF+= so more defs can be added to this macros from other LUA scripts.---- Revision 1.12 2005/10/04 05:47:26 hwmaier-- Added CAN driver for AT90CAN128---- Revision 1.11 2005/07/26 15:41:05 haraldkipp-- All target dependent code is has been moved to a new library named-- libnutarch. Each platform got its own script.---- Revision 1.10 2005/02/19 22:48:12 hwmaier-- no message---- Revision 1.9 2005/01/22 19:20:21 haraldkipp-- Fixes Ethernut 1.3G memory bug---- Revision 1.8 2004/10/03 18:37:39 haraldkipp-- GBA support---- Revision 1.7 2004/09/22 08:19:42 haraldkipp-- No ATmega103 with LAN91C111---- Revision 1.6 2004/09/19 15:17:37 haraldkipp-- ICCAVR initialization added to build---- Revision 1.5 2004/09/08 10:18:54 haraldkipp-- C startup on ARM platforms only---- Revision 1.4 2004/09/07 19:07:45 haraldkipp-- MCU type in NutConf.mk and cstartup added.---- Revision 1.3 2004/08/18 16:05:26 haraldkipp-- Use consistent directory structure---- Revision 1.2 2004/08/18 13:46:08 haraldkipp-- Fine with avr-gcc---- Revision 1.1 2004/08/03 15:09:30 haraldkipp-- Another change of everything---- Revision 1.1 2004/06/07 16:32:45 haraldkipp-- First release----nutarch ={ { name = "nutarch_mcu", brief = "Target CPU", description = "Select one only.", options = { { macro = "MCU_ATMEGA103", brief = "Atmel ATmega 103", description = "8-bit RISC microcontroller with 128K bytes flash, 4K bytes RAM, ".. "4K bytes EEPROM, 64K bytes data memory space, UART, 3 timers, ".. "8-channel ADC and SPI.", requires = { "TOOL_CC_AVR" }, provides = { "HW_TARGET", "HW_MCU_AVR", "HW_NVMEM", "HW_TIMER_AVR", "HW_UART_AVR" }, flavor = "boolean", file = "include/cfg/arch.h", makedefs = { "MCU=$(MCU_ATMEGA103)", "HWDEF+=-D__HARVARD_ARCH__" } }, { macro = "MCU_ATMEGA128", brief = "Atmel ATmega 128", description = "8-bit RISC microcontroller with 128K bytes flash, 4K bytes RAM, ".. "4K bytes EEPROM, 64K bytes data memory space, 2 USARTs, 4 timers, ".. "8-channel ADC, SPI and TWI.", requires = { "TOOL_CC_AVR" }, provides = { "HW_TARGET", "HW_MCU_AVR", "HW_MCU_AVR_ENHANCED", "HW_MCU_ATMEGA128", "HW_NVMEM", "HW_TIMER_AVR", "HW_UART_AVR" }, flavor = "boolean", file = "include/cfg/arch.h", makedefs = { "MCU=$(MCU_ATMEGA128)", "HWDEF+=-D__HARVARD_ARCH__" } }, { macro = "MCU_AT90CAN128", brief = "Atmel AT90CAN128", description = "8-bit RISC microcontroller with 128K bytes flash, 4K bytes RAM, ".. "4K bytes EEPROM, 64K bytes data memory space, 2 USARTs, 4 timers, ".. "8-channel ADC, SPI, TWI and CAN controller.\n".. "\n".. "Please configure appropriate stack settings in category ".. "Memory Management. ".. "Due to a bug for silicon revisions C of the AT90CAN128 MCU, ".. "the code stack must reside in internal RAM. Refer to ".. "AT90CAN128 Datasheet Rev. 4250F朇AN
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -