Michael Scire
c87be7cd69
boot: refactor i2c driver into namespace
2019-06-21 20:25:27 -07:00
Michael Scire
cead8a36ea
stratosphere: more result cleanup
2019-06-20 02:00:59 -07:00
Michael Scire
7b6050a0cb
boot: refactor for R_TRY
2019-06-20 00:57:17 -07:00
Michael Scire
50e307b4b7
Update for latest libnx
2019-06-03 12:19:05 -07:00
Michael Scire
bfd4d41834
boot: fix a few issues in gpio/pinmux config
2019-05-12 03:49:36 -07:00
hexkyz
2c3111f9c9
fusee: Add more verbose error messages
...
boot: Fix license text
2019-05-10 17:15:25 +01:00
Michael Scire
377b8dae9f
boot: fix two logic inversions in wake pin init
2019-05-09 21:58:13 -07:00
Michael Scire
78828427a4
boot: fix writes to WAKE2_MASK
2019-05-09 20:47:18 -07:00
friedkeenan
a85102c97c
boot: fix the width of the text splash
2019-05-09 14:18:57 -05:00
Michael Scire
9b11f1cb19
boot: improve display init consistency
2019-05-09 10:17:02 -07:00
Michael Scire
cf6b9de370
boot: correct typo in MipiCal03 config
2019-05-09 09:06:36 -07:00
Michael Scire
80c380e61e
boot: fix missing write in LCD vendor 0xF20 init
2019-05-09 08:15:12 -07:00
Michael Scire
967fa456ba
boot: fix trailing whitespace
2019-05-09 05:03:35 -07:00
Michael Scire
00db1dc286
boot: fix abort on < 3.0.0
2019-05-09 03:20:06 -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
a4ee4d20ad
boot: use correct clock out setting on < 6.0
2019-05-08 06:20:36 -07:00
Michael Scire
625ac5b357
boot: implement wake event configuration
2019-05-07 10:02:53 -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
db47a0c041
boot: implement SetFanEnabled
2019-05-06 23:14:06 -07:00
Michael Scire
5e7b33cabd
20ms, not 2s
2019-05-06 23:09:13 -07:00
Michael Scire
3cc79f4e11
boot: finish implementing CheckBatteryCharge
2019-05-06 23:08:28 -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
cccef3b85c
boot: Implement battery driver setup.
2019-05-06 08:00:22 -07:00
Michael Scire
e10c6a3217
boot: add battery calibration accessors.
2019-05-06 05:59:27 -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
fe0d41623c
boot: i2c driver fixes
2019-05-02 19:32:03 -07:00
Michael Scire
4ea6ce3156
boot: implement CheckClock
2019-05-02 18:10:07 -07:00
Michael Scire
520b5f6c59
boot: fix gpio configuration access errors
2019-05-02 17:56:04 -07:00
Michael Scire
505324f625
boot: functional exception handling/rebooting to payload
2019-05-02 17:55:50 -07:00
Michael Scire
31c4c33042
boot: finish i2c driver
2019-05-02 08:30:13 -07:00
Michael Scire
55a8154691
boot: implement I2cResourceManager
2019-05-02 07:18:05 -07:00
Michael Scire
453c05cf7c
boot: implement I2cDriverSession
2019-05-02 06:36:31 -07:00
Michael Scire
4c5c78858c
boot: implement I2cBusAccessor
2019-05-02 05:57:10 -07:00
Michael Scire
967613a261
boot: add i2c device configs
2019-05-02 02:53:48 -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