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

Bundle libraries and example sketches #1

Merged
merged 1 commit into from
Dec 14, 2018
Merged

Bundle libraries and example sketches #1

merged 1 commit into from
Dec 14, 2018

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Dec 13, 2018

Bundling libraries and example sketches with the hardware package has several benefits:

  • Simplifies installation
  • Simplifies updates
  • Libraries will only be accessible when compiling for a Larduino_HSP board
  • Avoids conflicts when the user already has a library with the same folder name installed in their sketchbook
  • Examples only show in the File > Examples menu when a Larduino_HSP board is selected
  • Examples are displayed grouped together under a Examples for {board name} section of the File > Examples menu

I put the contents of the sketches folder in a dummy library so they would appear under the File > Examples menu after installing the Larduino_HSP package.
clipboard01

Bundling libraries and example sketches with the hardware package has several benefits:

- Simplifies installation
- Simplifies updates
- Libraries will only be accessible when compiling for a Larduino_HSP board
- Avoids conflicts when the user already has a library with the same folder name installed in their sketchbook
- Examples only show in the File > Examples menu when a Larduino_HSP board is selected
- Examples are displayed grouped together under a Examples for {board name} section of the File > Examples menu

I put the contents of the sketches folder in a dummy library so they would appear under the File > Examples menu after installing the Larduino_HSP package.
@LGTMCU LGTMCU merged commit d5fe3e2 into LGTMCU:master Dec 14, 2018
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.

2 participants