error message while compiling for arduino mikro (leonardo)

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
cappy0815
Posts: 1
Joined: Wed Aug 19, 2020 2:06 pm
Country: -

error message while compiling for arduino mikro (leonardo)

Post by cappy0815 »

Hi all,

I am new at oXs and about to learn how to handle all that stuff.

My first project is a 4S LiPo sensor for my FrSky system.
First steps worked well unti I destroyed my test arduino mini pro.

Expected a bunch of more arduinos in my scratch box, I had to learn, there are only arduino micros (leonardo type)

So far ... so goog ... not a problem at all.

But while compiling I got an error message which turns out something is not declared.
I did not understand everything but it seems a timer is missing on this creepy board?

The message output is attached to this post.

Does anybody know what to do?

Thanks a lot
Cappy
Attachments
Fehler_arduino_micro.txt
(4.51 KiB) Downloaded 233 times

mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: error message while compiling for arduino mikro (leonardo)

Post by mstrens »

oXs needs an AVR328p processor. It is used on Uno, nano, pro mini but not on leonardo.
zatalian
Posts: 4
Joined: Mon Aug 11, 2014 6:29 pm
Country: -

Re: error message while compiling for arduino mikro (leonardo)

Post by zatalian »

I'm willing to give this a try... the compile errors are not that hard to correct. PCIF2 & PCIE2 should be replaced with PCIF0 en PCIE0 for the atmega32u4. If you want to debug you need to replace HardwareSerial with Stream...
I got to the point that i see some voltage readings in the serial monitor. Next i'm going to put together a real hardware setup with a frsky X receiver and see if it really works

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”