Skip to content

boards/hifive1b: add arduino feature#12902

Merged
fjmolinas merged 2 commits intoRIOT-OS:masterfrom
aabadie:pr/boards/hifive1b_arduino
Dec 16, 2019
Merged

boards/hifive1b: add arduino feature#12902
fjmolinas merged 2 commits intoRIOT-OS:masterfrom
aabadie:pr/boards/hifive1b_arduino

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Dec 9, 2019

Contribution description

This PR is adding the Arduino feature to the hifive1b board.
It also does a minor cleanup in cpu.h/periph_cpu.h/cpu.c with isr functions declaration and includes. This fixes some compilation issues about ARRAY_SIZE is not defined.

Testing procedure

Issues/PRs references

None

@aabadie aabadie added Type: new feature The issue requests / The PR implemements a new feature for RIOT CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: arduino API Area: Arduino wrapper API Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms labels Dec 9, 2019
@aabadie aabadie requested a review from fjmolinas December 9, 2019 07:14
@fjmolinas fjmolinas added this to the Release 2020.01 milestone Dec 13, 2019
Copy link
Copy Markdown
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arduino mappings look good, just minor nitpicking. Could explain a little more why the second commit is needed?

@aabadie aabadie force-pushed the pr/boards/hifive1b_arduino branch from c36a65e to 9aa8166 Compare December 13, 2019 15:22
This ensures the ARRAY_SIZE macro is implicitly available
@aabadie aabadie force-pushed the pr/boards/hifive1b_arduino branch from 82c118b to b49cca2 Compare December 13, 2019 15:25
@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Dec 13, 2019

Comments addressed @fjmolinas.

@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Dec 16, 2019

Comments addressed @fjmolinas.

ping

Copy link
Copy Markdown
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK!

@fjmolinas fjmolinas merged commit 927b03f into RIOT-OS:master Dec 16, 2019
@aabadie aabadie deleted the pr/boards/hifive1b_arduino branch December 17, 2019 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: arduino API Area: Arduino wrapper API CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants