Porting Dave Apps to VisualGDB

Sysprogs forums Forums VisualGDB Porting Dave Apps to VisualGDB

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21767
    luc84
    Participant

    I am testing out VisualGDB with Infineon’s XMAC4800. A lot of the example code on Infineon’s website is generated with the Digital Application Virtual Engineer (DAVE™) which is an Eclipse based environment. I would like to port these projects so I can use them with VisualGDB. Has anybody successfully ported the more complex projects such as the WebServer example code or the Ethercat Slave Code to VisualGDB? I was able to port the simple applications (e.g. UART example). However when I try to build the more complex solutions, the build fails on many errors such as “redefinition of variables”. Is there a straightforward way to port from DAVE to VisualGDB?

    • This topic was modified 6 years, 10 months ago by luc84.
    #21774
    support
    Keymaster

    Hi,

    Sorry, we don’t have a specific import plugin for Infineon DAVE, however the regular import mode in the wizard should be a good starting point (you would still need to specify include directories/preprocessor macros manually).

    The “redefinition of variables” error most likely happens because the imported project includes a copy of some system files (e.g. peripheral drivers or startup files) that are already included in the VisualGDB project. It could be solved by locating such files and ensuring that you only leave one copy of them (i.e. either remove the one from the imported project, or unreference the corresponding embedded framework via VisualGDB Project Properties). Feel free to post the exact error message here and we can give more specific advice.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.