Infineon / XMC-for-Arduino

Integration of Infineon's XMC microcontrollers into the Arduino IDE.
Other
103 stars 64 forks source link

Update xmc2go Wiki with onboard serial information #245

Closed ststolz closed 1 year ago

ststolz commented 1 year ago

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.

techpaul commented 1 year ago

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.

ststolz commented 1 year ago

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.

boramonideep commented 1 year ago

Thanks @techpaul

As described in https://github.com/Infineon/XMC-for-Arduino/issues/243#issuecomment-1594510418 , 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.

boramonideep commented 1 year ago

Brief info added here: https://github.com/Infineon/XMC-for-Arduino/wiki/Serial-selection