Merge pull request #9 from TitanMKD/master

LPCXpresso LPC43xx Debugger Tutorial
This commit is contained in:
Michael Ossmann
2012-06-13 16:16:39 -07:00
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -29,7 +29,8 @@ MEMORY
/* rom is really the shadow region that points to SPI flash or elsewhere */ /* rom is really the shadow region that points to SPI flash or elsewhere */
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
/* there are some additional RAM regions */ /* there are some additional RAM regions for data */
ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
} }
/* Include the common ld script. */ /* Include the common ld script. */

View File

@ -275,7 +275,7 @@ u32 test_nb_instruction_per_sec(void)
asm volatile ("nop "); asm volatile ("nop ");
asm volatile ("nop "); asm volatile ("nop ");
asm volatile ("nop "); asm volatile ("nop ");
nb_instructions_per_sec += 100; nb_instructions_per_sec += 108;
end = sys_tick_get_time_ms(); end = sys_tick_get_time_ms();
tickms = sys_tick_delta_time_ms(start, end); tickms = sys_tick_delta_time_ms(start, end);