Commit graph

42 commits

Author SHA1 Message Date
Michael Scire 804e5d49bb boot: split out gpio, pinmux. 2019-06-22 11:34:18 -07:00
Michael Scire 06416aeded boot: refactor to use sts::boot namespace 2019-06-22 00:10:21 -07:00
Michael Scire cead8a36ea stratosphere: more result cleanup 2019-06-20 02:00:59 -07:00
Michael Scire 1456246f60 boot: implement PmicDriver::ShutdownSystem 2019-05-09 02:45:31 -07:00
Michael Scire 7581306109 boot: implement CheckAndRepairBootImages 2019-05-09 01:17:56 -07:00
Michael Scire 3f75a92fd2 boot: implement pmc wake config init (todo: events) 2019-05-07 09:32:37 -07:00
Michael Scire b5e91ff9a4 boot: fix some silly mistakes 2019-05-07 01:18:54 -07:00
Michael Scire 7c36a827da boot: implement bc24193 driver, part of CheckBatteryCharge 2019-05-06 15:53:29 -07:00
Michael Scire ea90325535 boot: remove debug logic for showing battery icons 2019-05-06 13:34:44 -07:00
Michael Scire 72377c2345 boot: implement battery icon drawing functions 2019-05-06 13:33:54 -07:00
Michael Scire 4ef7b83e34 boot: implement ConfigurePinmux 2019-05-03 06:20:50 -07:00
Michael Scire 4ca53e2ef1 boot: implement SetInitialClockConfiguration 2019-05-03 05:18:36 -07:00
Michael Scire d9da531b41 boot: implement ShowSplashScreen/Display 2019-05-03 05:00:03 -07:00
Michael Scire 93fb060fac boot: Implement DetectBootReason 2019-05-02 19:33:12 -07:00
Michael Scire 4ea6ce3156 boot: implement CheckClock 2019-05-02 18:10:07 -07:00
Michael Scire 505324f625 boot: functional exception handling/rebooting to payload 2019-05-02 17:55:50 -07:00
Michael Scire 38159bdf9a boot: Implement initial gpio configuration 2019-04-29 09:43:48 -07:00
Michael Scire e58948a42b boot: implement voltage change 2019-04-29 07:22:49 -07:00
Michael Scire 9c53c0c0cc boot: make our tasks explicit. 2019-04-29 06:09:47 -07:00
Michael Scire 7c5dc61795 boot: prepare for rewrite of boot sysmodule 2019-04-29 03:25:24 -07:00
Michael Scire b09adb6a34 stratosphere: only hold sm sessions open when needed 2019-04-22 12:59:49 -07:00
Michael Scire ac07971211 stratosphere: custom exception handlers (reboot to fusee) 2019-04-12 15:28:46 -07:00
Michael Scire 03e176d7f1 atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
Michael Scire c6d67eab6a strat: 0 -> ResultSuccess 2019-03-28 22:39:39 -07:00
Michael Scire 0001e93810 strat: use atmosphere results instead of magics 2019-03-28 20:19:38 -07:00
Michael Scire f00dd05f82 Make stratosphere use new libnx HosVersion API 2019-02-20 14:17:51 -08:00
Michael Scire 54a22797a7 Make libstratosphere a submodule 2018-11-08 01:24:40 -08:00
Michael Scire 6711cd93a8 atmosphere: extract API version management to common folder 2018-10-16 17:54:50 -07:00
hexkyz 28e4d4411d Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer). 2018-09-07 16:00:13 +01:00
hexkyz 7a27322044
Boot: Fully implemented GPIO and PINMUX handling 2018-06-02 22:32:51 +01:00
hexkyz b777844d2d
Boot: Implement PMC wake pin events 2018-05-21 21:32:57 +01:00
hexkyz bf3eea7031
Boot: Implement pinmux drive pad configuration 2018-05-15 21:25:40 +01:00
TuxSH ce891c990f Fix latest commit not building 2018-05-15 00:37:07 +02:00
hexkyz a28924fa10
Boot: Implement pinmux setup 2018-05-14 22:02:40 +01:00
Luke Street 96391ffca6 boot: Use fsdevMountSdmc & fsdevUnmountAll 2018-05-09 12:07:53 -04:00
hexkyz a39ad22841
Boot: Fleshing out more low level stuff
Add register read/write for 2.0.0+ (with svcReadWriteRegister)
Add hardware type recognition
Implement PMC clock out configuration
Implement PINMUX park updating
2018-05-08 22:48:43 +01:00
Léo Lam 999a15c887 boot: Make gpio helper functions internally linked 2018-05-06 13:09:33 +02:00
Léo Lam 555ed96e80 boot: Fix missing argument for gpio_base_vaddr 2018-05-06 13:09:33 +02:00
Léo Lam d1e9de50e8 boot: Fix invalid usage of svcQueryIoMapping 2018-05-06 13:09:33 +02:00
Léo Lam a097babe18 Replace std::make_tuple with simpler syntax (#77)
* boot2: Simplify g_additional_launch_programs

It appears that Stratosphère is targeting C++17. In C++17,
std::make_tuple is not required for initialisating a tuple anymore.
Same thing, but less typing

* Replace std::make_tuple with {}

More readable and less noise. Also fixes two missing return statements.
2018-05-05 11:41:39 -07:00
hexkyz 5025ba5e82
Boot: Implement initial GPIO configuration 2018-05-03 22:34:45 +01:00
hexkyz c70e0edc18 Boot: Initial skeleton and 1.0.0 GPIO voltage switch. 2018-04-25 21:35:02 +01:00