Skip to content

Commit ec456b9

Browse files
committed
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.
1 parent b754ecb commit ec456b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

targets/MK22F51212/src/hardware_init_K22F512.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ uint32_t get_uart_clock(uint32_t instance)
138138

139139
bool is_boot_pin_asserted(void)
140140
{
141+
return false;
141142
#ifdef BL_TARGET_FLASH
142143
// Initialize boot pin for GPIO
143144
BOOT_PIN_PORT->PCR[BOOT_PIN_NUMBER] |= PORT_PCR_MUX(BOOT_PIN_ALT_MODE);

0 commit comments

Comments
 (0)