Hi!
Just a small announcement. I just release the version 0.1.1 of BaremetalPi.jl. It should be available in the next few hours.
The greatest change is that I manage to provide functions to transfer information using SPI and I2C that does not allocate at all. This is important for projects that have real time constraints, when the garbage collector maybe need to be disabled.
The next thing I will do is to provide a way to program the PWMs.
Another thing is related to Julia stability in Raspberry Pi Zero W. I installed ArchLinux with a recompiled kernel (using PREEMPT scheduler with 1000 Hz timers), and the latency is just amazing. It is way better than the default Raspbian:
This was an experiment in which the Pi needs to acquire temperature every 300s. The plot shows the difference between the time it should have acquired the temperature and the time it actually acquired it. We have here data from almost 5 days. In the worst case scenario, the latency was lower than 13ms, which is just amazing! Julia proves to be very stable, running all this time without leaking memory.