Skip to content

refactor variants #393

@446564

Description

@446564

Situation

Currently variant specific code is spread out between the respective variant folders and the src/helpers libraries. This make it hard to reason about and work on variants as well as add new variants.

Proposal

We should move all variant specific code to their respective folders and any shared code can stay in the appropriate folder in src/helpers.

These should be done one at a time and one PR each to make it easy to review. Each PR should also only move files at first, shared code can be moved out after each variant is complete.

Variants to be refactored

Shared code

Some known shared code is listed below. It should be evaluated for any differences from the base board and probably refactored out into build flags and or variant specific code as appropriate.

  • ^1 helpers/HeltecV3Board.h
  • ^2 helpers/esp32/TBeamBoard.h
  • ^3 helpers/XiaoC3Boad.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions