ChibiOS-Arduino
ChibiOS-Arduino copied to clipboard
teensy 3.5/3.6 tests
With IDE 1.6.11 and teensyduino 1.30, i tried (for the first time) the ChibiOS examples. Even for teensy 3.0 (3.2), the library is filed under INCOMPATIBLE LIBRARY subfolder, but I could still compile T3.0 examples.
However, for T3.5/T3.6, I get a compiler error message about FPU instructions generated with no FPU present. I got around that by boldly hacking ChibiOS_ARM/src/CMSIS/core_cm4.h, adding
define __FPU_PRESENT 1U
that allowed various examples to run on the T3.5. obviously not a "proper" solution ...
I have not decided whether I will continue to support ChibiOS as a library under the Arduino IDE.
I no longer use this library for my projects since native ChibiOS with its HAL is so much better than this library with the Arduino IDE. Too bad ChibiOS does not have better support for Teensy 3.x.
I will be away until mid November. I may restructure this library to make the Arduino IDE happy. New versions of ChibiOS are totally different than this version.
You may want to look at ChibiOS-Contrib which supports teensy 3, 3.1, 3.2 and LC but unfortunately nothing for teensy 3.5/3.6 (they seem not too difficult to port though).
I have added Teensy 3.5/3.6 to the newer ChRt Library.