Leftover early initialisation conversions (#11615)
* jm60 * ergodox_stm32 * F042 bootloader jumps. * xiaomi/mk02 custom bootloader, no early-init bootloader jump for F072. * matrix/m20add, matrix/noah
This commit is contained in:
@@ -46,6 +46,4 @@ void __early_init(void) {
|
||||
* Board-specific initialization code.
|
||||
*/
|
||||
void boardInit(void) {
|
||||
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
|
||||
|
||||
}
|
||||
|
@@ -16,3 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "jm60.h"
|
||||
|
||||
void board_init(void) {
|
||||
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user