Merge branch 'rahix/hw-init'
Implement proper initialization of the different peripherals in
hardware_early_init() & hardware_init(). This includes stripping down
the display init so it does not perform a full reset anymore; we can do
this as the bootloader will have always performed the full reset
already.
Additionally this changeset enables the hardware_reset() function which
resets peripherals on load of a new app. This should increase stability
as apps can always assume everything to be in its default state on load.
Signed-off-by:
Rahix <rahix@rahix.de>
Showing
- epicardium/Heart.h 0 additions, 12802 deletionsepicardium/Heart.h
- epicardium/api/control.c 4 additions, 1 deletionepicardium/api/control.c
- epicardium/api/dispatcher.h 4 additions, 1 deletionepicardium/api/dispatcher.h
- epicardium/main.c 3 additions, 63 deletionsepicardium/main.c
- epicardium/modules/hardware.c 158 additions, 2 deletionsepicardium/modules/hardware.c
- epicardium/modules/lifecycle.c 19 additions, 10 deletionsepicardium/modules/lifecycle.c
- lib/card10/card10.c 1 addition, 2 deletionslib/card10/card10.c
- lib/card10/card10.h 2 additions, 0 deletionslib/card10/card10.h
- lib/card10/display.c 15 additions, 0 deletionslib/card10/display.c
- lib/card10/display.h 1 addition, 0 deletionslib/card10/display.h
- lib/gfx/textbuffer.c 0 additions, 2 deletionslib/gfx/textbuffer.c
Loading
Please register or sign in to comment