Replies: 2 comments 2 replies
-
Don't know. Best option is to debug. |
Beta Was this translation helpful? Give feedback.
-
I compiled it last about 6-9 months ago, and I do not know which libraries were updated since, I did blindly downgrade a few, one a t a time. without conclusive results. After some debugging I finally found the utimerLib I use to get a function called at 20hz is the reason for the actual freezing. enabling this: frezes the uC aft a short while. This library does not seem to have been updated in that timeframe - but using it fails. - it may be some incompatibility with something else. |
Beta Was this translation helpful? Give feedback.
-
I have a big Arduino build for Bluepill.
it uses three serial interfaces, one normal
#define MAVLinkSerial Serial1 << NORMAL
#define _HoTTSerial Serial2 << single pin, bidirectional
HardwareSerial Serial2(PA2);
#define _DEBUGSerial SerialUSB << CDC
this "always worked"
When receiving heartbeat on MAVLink, I should see a LED toggle.
On boot and on serial command the Debug interface should print.
I successfully compile the program, it uploads and runs fine (the startup LED animations etc works) then it just does not respond to serial commands on CDC, or seems to get the MAVlink heartbeat.
Is there anything you can think of that has changed - this is a stab in the dark.
Beta Was this translation helpful? Give feedback.
All reactions