lpcware

What is 'getPC()'

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by khfreiberg on Fri Oct 26 12:28:16 MST 2012
Hi all,
I found this call in the dualcore example for the new Keil board.

extern uint32_t getPC(void);

/**
* FIXME: Keil M0 startup code bug!
* This is not required for other compilers.
**/
getPC();

But since I can not build due to missing files I wasn't able to find the code behind this call. Even UltraEdits 'searchInFiles' could not locate it. I assume it returns the program counter of the M0.
Does anybody know something about this call or the bug?

Outcomes