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

Make examples not board specific #231

Open
Ivan-Velickovic opened this issue Oct 24, 2024 · 0 comments
Open

Make examples not board specific #231

Ivan-Velickovic opened this issue Oct 24, 2024 · 0 comments

Comments

@Ivan-Velickovic
Copy link
Collaborator

Most of the examples are just copy-pastes of the 'hello world' example for each board which doesn't actually need to be board specific.

Nowadays there are enough boards that it's becoming annoying to deal with so we should change the file structure to something like:
examples/hello/*

and have it work for every board by passing MICROKIT_BOARD=<board>.

And for the actually platform specific examples such as example/odroidc4/timer, we should change it to something like:
example/timer/board/odroidc4/timer.system and all the other non-platform specific files go in example/timer/.

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

No branches or pull requests

1 participant