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

Should "Creating a New Application from Scratch" use zephyrproject-rtos/example-application? #26

Open
beriberikix opened this issue Jul 7, 2021 · 5 comments
Assignees

Comments

@beriberikix
Copy link
Contributor

https://docs.golioth.io/docs/guides/creating-an-app/
https://github.com/zephyrproject-rtos/example-application

The "Creating a New Application from Scratch" guide describes how to build a Zephyr project out of tree. The Zephyr folks have been developing a similar example repo that covers best practices. Moreover, they recently turned on the "repo template" feature.

So should we:

  1. Move to using example-application?
  2. Instruct users to create a new repo from the template?

Looking for input!

@lachlansneff
Copy link
Contributor

I'd suggest we move over to using the template/example-application. It's a shame that the example still pulls down basically every zephyr library including the kitchen sink (they really need to work on that IMO) though.

We can tell people to use the zephyr docs and then tell them to add golioth to the west.yml at the end.

@beriberikix
Copy link
Contributor Author

We can also tell people to restrict the projects they import. Did we ever figure out how to do that in the west.yaml?

@lachlansneff
Copy link
Contributor

I couldn't figure it out, but I didn't try too hard tbh, maybe @mniestroj figured it out?

@beriberikix
Copy link
Contributor Author

zephyrproject-rtos/zephyr#36324 relevant?

@0Grit
Copy link

0Grit commented Nov 8, 2021

https://github.com/golioth/app-hello-golioth is derived from https://github.com/zephyrproject-rtos/example-application.

It will not be this sprint but I want to change our starting from scratch guide to use app-hello-golioth as an example.

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

3 participants