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

Package tools on PyPI #401

Open
oxr463 opened this issue Jan 8, 2024 · 1 comment
Open

Package tools on PyPI #401

oxr463 opened this issue Jan 8, 2024 · 1 comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Comments

@oxr463
Copy link

oxr463 commented Jan 8, 2024

Instead of running the tools from within the directory, it would be better to not have compiled .dylib and .so files within the git repository but instead publish them as packages on PyPI. Then one could pip install the tools and even include them in a Dockerfile for running CI/CD.

@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Jan 8, 2024
@pennam
Copy link
Collaborator

pennam commented Aug 14, 2024

@oxr463 you can use the cloud-cli to create your ota binaries

./arduino-cloud-cli ota header-encode --help
encode header firmware to make it compatible with Arduino OTA

Usage:
  arduino-cloud-cli ota header-encode [flags]

Flags:
      --file string   Binary file (.bin) to be encoded
  -b, --fqbn string   Device fqbn
  -h, --help          help for header-encode

Global Flags:
      --format string   The output format, can be: text, json, jsonmini, yaml (default "text")
  -v, --verbose         Print the logs on the standard output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants