Skip to content
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

Preliminary multi-board support for Arduino #141

Merged
merged 8 commits into from
Jan 25, 2023
Merged

Conversation

arengarajan99
Copy link
Collaborator

@arengarajan99 arengarajan99 commented Jan 13, 2023

Different Arduino boards have different infrastructures, which requires us to determine what board type we are flashing to (AVR, SAM, SAMD, megaAVR, or MBED). Currently, the only change we need to make on reactor-c is ensuring MBED boards have a different call for disabling and enabling interrupts. This pull request will allow us to re-enable physical actions on Arduino boards.

Different Arduino boards have different infrastructures, which requires us to determine what board type we are flashing to (AVR, SAM, SAMD, megaAVR, or MBED). Currently, the only change we need to make on reactor-c is ensuring MBED boards have a different call for disabling and enabling interrupts.
@arengarajan99 arengarajan99 changed the title Added preliminary multi-boardtype support for Arduino Added preliminary multi-board support for Arduino Jan 13, 2023
@arengarajan99
Copy link
Collaborator Author

@erlingrj It may be good to see if this way of using compile-time params in the board type is sufficient. In cases where we need the specific board rather than its family, we can simply pull those up via referencing its specific compile-time macro.

include/core/platform/lf_arduino_support.h Outdated Show resolved Hide resolved
core/platform/lf_arduino_support.c Outdated Show resolved Hide resolved
@lhstrh lhstrh changed the title Added preliminary multi-board support for Arduino Preliminary multi-board support for Arduino Jan 25, 2023
@lhstrh lhstrh merged commit c8455ba into main Jan 25, 2023
@lhstrh lhstrh deleted the arduino-cli-support branch January 25, 2023 00:36
@arengarajan99 arengarajan99 restored the arduino-cli-support branch January 27, 2023 22:59
@lhstrh lhstrh added the feature New feature label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants