Mark, Daniel,
Does the latest version of the fastled lib includes support for the rfduino ?
I still have some kickstarter rfduino laying arround that i would like to try.
I also noticed they now also have a ‘smd’ version for arround 11€.
Could be interresting for fastled projects with bluetooth support.
No, the rfduino, like the spark core, is based on a different arm chip (the stm32) than either the teensy or the due/Digix.
From inspecting the RFduino build process, it appears it does use the same ARM compiler in …/hardware/tools/g++_arm_none_eabi, but with the expected different headers and linker scripts.
I did find this to work for me:
but to have it work with BLE actually running, you should make sure to put
while (RFduinoBLE.radioActive) ;
before you do anything timing critical.
The problem isn’t the compiler or the tool chain. One of the things that I do for performance is direct access to pins/SPI subsystem by directly accessing io registers (instead of, say, calling digitalWrite or the SPI object).
Unfortunately, each arm manufacturer has different ways of defining and laying out their gpio and SPI registers, so I have to reimplement that part of each platform. The stm32 appears a little extra wonky compared to the k20 (teensy) and sam8x3 (due/Digix).
Ah interesting, yeah that makes sense. I’m just getting into ARM stuff. I was impressed they could all use the same compiler! Guess I was a little starry-eyed from that.
Daniel
(Almost ashamed to ask as I realise how much time you guys are spending on the fastled lib …)
Is the rfduino still on the radar to get supported or to be considerd as deadend ?
Can we assist in the implementation of those low level functions ?
Not for 2.1 - I really need to shift my focus for the next two months on a fairly large project - so mark and I are wrapping up documentation, examples, and testing on 2.1 so that we can call it good/done.
It’s on the top of the list for 2.2 and if I get some spare time (not planning on it, but one never knows) I may be able to get an implementation spun up soon , but late June/early July is more like it.
Could not wish better than june/july. Would need it for an installation in sep/oct. Meaning i can start prototyping the led effects with an uno, prototyping the ble communication with the rfduino and bring it together in summertime.
Looking forward to it. Tnx