diff options
author | Nick Brassel <nick@tzarc.org> | 2020-04-13 09:39:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 09:39:38 +1000 |
commit | 05e9ff6554a1be119a585d691067ca2379c1d80d (patch) | |
tree | cd483e68d7e05950600fd4b96a2698d963b5b250 /tmk_core/protocol/chibios/init_hooks.h | |
parent | 17bda000f39dd40317160576d0a948d7abb2612f (diff) |
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 <git@zvecr.com>
* Rework bootloader entry to be off by default, allow opting-in.
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'tmk_core/protocol/chibios/init_hooks.h')
-rw-r--r-- | tmk_core/protocol/chibios/init_hooks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/init_hooks.h b/tmk_core/protocol/chibios/init_hooks.h new file mode 100644 index 0000000000..fffced913a --- /dev/null +++ b/tmk_core/protocol/chibios/init_hooks.h @@ -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 |