Microchip® Advanced Software Framework

conf_bootloader.h File Reference

Bootloader specific configuration.

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

#include "conf_board.h"

Macros

#define APP_START_ADDRESS   0x00006000
 
#define APP_START_PAGE   (APP_START_ADDRESS / FLASH_PAGE_SIZE)
 
#define BOOT_LED   LED0_PIN
 
#define BOOT_LOAD_PIN   SW0_PIN
 
#define BOOT_USART_BAUDRATE   115200
 
#define BOOT_USART_GCLK_SOURCE   GCLK_GENERATOR_0
 
#define BOOT_USART_MODULE   EDBG_CDC_MODULE
 
#define BOOT_USART_MUX_SETTINGS   EDBG_CDC_SERCOM_MUX_SETTING
 
#define BOOT_USART_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0
 
#define BOOT_USART_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1
 
#define DEBUG_ENABLE   false
 
#define GPIO_BOOT_PIN_MASK   (1U << (BOOT_LOAD_PIN & 0x1F))
 

#define APP_START_ADDRESS   0x00006000

Referenced by check_start_application().

#define APP_START_PAGE   (APP_START_ADDRESS / FLASH_PAGE_SIZE)
#define BOOT_LED   LED0_PIN
#define BOOT_LOAD_PIN   SW0_PIN

Referenced by check_start_application().

#define BOOT_USART_BAUDRATE   115200

Referenced by usart_open().

#define BOOT_USART_GCLK_SOURCE   GCLK_GENERATOR_0

Referenced by usart_open().

#define BOOT_USART_MODULE   EDBG_CDC_MODULE

Referenced by usart_is_rx_ready(), and usart_open().

#define BOOT_USART_MUX_SETTINGS   EDBG_CDC_SERCOM_MUX_SETTING

Referenced by usart_open().

#define BOOT_USART_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0

Referenced by usart_open().

#define BOOT_USART_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1

Referenced by usart_open().

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

Referenced by check_start_application().