Commit Graph

25 Commits

Author SHA1 Message Date
Michael Scire
6a5d2ced4b ams: globally prefer R_RETURN to return for ams::Result 2022-04-04 17:46:58 -07:00
Michael Scire
6f4618ea60 ams: use R_SUCCEED, R_THROW globally 2022-04-04 17:46:57 -07:00
Michael Scire
d7a9c7ec4c ams: support building unit test programs on windows/linux/macos 2022-03-23 09:15:46 -07:00
Michael Scire
9436b9a555 ams: deduplicate static initialization logic 2022-01-19 16:28:54 -08:00
Michael Scire
d5ea59d8f8 powctl: remove unused arm_neon header after last commit 2021-10-26 01:11:09 -07:00
Michael Scire
6da57eff75 powctl: don't require arm64 arch for floating -> fixed conversion 2021-10-26 01:11:09 -07:00
Michael Scire
17bf5ee002 powctl: integrate 13.0.0 changes (aula params not done yet) 2021-10-15 23:54:40 -07:00
Michael Scire
3bef5b7d5a ams: allow bootloader to merely approximate correct target firmware 2021-10-15 23:54:37 -07:00
Michael Scire
3e33fb6361 strat: use m_ for member variables 2021-10-15 23:54:35 -07:00
Michael Scire
3fcc3c8e72 boot: save 12KB 2021-10-07 23:06:29 -07:00
Michael Scire
fd1b6d4578 libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
2021-10-07 23:06:28 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
dc3f54a713 ams: std::optional -> util::optional 2021-07-12 01:59:51 -07:00
Michael Scire
dc42da8456 boot: update all autogenerated parameters other than charge 2021-04-30 08:56:11 -07:00
Michael Scire
90f2c7b349 strat: fix board namespacing for nintendo::nx 2020-12-29 13:07:58 -08:00
Michael Scire
e82a57dc85 ams: resolve source dir inconsistency 2020-12-29 13:07:57 -08:00
Michael Scire
776947e28f boot/powctl/i2c: more miscellaneous fixes 2020-12-02 06:52:50 -08:00
Michael Scire
fcc7a54b02 powctl: implement max17050 driver 2020-12-02 06:52:50 -08:00
Michael Scire
5eba001491 powctl: add battery driver logic (missing impl) 2020-12-02 06:52:49 -08:00
Michael Scire
d50eca6669 powctl: implement max17050 custom parameter init 2020-12-02 06:52:49 -08:00
Michael Scire
11e010b0e6 powctl: implement full bq24193 driver 2020-12-02 06:52:49 -08:00
Michael Scire
0710185c28 i2c: add register acccessor helpers 2020-12-02 06:52:49 -08:00
Michael Scire
5b228da4b4 powctl: add ChargerDriver body (needs impl) 2020-12-02 06:52:48 -08:00
Michael Scire
f11884e0fe boot: refactor battery checking to use new powctl apis 2020-12-02 06:52:47 -08:00
Michael Scire
d2b6c6c818 powctl: implement client api (needs board-specific impl) 2020-12-02 06:52:47 -08:00