If you are having issues with Eclipse not keeping your code after boot you can consider copying your code into the Linux side of the board as a .c or .cpp file. Then you can compile it with gcc or g++. Also if you need the code to start at boot I suggest you to follow these guide.
Regarding how to update mraa to 0.7.3., run the following commands:
echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
opkg install libmraa0
I am responding in regards to the updating mraa to 0.7.3. I ran the code given but I am still only on mraa 0.7.2, below is the output on the terminal:
root@galileo:~# opkg update
Updated list of available packages in /var/lib/opkg/iotdk-all.
Updated list of available packages in /var/lib/opkg/iotdk-i586.
Updated list of available packages in /var/lib/opkg/iotdk-quark.
Updated list of available packages in /var/lib/opkg/iotdk-x86.
Updated list of available packages in /var/lib/opkg/mraa-upm.
root@galileo:~# opkg install libmraa0
Package libmraa0 (0.7.2) installed in root is up to date.
I ran my program which outputs on the console that my current mraa version is still 0.7.2. Am I doing something wrong, or is 0.7.2 actually the most up to date?
I'm using eclipse iot in Windows and I have the same problem that everything will stop after I disconnect it. I'm using Intel Edison. But I think it's the same reason.
Can you explain me more detail about your answer?