APM-Mavlink-to-FrSky icon indicating copy to clipboard operation
APM-Mavlink-to-FrSky copied to clipboard

Compiling / porting to Teensy 3.1

Open strips opened this issue 10 years ago • 2 comments

Hi,

I have a teensy 3.1 and would like to try your code on it. Do you know if this will work?

Regards Stian

strips avatar Mar 07 '14 18:03 strips

Hi, Yes I think it should work without too much problems. I have actually just bought some teensy 3.1 myself to run this code on and implement the sport protocol as well. You are most welcome to submit a patch if there is anything that needs to be changed to run on teensy.

vizual54 avatar Mar 07 '14 19:03 vizual54

I'm not really proficient in C or whatever language it is. I understand basics and can do simple stuff. I had Java classes in school many years ago but I prefer to mess with databases and scripting ;)

I'm having trouble with FlexiTimer2. It's complaining it only works on AVR arch. ...\libraries\FlexiTimer2/FlexiTimer2.h:7:2: error: #error FlexiTimer2 library only works on AVR architecture

The funny thing is this lib actually comes from Teensyduio-installer it self.

I have found references to using IntervalTimer instead but it does not look like a "drop in" replacement. If I have time I will dig a bit deeper but my hands are full at work and kids and toddlers!

strips avatar Mar 11 '14 23:03 strips