Can you give a screenshot of the error?
If you have the correct version of the IDE and choose the correct board on the IDE, you should not be getting that error.
That error is normally seen for the Arduino boards that use an AVR microcontroller.
yes I know. After all that I have read, i think that it shouldn't be happening.
I am posting the example of the blink file as to see that it is not related with the sketch itself, and you can see that I have the Arduino selected,, and the error in the background highlighted
*By the way until a couple of days ago it was working correctly,
It was a combination of several factors
1) I had the switch between the USB port and MicroUSB in the wrong position, toward the USB port instead of the MicroUSB
2) When click on the ino file, I was uploading the standard IDE Arduino, and not the Intel Edison Arduino IDE 1.5.3, can look the same, but as I can see now, they are not the same.
It seems that it is working now. I will double check.