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>
This commit is contained in:
5
tmk_core/protocol/chibios/init_hooks.h
Normal file
5
tmk_core/protocol/chibios/init_hooks.h
Normal 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
|
Reference in New Issue
Block a user