text: /***************************************************************************//**
   * @file
   * @brief Provide BSP (board support package) configuration parameters.
   *******************************************************************************
   * # License
   * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
   *******************************************************************************
   *
   * The licensor of this software is Silicon Laboratories Inc. Your use of this
   * software is governed by the terms of Silicon Labs Master Software License
   * Agreement (MSLA) available at
   * www.silabs.com/about-us/legal/master-software-license-agreement. This
   * software is distributed to you in Source Code format and is governed by the
   * sections of the MSLA applicable to Source Code.
   *
   ******************************************************************************/
  
  #ifndef __BSPCONFIG_H
  #define __BSPCONFIG_H
  
  #define BSP_STK
  #define BSP_STK_BRD2001
  
  #define BSP_BCC_USART       UART0
  #define BSP_BCC_CLK         cmuClock_UART0
  #define BSP_BCC_LOCATION    UART_ROUTE_LOCATION_LOC1
  #define BSP_BCC_TXPORT      gpioPortE
  #define BSP_BCC_TXPIN       0
  #define BSP_BCC_RXPORT      gpioPortE
  #define BSP_BCC_RXPIN       1
  #define BSP_BCC_ENABLE_PORT gpioPortD
  #define BSP_BCC_ENABLE_PIN  13
  
  #define BSP_GPIO_LEDS
  #define BSP_NO_OF_LEDS          4
  #define BSP_GPIO_LED0_PORT      gpioPortC
  #define BSP_GPIO_LED0_PIN       0
  #define BSP_GPIO_LED1_PORT      gpioPortC
  #define BSP_GPIO_LED1_PIN       1
  #define BSP_GPIO_LED2_PORT      gpioPortC
  #define BSP_GPIO_LED2_PIN       2
  #define BSP_GPIO_LED3_PORT      gpioPortC
  #define BSP_GPIO_LED3_PIN       3
  #define BSP_GPIO_LEDARRAY_INIT { { BSP_GPIO_LED0_PORT, BSP_GPIO_LED0_PIN }, { BSP_GPIO_LED1_PORT, BSP_GPIO_LED1_PIN }, \
                                   { BSP_GPIO_LED2_PORT, BSP_GPIO_LED2_PIN }, { BSP_GPIO_LED3_PORT, BSP_GPIO_LED3_PIN } }
  
  #define BSP_GPIO_BUTTONS
  #define BSP_NO_OF_BUTTONS       2
  #define BSP_GPIO_PB0_PORT       gpioPortB
  #define BSP_GPIO_PB0_PIN        9
  #define BSP_GPIO_PB1_PORT       gpioPortB
  #define BSP_GPIO_PB1_PIN        10
  
  #define BSP_GPIO_BUTTONARRAY_INIT { { BSP_GPIO_PB0_PORT, BSP_GPIO_PB0_PIN }, { BSP_GPIO_PB1_PORT, BSP_GPIO_PB1_PIN } }
  
  #define BSP_INIT_DEFAULT  0
  
  #define BSP_BCP_VERSION 1
  #include "bsp_bcp.h"
  
  #endif
  