May 20, 2020
12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 20, 2020
12:34 AM
Hello there,
I am setting up continuous deployment for my xmc board development.
Doing so I am using a Ubuntu build enviroment. For the build process, I use CMake to generate the makefiles.
I ran into problems considering the case sensitivity of linux. For example the
This will result into "File not found." .
To fix this I wrote a script that corrects the includes in terms of the case sensitivity.
Now I come to the question: Is there a way to integrate this script into the DAVE code generation step? Like a postgeneration trigger?
Or is there a totally different solution for this problem?
Greetings!
I am setting up continuous deployment for my xmc board development.
Doing so I am using a Ubuntu build enviroment. For the build process, I use CMake to generate the makefiles.
I ran into problems considering the case sensitivity of linux. For example the
DAVE_Common.his sometimes included with a capital c and sometimes with a small c.
This will result into "File not found." .
To fix this I wrote a script that corrects the includes in terms of the case sensitivity.
Now I come to the question: Is there a way to integrate this script into the DAVE code generation step? Like a postgeneration trigger?
Or is there a totally different solution for this problem?
Greetings!
4 Replies
May 26, 2020
03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 26, 2020
03:37 AM
Hi,
We are aware about this problem and working fixing it.
Meanwhile you could add a prebuild step command that replaces "DAVE_common.h" to "DAVE_Common.h" using i.e. sed
https://unix.stackexchange.com/questions/159367/using-sed-to-find-and-replace
Regards,
Jesus
We are aware about this problem and working fixing it.
Meanwhile you could add a prebuild step command that replaces "DAVE_common.h" to "DAVE_Common.h" using i.e. sed
https://unix.stackexchange.com/questions/159367/using-sed-to-find-and-replace
Regards,
Jesus
May 26, 2020
04:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 26, 2020
04:15 AM
Hello Jesus,
I was thinking about that. This solution does work in the scenario that all includes do include the same headername.
In the app FREERTOS for example, even the includes (of the same header) don't match to each other in terms of casesensitivity.
Working that out with the use of sed would end up in a realy long and messy workaround. That is where I got stuck..
But if that is the only solution for now, I guess I am stuck with running a script manually each time I generate code.
If another solution is coming up, I'd like to get a hit about that.
Greetings!
I was thinking about that. This solution does work in the scenario that all includes do include the same headername.
In the app FREERTOS for example, even the includes (of the same header) don't match to each other in terms of casesensitivity.
Working that out with the use of sed would end up in a realy long and messy workaround. That is where I got stuck..
But if that is the only solution for now, I guess I am stuck with running a script manually each time I generate code.
If another solution is coming up, I'd like to get a hit about that.
Greetings!
Jul 15, 2021
06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 15, 2021
06:17 AM
Is there any solution so far from Infineon?
Can you provide the script you used?
Can you provide the script you used?
Jul 25, 2021
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 25, 2021
11:23 PM
Hello,
This issue should have been fixed by now. Can you please download the latest version of Dave and check if you face the same issue?
Regards,
Dheeraj
This issue should have been fixed by now. Can you please download the latest version of Dave and check if you face the same issue?
Regards,
Dheeraj