BlockEase / QR-Hardware-Wallet

Build your own hardware wallet using affordable, globally available hardware!
GNU General Public License v3.0
2 stars 1 forks source link

🧩 [Usability] Compile all supported drivers into the firmware #18

Open jayden-sudo opened 2 weeks ago

jayden-sudo commented 2 weeks ago

Affected Version

No response

Steps to Improve Usability

Compile all supported drivers into the firmware and select the driver based on the configuration in the NVS partition. This approach will be more beneficial for future upgrades.

Expected Improvement

No response

Additional Context

No response

jayden-sudo commented 12 hours ago

https://github.com/BlockEase/QR-Hardware-Wallet-Peripherals

jayden-sudo commented 12 hours ago

Make the code into two layers:

  1. https://github.com/BlockEase/QR-Hardware-Wallet-Peripherals
    • Handles one-time writing of OEM configuration and hardware peripheral configuration.
  2. https://github.com/BlockEase/QR-Hardware-Wallet
    • Contains all drivers and dynamically loads hardware configurations based on the OEM partition configuration file.