Skip to content

The SAL should not need to curate stack IDs #37

@bremoran

Description

@bremoran

There are several possible solutions.

  • Linker tricks: each stack should place a symbol in a specific linker section. The index of the symbol is the stack ID
  • String match: each stack defines an identifier string. The stack ID is the value of the pointer to the identifier string. Fallback is string comparison.
  • yotta tricks: Similar to linker tricks, but instead yotta assigns a unique number to each module at build time. That number is the stack ID.

As user/partner-supplied stacks increase in number (e.g. due to external network modules) this will become more of a problem. One of the above solutions would be more effective.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions