rt-thread/bsp/lpc122x/FLASH.ini
magicoe@163.com eb5e940df5 added bsp/lpc122x & libcpu/arm/lpc122x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1234 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 06:23:40 +00:00

29 lines
998 B
INI

/***********************************************************************/
/* This file is part of the ARM Compiler package */
/* Copyright KEIL ELEKTRONIK GmbH 1992-2004 */
/***********************************************************************/
/* */
/* RAM.INI: RAM Initialization File */
/* */
/***********************************************************************/
//*** <<< Use Configuration Wizard in Context Menu >>> ***
FUNC void Pre_Setup (void) {
_WDWORD(0x40048000, 0x00000002); // MEMMAP = 2
}
FUNC void Setup (void) {
SP = _RDWORD(0x00000000);
PC = _RDWORD(0x00000004);
}
Pre_Setup();
LOAD .\Obj\gpiotest.axf INCREMENTAL // Download
Setup(); // Setup for Running
// g, main