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

Figure out what to do with the examples #7

Closed
david-sawatzke opened this issue Dec 18, 2018 · 0 comments
Closed

Figure out what to do with the examples #7

david-sawatzke opened this issue Dec 18, 2018 · 0 comments

Comments

@david-sawatzke
Copy link
Member

david-sawatzke commented Dec 18, 2018

I'd really like to keep them in there. They seem like good general representations and easily give an overview about how stuff is supposed to work. I'd remove the more specific ones (all the i2c & spi ones) and replace them with generalized versions (e.g. for spi a loopback example).

They provide quick example code which (even if they exist) are only partly given by doc tests. Especially for something like interrupts. They also serve as a way to have sample programs to compare binaries.

If we use a linker file with the minimum amount of memory and keep them in the CI system, I see little potential for breakage.

It also enables people that already have some chip, but not a specific board, get started, especially if they already have some experience in embedded c.

As we currently can't use doc tests, they also server as some form of build test.

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