Initialization order of DAVE APPs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User17265
Level 1
Level 1
Hi.

I would like to know if there is a way to control the initialization order of DAVE APPs in *autogenerated* DAVE_Init().

My concern is
* in autogenerated DAVE_Init(), at first error, the init process is stopped: the following APPs are not initialized, even if they could have been,
* I need some of these APPs (IO ports) to show the error(s) on the others,
* but these APPs' initialization may have been skipped due to the initialization order of DAVE APPs in DAVE_Init(), so the ports will not work.

I know some ways to overturn this, but they all need writing my own initialization code, and loosing part of the advantage of autogenerated code of DAVE APPs.

So, is there any way to change the order in which DAVE APPs appear in *autogenerated* DAVE_Init() ?

Regards
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Unfortunately this is today not possible. You will need to write your own DAVE_Init() function. The DAVE_Init() function is defined as a weak function so that you can reimplement it easily in your files.


Regards,
Jesus
0 Likes
User17265
Level 1
Level 1
Thanks for the answer.
0 Likes