Hi All:
How do I define a variable that is not initialized at RAM when reset, Repower initialization ?
Hi All:
How do I define a variable that is not initialized at RAM when reset, Repower initialization ?
Try looking towards the end of this timestamp link; I posted some simple code to allow variables to be not initialized on a reset in IAR and SES which might help
Hi ALL:
I use keil, How should i configure it ?
Hi,
I would not rely on specific compiler features. Instead, you can change RAM parameters in project settings (for example, 0x20000010 0xfff0, if you don't use SoftDevice), and create a direct pointer to variable that is outside of project memory:
int *myvar = (int *) 0x20000004;
Hi,
I would not rely on specific compiler features. Instead, you can change RAM parameters in project settings (for example, 0x20000010 0xfff0, if you don't use SoftDevice), and create a direct pointer to variable that is outside of project memory:
int *myvar = (int *) 0x20000004;
Hi:
I use S132 softdevice , I don't quite catch your meaning.
Can you say specifically it ?