Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

doesn't compile with Adafruit Feather M0 #2

Closed
generationmake opened this issue May 8, 2021 · 1 comment
Closed

doesn't compile with Adafruit Feather M0 #2

generationmake opened this issue May 8, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@generationmake
Copy link
Contributor

Describe the bug

The example code doesn't compile with Adafruit Feather M0.

Steps to Reproduce

chose Adafruit Feather M0 as board and compile

Expected behavior

compile without error

Additional context

It seems to be related to these lines in the code:

// Specific for SAMD21 SparkFun RedBoard Turbo
#if !defined(Serial) && defined(ARDUINO_SAMD_ZERO)
#define Serial SerialUSB
#endif

It somehow steps into this define.
It I uncomment these lines everything compiles without error and works fine.

Sorry for not having a better error description

khoih-prog added a commit that referenced this issue May 9, 2021
### Releases v1.3.1

1. Fix compile error to some SAMD21-based boards, such as ADAFRUIT_FEATHER_M0, ARDUINO_SAMD_FEATHER_M0, ADAFRUIT_METRO_M0_EXPRESS, ARDUINO_SAMD_HALLOWING_M0 and ADAFRUIT_BLM_BADGE. Check [Doesn't compile with Adafruit Feather M0 #2](#2).
@khoih-prog
Copy link
Owner

Hi @generationmake

Thanks for your enhancement request, the new SAMD_TimerInterrupt release v1.3.1 has just been published, with your Contribution noted in Contributions and Thanks.

Looking forward to receiving more Contributions from you.

Thanks and Regards,


Releases v1.3.1

  1. Fix compile error to some SAMD21-based boards, such as ADAFRUIT_FEATHER_M0, ARDUINO_SAMD_FEATHER_M0, ADAFRUIT_METRO_M0_EXPRESS, ARDUINO_SAMD_HALLOWING_M0 and ADAFRUIT_BLM_BADGE. Check Doesn't compile with Adafruit Feather M0 #2.

@khoih-prog khoih-prog added the bug Something isn't working label May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants