Infineon/XMC-for-Arduino

Update xmc2go Wiki with onboard serial information

Closed this issue · 4 comments

Is your feature request related to a problem? Please describe.

It is not trivial to set up onboard serial on xmc2go in platformio.

Describe the solution you'd like

Please update xmc2go Wiki with information how to set up onboard serial with platformio.

To contribute, I prepared a minimal example in a gist.

Whilst this is n issue on Pltformio on how to get the build flag, in XMC-for-Arduino this is handled by the Arduino IDE menu function from

Tools -> Serial Output Selection "..."

Options PC or On Board

So how to set the build flags is best suited in Platformio wikis etc.

I understand. At least I would have been happy to get the information what build Flag I have to change. I think this information should be offered by Infineon.

Thanks @techpaul

As described in #243 (comment) , only the proper option has to be selected in the dropdown in the tools menu. The rest of the macros and build flags are set automatically.

We shall be adding documentation regarding this to make this a little clearer.