You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
494 B

void jump_to_app(void);
void bootloader(unsigned timeout);
#define BL_WAIT_MAGIC 0x19710317 /* magic number in PWR regs to wait in bootloader */
/*****************************************************************************
* Chip/board functions.
*/
/* LEDs */
#ifdef BOOT_DELAY_ADDRESS
# define BOOT_DELAY_SIGNATURE1 0x92c2ecff
# define BOOT_DELAY_SIGNATURE2 0xc5057d5d
# define BOOT_DELAY_MAX 30
#endif
#define MAX_DES_LENGTH 20
#define arraySize(a) (sizeof((a))/sizeof(((a)[0])))