Skip to main content



      Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » Ordering Module_startup(Ordering Module_startup)
Ordering Module_startup [message #536633] Sat, 29 May 2010 00:32 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Invalid macro definition error
Next Topic:Release notification for XDCtools 3.20
Goto Forum:
  


Current Time: Tue Jul 01 14:17:57 EDT 2025

Powered by FUDForum. Page generated in 0.02282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top