summaryrefslogtreecommitdiff
path: root/bsp/lpc122x/FLASH.ini
blob: bf88b04f64d10e272b1df9ccbe06f1f3cf042b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/***********************************************************************/
/*  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