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   0x00002000
 
#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_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2
 
#define BOOT_USART_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3
 
#define DEBUG_ENABLE   false
 
#define GPIO_BOOT_PIN_MASK   (1U << (BOOT_LOAD_PIN & 0x1F))
 

#define APP_START_ADDRESS   0x00002000

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_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2

Referenced by usart_open().

#define BOOT_USART_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3

Referenced by usart_open().

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

Referenced by check_start_application().