hiriskpaul wrote:ReformedCharacter wrote:hiriskpaul wrote:The Windows PC does not seem sluggish and not much CPU being used elsewhere, so I suspect the problem may be more to do with I/O rather than CPU performance. The Arduino I am compiling for is a new design that is built on the Mbed OS, so every time I compile I have to pull in the whole Mbed OS. It could be that Linux is caching all those C++ files more efficiently than Windows does. I will investigate further when I get the time and do some proper timing. It was really just an experiment, I had no real intention of actually doing Arduino development on the Lubuntu laptop, but it might lead to better compilation performance on Windows if I can figure out what is going on.
Slightly off-topic, but what are you developing the Arduino to do?
RC
Remote sensing, mainly measuring heights of rivers to provide early warning of downstream flooding. I have started looking at a new generation of 32 bit ARM micro controllers with Bluetooth Low Energy 5 to see if they might be a better solution to the existing 8 bit controllers connected to ZigBee radios and cellular modems. Doesn't have to be Arduino, but that is a convenient and easy to use open source platform. The alternatives tend to be manufacturer specific, so you end up having to keep switching toolchains, which is a bit of a pain.
Good plan!
Been using the Nordic nRF52 recently for something similar; and the toolchain required was really quite painful.
Arduino is a pretty good choice to try and get a bit of abstraction for that side of things.
-sd