This allows rebuilding the boot loader without boot pin support (as
required to debug TeleMini) by only editing ao_pins.h
Signed-off-by: Keith Packard <keithp@keithp.com>
#include <ao_boot.h>
#include <ao_exti.h>
#include <ao_boot.h>
#include <ao_exti.h>
int
ao_boot_check_pin(void)
{
int
ao_boot_check_pin(void)
{
stm_rcc.apb1enr &= ~(1UL << STM_RCC_APB1ENR_PWREN);
return v == AO_BOOT_APPLICATION_VALUE;
}
stm_rcc.apb1enr &= ~(1UL << STM_RCC_APB1ENR_PWREN);
return v == AO_BOOT_APPLICATION_VALUE;
}