Commit Graph

4 Commits

Author SHA1 Message Date
Sylvain Munaut 27f35141de gateware/firmware: Add better support for buttons
The press events are detected in the gateware and latched
and the firmware can just read them as "events". They also
trigger sys clock domain wake up if it was sleeping.

This is better since the 'sys' clock domain can be shutdown for
some non-negligible amount of time and it could lead to missed
presses or latency.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-03-16 09:59:06 +01:00
Sylvain Munaut acaef093d4 firmware: Add .gitignore
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-03-12 11:07:12 +01:00
Sylvain Munaut bbd3486f8c firmware: Import the main firmware
This is the state that was used for the battery testing, so
import as-is to keep a record of changes.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-03-12 11:05:07 +01:00
Sylvain Munaut f4ee67209b firmware: Import of the boot code
This is what gets embedded in the bitstream and loads the
main software from flash.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-03-11 23:54:51 +01:00