Closed maxgerhardt closed 1 year ago
The W.CH docs show how to do C++ with the chips at
https://github.com/openwch/ch32v307/tree/main/C%2B%2B
but the startup files are missing a call into the C++ constructors. We need to correct that, possibly also add something to the linking stage (-lstdc++?) and add a C++ example (e.g. Blinky) here.
-lstdc++
C++ examples added in https://github.com/Community-PIO-CH32V/platform-ch32v/tree/develop/examples/blinky-cpp-none-os plus Arduino.
The W.CH docs show how to do C++ with the chips at
https://github.com/openwch/ch32v307/tree/main/C%2B%2B
but the startup files are missing a call into the C++ constructors. We need to correct that, possibly also add something to the linking stage (
-lstdc++
?) and add a C++ example (e.g. Blinky) here.