Of course, it should be, since i changed only compiler path, not linker, etc… To make it work with cross-toolchain i changed path for the compiler and kits.Ĭompilation goes fine (with cross-gcc) but when linker is invoked it shows linkage error. The PX4 Firmware builds ok, but only for the native host machine. In addition, when i try to import my test project(not create, just import already existed project), then Eclipse again hides the tab which used to specify path and prefix for cross-toolchain (Project Explorer->Properties->C/C++ Build/Settings->Toolchain Editor).Īccording to the instructions from i created project file and launched Qt Creator. It’s strange because when i create my test project everything is ok. When i try to import already existed PX4 project into my workspace Eclipse doesn’t allow me to specify path and prefix to my RPI toolchain. However, when i start with PX4 firmware i encounter with problem while cross-compilation. So now i can cross-compile and remotely debug C++ projects using Eclipse Kepler. I created the test C++ project under Eclipse and managed to build and setup remote debugging using Eclipse Kepler. Setup remote debugging using one of the above-mentioned IDE.Build firmware using Qt Creator or Eclipse and cross toolchain for Raspberry Pi 2.Create test C++ app with Qt Creator or Eclipse for IDE development and remote debugging using cross toolchain. Toolchain for cross-compilation for Raspberry Pi 2.Ġ.Remote board is Raspberry Pi 2 Raspbian.Host machine is Ubuntu Linux 16.04 LTS.
0 Comments
Leave a Reply. |