Search found 3 matches

by stefanovic
Wed Jul 15, 2020 5:18 pm
Forum: Developer Discussions
Topic: [solved] crazyflie firmware and c++
Replies: 4
Views: 2215

Re: crazyflie firmware and c++

I had some free time to go back to this problem. It turned out that it was entirely my fault, as expected. I figured that c++ code in headers was working as intended, but not the code in object files that I was compiling externally. This led me to the insight that I was not compiling them correctly....
by stefanovic
Mon Mar 30, 2020 3:23 pm
Forum: Developer Discussions
Topic: [solved] crazyflie firmware and c++
Replies: 4
Views: 2215

Re: crazyflie firmware and c++

Thank you. Unfortunately the various discussions on this on the net do not bring solutions to my problems, including the one you mention. I opened up another discussion over at https://forums.freertos.org/t/freertos-and-c-rtti/9372 Everything happen as if the std library was not initialized somehow:...
by stefanovic
Sun Mar 29, 2020 7:58 pm
Forum: Developer Discussions
Topic: [solved] crazyflie firmware and c++
Replies: 4
Views: 2215

[solved] crazyflie firmware and c++

Hello, I'm trying to embed c++ code into the freertos-based firmware of the crazyflie drone, with the "app" framework and the push-demo as a basis. I succeeded in compiling, linking, launching, but dynamic_cast<> always returns nullptr, and exceptions raised are not caught. I enabled flags...