Microchip® Advanced Software Framework

conf_bootloader.h File Reference

Bootloader specific configuration.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "conf_board.h"

Macros

#define APP_START_ADDRESS   0x00002000
 
#define BOOT_I2C_PAD0   EXT1_I2C_SERCOM_PINMUX_PAD0
 
#define BOOT_I2C_PAD1   EXT1_I2C_SERCOM_PINMUX_PAD1
 
#define BOOT_LED   LED0_PIN
 
#define BOOT_LOAD_PIN   SW0_PIN
 
#define BOOT_SERCOM   EXT1_I2C_MODULE
 
#define GPIO_BOOT_PIN_MASK   (1U << (BOOT_LOAD_PIN & 0x1F))
 
#define SLAVE_ADDRESS   0x15
 

#define APP_START_ADDRESS   0x00002000

Referenced by check_boot_mode(), and main().

#define BOOT_I2C_PAD0   EXT1_I2C_SERCOM_PINMUX_PAD0

Referenced by configure_i2c().

#define BOOT_I2C_PAD1   EXT1_I2C_SERCOM_PINMUX_PAD1

Referenced by configure_i2c().

#define BOOT_LED   LED0_PIN

Referenced by main(), and start_application().

#define BOOT_LOAD_PIN   SW0_PIN

Referenced by check_boot_mode().

#define BOOT_SERCOM   EXT1_I2C_MODULE

Referenced by configure_i2c().

#define GPIO_BOOT_PIN_MASK   (1U << (BOOT_LOAD_PIN & 0x1F))

Referenced by check_boot_mode().

#define SLAVE_ADDRESS   0x15

Referenced by configure_i2c().