Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
8577a0c7
Commit
8577a0c7
authored
12 years ago
by
Pat Hickey
Browse files
Options
Downloads
Patches
Plain Diff
MultiFastSerial example sketch: notes on fatal error in avr-gcc 4.5.x
parent
2dace5cf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/FastSerial/examples/MultiFastSerial/MultiFastSerial.pde
+13
-0
13 additions, 0 deletions
...s/FastSerial/examples/MultiFastSerial/MultiFastSerial.pde
with
13 additions
and
0 deletions
libraries/FastSerial/examples/MultiFastSerial/MultiFastSerial.pde
+
13
−
0
View file @
8577a0c7
...
...
@@ -17,6 +17,19 @@
/* Not required by this sketch, but required by AP_Common */
#include
<AP_Math.h>
#if __GNUC__ == 4 && __GNUC_MINOR__ == 5
#warning avr-gcc 4.5.x is known to have a bug with FastSerialPort2 and 3
/* avr-gcc 4.5.3 will leave off the USART2 and USART3 vectors from the vector
* table. It will crash this example sketch at millis == 2000.
* See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47696 for info.
* Known to work:
* avr-gcc 4.3.2 as shipped by Arduino IDE on Windows.
* avr-gcc 4.4.2 does not have this bug (unknown status otherwise)
* avr-gcc 4.6.2 has other issues that need to be worked out
* -pch 15 October 2012
*/
#endif
//
// Create a FastSerial driver that looks just like the stock Arduino
// driver, on each serial port.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment