Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Structure: Firmware Source Code #5

Open
2 tasks
amberstarlight opened this issue Dec 28, 2021 · 0 comments
Open
2 tasks

Project Structure: Firmware Source Code #5

amberstarlight opened this issue Dec 28, 2021 · 0 comments

Comments

@amberstarlight
Copy link
Member

amberstarlight commented Dec 28, 2021

Currently we have a loose structure in our firmware files, including header files for drivers inside of src/drivers. Is this a good way to structure the project?

As part of this card, we should come up with a solid project structure that gives us room to grow and add more drivers and features to the project without confusion. We should consider the following hypotheticals, as well as everything already supported including matrix scanning, USB communication:

  • we want to support multiple MCU architectures such as STM32, AVR32, SAMD21, NRF52, etc.
  • we want to support RGB LEDs, for example WS2812 (or compatibles).
  • we want to support an OLED screen (using, for example, an SSD1306 IC).
  • we want to support multiple IO expanders.
  • we want to support Bluetooth as a communication protocol.

Outcomes:

  • a new folder structure for header files and source files
  • a summary of choices made and how this supports the requirements, and explanations of compromises or changes

Blocked by #7

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

No branches or pull requests

1 participant