APM-Mavlink-to-FrSky
APM-Mavlink-to-FrSky copied to clipboard
Compiling / porting to Teensy 3.1
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
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.
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!