Take a look at IoT - Updating and selecting update options for the UPM and MRAA libraries | Intel® Developer Zone . Section 5 says “Uninstall the custom MRAA and UPM libraries by entering the following commands:”
opkg remove upm
opkg remove mraa
I haven’t tried to disable mraa this way, but give it a try and let me know your results.
I don't think it works, because i don't have upm and mraa on my Edison. I have my own Yocto Image.
I have copy the line in eclipse, made a .bat (i am on windows) and run my .bat without the option -lmraa.
F:\Documents\Edison\Eclipse\iotdk-ide-win\iotdk-ide-win\devkit-x86\sysroots\x86_64-pokysdk-mingw32\usr\bin\i586-poky-linux\i586-poky-linux-gcc -ldl "--sysroot=F:\\Documents\\Edison\\Eclipse\\iotdk-ide-win\\iotdk-ide-win\\devkit-x86\\sysroots\\i586-poky-linux" -o myProg "src\\main.o"
It works as expected.
Tkanks for your time
This is How I removed the "-lrmaa" default option:
This property is "sealed" in the file "plugin.xml" which reside inside the plugin "com.intel.iotdevkit.ide". You can uncompress the plugin (inside the plugins folder of eclipse) and edit the file "plugin.xml" to remove the options.
No need to recompress the plugin.
It's a bit tricky... but it works.