Module initialisation order?

General discussions about working with the Astrobe IDE and programming ARM Cortex-M0, M3, M4 and M7 microcontrollers.
Post Reply
Helpdesk
Posts: 40
Joined: Sat Jan 01, 2011 5:43 am
Contact:

Module initialisation order?

Post by Helpdesk » Thu Nov 16, 2023 3:56 am

Does the module list in the 'map' file for a linked program represent their initialisation order, top to bottom?

Helpdesk
Posts: 40
Joined: Sat Jan 01, 2011 5:43 am
Contact:

Re: Module initialisation order?

Post by Helpdesk » Thu Nov 16, 2023 4:06 am

Yes. If you have the Professional Edition you can confirm the order of module initialsation by disassembling the application and looking at the sequence of <modulename>..init calls in the initialisation code procedure (e.g. Blinker..init) of your application.

Post Reply