Not applicable
Jul 04, 2013
07:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 04, 2013
07:32 AM
I am using GPIO macros in my project. The macros are defined in GPIO.H.
I manually placed a copy of the GPIO.H file into my project from C:\DAVE-3.1\Examples\EasyStart\XMC4000\XMC4500\144Pin
However I need to switch between the 144 pin and 100 pin xmc4500 but the GPIO.H files for each device are different.
So I would like to omit the GPIO.H file from my project and let DAVE locate the correct file depending on the MCU selected.
Doing things this way also means I always get the latest version of GPIO.H when I build.
Is there a way to do this ?
Any help would be greatly appreciated.
Aaron
I manually placed a copy of the GPIO.H file into my project from C:\DAVE-3.1\Examples\EasyStart\XMC4000\XMC4500\144Pin
However I need to switch between the 144 pin and 100 pin xmc4500 but the GPIO.H files for each device are different.
So I would like to omit the GPIO.H file from my project and let DAVE locate the correct file depending on the MCU selected.
Doing things this way also means I always get the latest version of GPIO.H when I build.
Is there a way to do this ?
Any help would be greatly appreciated.
Aaron
- Tags:
- IFX
2 Replies
Not applicable
Jul 05, 2013
12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 05, 2013
12:33 AM
Hi Aaron,
I don't think DAVE3 would automatically added the GPIO.h into your project.
This is because if you are building your project in DAVE CE project, by default you should use IO004 apps for controlling GPIO.
The GPIO.h is not available in DAVE3 include folder as well, it is only provided in the EasyStart examples.
rgds,
Rou
I don't think DAVE3 would automatically added the GPIO.h into your project.
This is because if you are building your project in DAVE CE project, by default you should use IO004 apps for controlling GPIO.
The GPIO.h is not available in DAVE3 include folder as well, it is only provided in the EasyStart examples.
rgds,
Rou
Not applicable
Jul 05, 2013
01:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 05, 2013
01:36 AM
Thankyou very much for your reply Rou. I will change my project to use the IO004 App.
Best regards
Aaron
Best regards
Aaron