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

board specific driver and module organization #10964

Merged
merged 12 commits into from
Dec 4, 2018
Merged

board specific driver and module organization #10964

merged 12 commits into from
Dec 4, 2018

Conversation

dagar
Copy link
Member

@dagar dagar commented Dec 1, 2018

With the new board directories we now have a place where board specific drivers and modules can reside.

These components are automatically included via standard cmake mechanisms in the board itself. It further simplifies the board configuration as well as the core Firmware source tree.

@dagar dagar requested a review from davids5 December 1, 2018 18:36
@dagar dagar force-pushed the pr-reorg branch 3 times, most recently from b9df0f3 to 5e2a09f Compare December 1, 2018 19:21
@LorenzMeier
Copy link
Member

Not building yet

@dagar
Copy link
Member Author

dagar commented Dec 2, 2018

Good to go.

Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

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

I quickly went over this and it looks good.

# add_subdirectory(src/drivers/boards EXCLUDE_FROM_ALL)
#
# so include bbblue board specific code here:
../src/init.c
Copy link
Member

Choose a reason for hiding this comment

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

Required?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably not, but I didn't want to get too far into it without this board even compiling in CI.

Copy link
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

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

LGTM

@dagar dagar merged commit 5ba56c8 into master Dec 4, 2018
@dagar dagar deleted the pr-reorg branch December 4, 2018 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants