Add support for hardware and board initialisation overrides. (#8330)

* Add support for hardware and board initialisation overrides.

* qmk cformat.

* Add some documentation.

* Docs clarity.

* Make early_hardware_init_pre a no-op for now, until migrations occur.

* Doco update

* Make distinction between keyboard and ChibiOS board in docs

* Doc anchors.

* Update tmk_core/protocol/chibios/main.c

Co-Authored-By: Joel Challis <[email protected]>

* Rework bootloader entry to be off by default, allow opting-in.

Co-authored-by: Joel Challis <[email protected]>
This commit is contained in:
Nick BrasselandJoel Challis authored and GitHub committed 2020-04-13 09:39:38 +10:00
1 parent 17bda000f3
commit 05e9ff6554
5 files changed
+111 -5

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#pragma once
// Override the initialisation functions inside the ChibiOS board.c files
#define __early_init __chibios_override___early_init
#define boardInit __chibios_override_boardInit