Dec 04, 2014
05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2014
05:35 AM
Good day,
When I adding application to existed DAVE project, I shall push
"Generate Code" knob, to create new files in Dave subfolder of project respectively.
Meanwhile, it is not always convenient, as far some of them I had to modify aftewords according my
actual needs.
Is it possiblity generate new "Dave" files only for new added items?
(Or selected group, or just exclude some existed "Dave" files from re-writing??)
Thanks in advance,
K
When I adding application to existed DAVE project, I shall push
"Generate Code" knob, to create new files in Dave subfolder of project respectively.
Meanwhile, it is not always convenient, as far some of them I had to modify aftewords according my
actual needs.
Is it possiblity generate new "Dave" files only for new added items?
(Or selected group, or just exclude some existed "Dave" files from re-writing??)
Thanks in advance,
K
6 Replies
Not applicable
Dec 04, 2014
06:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2014
06:56 PM
Hi Konstantin,
You need to "Generate Code" as long as you touch the Apps (eg. UI configuration, manual pin assignment, signal connection etc.). Of course in case of adding new Apps. It is not possible to generate new "Dave" files only for new added items. I assume the new added items are new Apps.
Best regards,
Sophia
You need to "Generate Code" as long as you touch the Apps (eg. UI configuration, manual pin assignment, signal connection etc.). Of course in case of adding new Apps. It is not possible to generate new "Dave" files only for new added items. I assume the new added items are new Apps.
Best regards,
Sophia
Dec 04, 2014
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2014
11:23 PM
Good day Sophia,
I am not understand "of course" in your answer.
As far "new Apps." require new code generation without doubt,
I can not say that regarding already existed ones.
So it just waste of time and inconvenient in cases, when say (example): -> Dave -> Generated -> src -> DMA003 -> DMA003_Conf.c
was already modified before adding new Apps.
BR
K
I am not understand "of course" in your answer.
As far "new Apps." require new code generation without doubt,
I can not say that regarding already existed ones.
So it just waste of time and inconvenient in cases, when say (example): -> Dave -> Generated -> src -> DMA003 -> DMA003_Conf.c
was already modified before adding new Apps.
BR
K
Not applicable
Dec 05, 2014
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 05, 2014
01:35 AM
Hi Konstantin,
As I mentioned "It is not possible to generate new "Dave" files only for new added items." The "Generate Code" will trigger re-generation of all "Dave" files including existing ones. Hence, it is not recommended to modify the generated "Dave" files which will be overwritten upon "Generate Code". Instead, all the modifications should be made in main.c eg. after DAVE_Init().
Best regards,
Sophia
As I mentioned "It is not possible to generate new "Dave" files only for new added items." The "Generate Code" will trigger re-generation of all "Dave" files including existing ones. Hence, it is not recommended to modify the generated "Dave" files which will be overwritten upon "Generate Code". Instead, all the modifications should be made in main.c eg. after DAVE_Init().
Best regards,
Sophia
Dec 08, 2014
05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 08, 2014
05:21 AM
Hi Sophia,
Thanks.
Say, I want use LUT 1024 points for DAC.
By default, they defined as "const" and placed respectively in Flash.
I actually need out on DAC some array, placed in memory.
So I shall define it after Dave Init in main.c..
But, how I can free LUT 1024 points defined in Flash?
BR
K
Thanks.
Say, I want use LUT 1024 points for DAC.
By default, they defined as "const" and placed respectively in Flash.
I actually need out on DAC some array, placed in memory.
So I shall define it after Dave Init in main.c..
But, how I can free LUT 1024 points defined in Flash?
BR
K
Not applicable
Dec 09, 2014
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 09, 2014
12:31 AM
Hi Konstantin,
For this case, you can try to modify the template DACWG003Confc.jet to point to self defined LUT, eg. DACWG003_LUT1
1) Declare LUT:
2) Change the LUT pointer:
Remember to "Generate Code" before compiling.
Best regards,
Sophia
For this case, you can try to modify the template DACWG003Confc.jet to point to self defined LUT, eg. DACWG003_LUT1
1) Declare LUT:
extern uint32_t DACWG003_LUT1[];
2) Change the LUT pointer:
const DACWG003_HandleType DACWG003_Handle<%= appInst%> =
{
...
.WaveLutPtr = DACWG003_LUT1,
...
};
Remember to "Generate Code" before compiling.
Best regards,
Sophia
Dec 09, 2014
05:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 09, 2014
05:42 AM
Thanks for tip!
K.
K.