Hey - I know there's no official support for C++ on this platform, but are there any other intrepid devs out there making this work?
I was able to build, flash and run my app, but virtual functions were not working (virtual calls in the base class calling the base implementation rather than the derived implementation).
I tried turning on rtti in the compile, but that is producing the captioned undefined reference. Searching I've done suggests the linker needs to be directed to link to C++ runtime ( -lstdc++
) but this option does not appear to be supported by the SEGGER linker. Linker version info is below.
C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM 4.12\gcc\arm-none-eabi\bin>ld --version
GNU ld (GNU Binutils) 2.30.0.20180329
Anyone out there got virtual functions working on this platform (nrf52832, Segger embedded studio)?