Re: [Mspgcc-users] Executing code from RAM

2014-04-18 Thread Peter Bigot
On Fri, Apr 18, 2014 at 3:55 AM, Tomek Lorek wrote: >> Suppose you have a app() function: >> >> __attribute__((section(".app_main"))) >> void app() { >> // body >> } > > Copy-paste error: it should be > __attribute__((section(".mysection"))) > void app() { > // body > } > > this is aligned wit

Re: [Mspgcc-users] Executing code from RAM

2014-04-18 Thread Tomek Lorek
> Suppose you have a app() function: > > __attribute__((section(".app_main"))) > void app() { > // body > } Copy-paste error: it should be __attribute__((section(".mysection"))) void app() { // body } this is aligned with "position forced with __attribute__((section(".mysection")))" Best Reg