From ec456b9582cc66dd9039f883cf415872aea761ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 16 Oct 2017 18:04:34 +0200 Subject: [PATCH] Make is_boot_pin_asserted() always return false. No need to ever check the boot pin because the bootloader is to be triggered by other means. --- targets/MK22F51212/src/hardware_init_K22F512.c | 1 + 1 file changed, 1 insertion(+) diff --git a/targets/MK22F51212/src/hardware_init_K22F512.c b/targets/MK22F51212/src/hardware_init_K22F512.c index 510d43f..24606e3 100644 --- a/targets/MK22F51212/src/hardware_init_K22F512.c +++ b/targets/MK22F51212/src/hardware_init_K22F512.c @@ -138,6 +138,7 @@ uint32_t get_uart_clock(uint32_t instance) bool is_boot_pin_asserted(void) { + return false; #ifdef BL_TARGET_FLASH // Initialize boot pin for GPIO BOOT_PIN_PORT->PCR[BOOT_PIN_NUMBER] |= PORT_PCR_MUX(BOOT_PIN_ALT_MODE);