Skip to content

Conversation

@evoggy
Copy link
Member

@evoggy evoggy commented Dec 4, 2025

This PR adds similar memory access to the DeckCtrl system as the 1-wire memories has. This means adding memory access to configuration (read-only) as well as access to the serial number of the memory. To achieve this the following changes have been made:

  • Added new type of memory (MEM_TYPE_DECKCTRL)
    • Access to the 2048 byte configuration page of the DeckCtrl MCU
    • Access to the 12 byte DeckCtrl MCU serial
  • Length of the serial number in the deck info packet has been increased from 8 to 12 bytes. This is compatible with current versions of the Python lib
  • Removed special handling of 1-wire memory access and instead use the normal memory handling
  • Possibility to register multiple memories of the same type and use internal IDs in the callbacks to handle multiple memories with the same callbacks
  • Sets a new limit of maximum 4 1-wire memory decks (will assert otherwise)
  • Moved memory access to 1-wire/DeckCtrl into their respective backends

@evoggy evoggy marked this pull request as draft December 5, 2025 14:52
@evoggy evoggy marked this pull request as ready for review December 8, 2025 10:12
tobbeanton
tobbeanton previously approved these changes Dec 8, 2025
Copy link
Member

@tobbeanton tobbeanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of changes but I can not find anything that looks suspicious, 👍

@evoggy evoggy merged commit 0373f56 into master Dec 8, 2025
25 checks passed
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.

3 participants