Commit Graph

8 Commits

Author SHA1 Message Date
Sylvain Munaut 43e563d4cb firmware/iso7816soc-usb: Import minimal USB firmware
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 15:33:27 +02:00
Sylvain Munaut a6a5c12c1e firmware/common: Add a few helpers
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 15:32:38 +02:00
Sylvain Munaut de10cfd45e firmware/common: Import SPI code
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 15:32:19 +02:00
Sylvain Munaut 3490e33343 firmware: Start a "no2iso7816" driver base in common/
Really basic but it already allows to share some code between
projects.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 15:16:40 +02:00
Sylvain Munaut 78ce68dd79 firmware: Move NCN8025 control to common misc.{c,h}
Theses are just GPIO controls, so put them in the usual
misc.{c,h} for easier re-use.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 15:14:51 +02:00
Sylvain Munaut ca4a2e357b gateware: Add an option to build with a no2usb core built-in
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 12:18:44 +02:00
Sylvain Munaut f0a9338411 firmware: Move some code to common/ subdir to prepare for multiple fw
All the stuff in common/ will be shared across multiple test firmware
so put it where it can easily be re-used

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-02 12:17:40 +02:00
Sylvain Munaut e7a5ce7a45 firmware: Import all the test firmware code
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-04-28 15:01:37 +02:00