Sep 30, 2019
10:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2019
10:18 AM
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
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
- Tags:
- IFX
2 Replies
Oct 04, 2019
06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2019
06:22 AM
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
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
Dec 18, 2019
05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2019
05:02 AM
Thanks for the answer.