-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix #268: added platform support to Catena 4802 #269
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry ... the #ifs
require that this be reworked. It's architecturally not permitted to add board-specific dependencies in higher-level include files. So this can't be merged as is.
The best policy is not ever to use #if
unless there is no alternative due to the IDE limitations. That's not the case here; a combination of virtual methods and careful hierarchy will suffice.
made the suggested changes and tested build with example sketches. They compile successfully. Catena-Arduino-Platform/src/Catena4802.h Line 44 in 9482a42
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Added support to new board Catena 4802, changes done: