Skip to content

Package tools on PyPI #401

Open
Open
@oxr463

Description

@oxr463

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.

Activity

pennam

pennam commented on Aug 14, 2024

@pennam
Collaborator

@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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @per1234@pennam@oxr463

        Issue actions

          Package tools on PyPI · Issue #401 · arduino-libraries/ArduinoIoTCloud