-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arduino_ci doesn't seems to work properly with mega2560 #86
Comments
It looks like I added a definition for this board, but it's incomplete -- it's missing the compiler flags that are needed for this compilation target. e.g. here's what the definition for leonardo:
board: arduino:avr:leonardo
package: arduino:avr
gcc:
features:
defines:
- __AVR_ATmega32U4__
warnings:
flags: That It appears that not much more is known now than when I first went looking; here are a bunch of search results that just turned up people with the same problem as me:
This is a topic I am entirely unqualified to answer; all the existing stuff in the default YAML file came from values I found in other documentation or source files. If you want to experiment with it (perhaps just using mega2560:
board: arduino:avr:mega:cpu=atmega2560
package: arduino:avr
gcc:
features:
defines:
- __AVR_ATmega2560__
warnings:
flags: |
Here's a list of all the MCU definition macros for AVR: |
Here is my |
Looks like you're missing the toplevel platforms:
mega2560:
board: arduino:avr:mega:cpu=atmega2560
package: arduino:avr
gcc:
defines:
- __AVR_ATmega2560__ |
I see a passing build 🎉 https://travis-ci.com/scls19fr/mwe_arduino_ci/builds/97377931 |
Hello,
Here is a minimal (non) working example
https://github.com/scls19fr/mwe_arduino_ci
to show problem I was facing (see https://github.com/ianfixes/arduino_ci/issues/78#issuecomment-453776168 ) with Arduino Mega 2560.
Kind regards
PS : arduino_ci log finish with
Failures: 1
It may be interesting to show how many tests / examples are being run...
because showing only Failures: 0 can be quite misleading... it can simply be because tests / examples haven't been found
The text was updated successfully, but these errors were encountered: