Oct 16, 2017
08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2017
08:31 AM
Hi everyone.
Can anyone help with the following error in DAVE 4...
#error "GLOBAL_ADC requires XMC Peripheral Library v2.0.0 or higher"
I can generate code and build the project without errors for the example "ADC_MEASUREMENT_EXAMPLE_XMC45" project but if I try and incorporate the ADC_MEASUREMENT app into my own project I get the above error. The only changes I made were to increase the number of channels with my own channel names / pin mapping and a different interrupt handler name.
Both projects are in the same workspace and DAVE 4 reports there are no updates available.
I'm not even sure how to check which version of the XMCLib's are installed.
Any help would be much appreciated.
PHAB
Can anyone help with the following error in DAVE 4...
#error "GLOBAL_ADC requires XMC Peripheral Library v2.0.0 or higher"
I can generate code and build the project without errors for the example "ADC_MEASUREMENT_EXAMPLE_XMC45" project but if I try and incorporate the ADC_MEASUREMENT app into my own project I get the above error. The only changes I made were to increase the number of channels with my own channel names / pin mapping and a different interrupt handler name.
Both projects are in the same workspace and DAVE 4 reports there are no updates available.
I'm not even sure how to check which version of the XMCLib's are installed.
Any help would be much appreciated.
PHAB
- Tags:
- IFX
3 Replies
Oct 16, 2017
08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2017
08:50 AM
I appear to be running XMCLib version 2.1.8 so higher than 2.0.0.
Is there a setting in the project configuration which define which version of the XMCLib to use ?
Is there a setting in the project configuration which define which version of the XMCLib to use ?
Oct 16, 2017
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2017
09:16 AM
So I found a solution (which I don't understand as all of my projects in DAVE 4 have been created in the last week using the same workspace and I assume the same XMCLib versions).
1) I created a new project
2) I copied the 'Libraries' folder and sub folders from the new project to my non working project
3) Re-built non working project
4) All errors are gone.
If anyone can explain why this solved the problem I would appreciate it. Anyway I hope this helps others who may run into similar problems.
Thanks
PHAB
1) I created a new project
2) I copied the 'Libraries' folder and sub folders from the new project to my non working project
3) Re-built non working project
4) All errors are gone.
If anyone can explain why this solved the problem I would appreciate it. Anyway I hope this helps others who may run into similar problems.
Thanks
PHAB
Not applicable
Feb 13, 2018
06:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 13, 2018
06:47 AM
Hi,
Infineon, there must be an easier solution.
I tried the usual 'Install DAVE APP/Example/Device Library' and 'DAVE Project Upgrade > APPs Upgrade'
But neither of those made a difference
Regards,
David King
Infineon, there must be an easier solution.
I tried the usual 'Install DAVE APP/Example/Device Library' and 'DAVE Project Upgrade > APPs Upgrade'
But neither of those made a difference
Regards,
David King