Skip to content

[Feature] Upload support for specified slot (other than the selected slot) #2753

Description

@afarago

Is your feature request related to a problem? Please describe.
While programmatically uploading compiled code to the hub the protocol supports upload to the selected slot only.
It would be awesome to add program support for uploading to any other slots.

Describe the solution you'd like
I would assume protocol extension.
Later on an extension to the pybricks-code as well.

Parameters:
     * offset: The offset from the user RAM base address (32-bit little-endian unsigned integer).
     * payload: The data to write (0 to 507 bytes).
     * slot: The selected slot (255 for selected slot)

https://github.com/pybricks/pybricks-micropython/blob/5428d0d6742a17b682c4235e16298bafd600b514/lib/pbio/include/pbio/protocol.h#L146

Describe alternatives you've considered
No current alternatives are available.

Additional context
afarago/blocklypy-vscode#19

Activity

  1. added
    triageIssues that have not been triaged yet
    on Jun 27, 2026
  2. added theissue type on Jun 27, 2026
  3. added and removed
    triageIssues that have not been triaged yet
    on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions