Ordering Module_startup [message #536633] |
Sat, 29 May 2010 00:32  |
Eclipse User |
|
|
|
Champs,
I have my own module that does some MMU programming at Module_startup.
This Module_startup needs to be executed before Module_startup of ti.sysbios.heaps.HeapMem but I cant change the code of HeapMem_module startup.
Is there a way to ensure my module startup happens before sysbios HeapMem module startup by making changes only in my Module startup code or the application cfg file without making changes to HeapMem module code.
Regards
Badri
|
|
|
Re: Ordering Module_startup [message #537229 is a reply to message #536633] |
Tue, 01 June 2010 11:39  |
Eclipse User |
|
|
|
On 5/28/2010 9:32 PM, Badri wrote:
> Champs,
> I have my own module that does some MMU programming at Module_startup.
> This Module_startup needs to be executed before Module_startup of
> ti.sysbios.heaps.HeapMem but I cant change the code of HeapMem_module
> startup. Is there a way to ensure my module startup happens before
> sysbios HeapMem module startup by making changes only in my Module
> startup code or the application cfg file without making changes to
> HeapMem module code.
Yes. The Startup module has a list of functions, firstFxns, that are
run _prior_ to running any module init functions.
The startup process is described here:
http://rtsc.eclipse.org/docs-tip/Using_xdc.runtime_Startup
In addition, we've recently added an xdc.runtime.Reset module that
allows modules to add a function that is called before the Cruntime is
initialized; this can be important for some peripheral initialization
such as watchdog timers, CPU clock setup, and some memory/cache
initialization. See
http://rtsc.eclipse.org/cdoc-tip/index.html#xdc/runtime/Rese t.html
|
|
|
Powered by
FUDForum. Page generated in 0.02282 seconds