ChibiOS-Arduino icon indicating copy to clipboard operation
ChibiOS-Arduino copied to clipboard

teensy 3.5/3.6 tests

Open manitou48 opened this issue 9 years ago • 3 comments

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 ...

manitou48 avatar Oct 14 '16 18:10 manitou48

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.

greiman avatar Oct 14 '16 20:10 greiman

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).

funnydog avatar May 10 '17 07:05 funnydog

I have added Teensy 3.5/3.6 to the newer ChRt Library.

greiman avatar Oct 08 '17 12:10 greiman