text: /**
   ***********************************************************************************************************************
   * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd.
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 
   * the License. You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
   * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
   * specific language governing permissions and limitations under the License.
   *
   * @file        board.c
   *
   * @brief       Initializes the CPU, System clocks, and Peripheral device
   *
   * @revision
   * Date          Author          Notes
   * 2020-02-20    OneOS Team      First Version
   ***********************************************************************************************************************
   */
  
  #include "board.h"
  #include <drv_gpio.h>
  
  const led_t led_table[] = {
      {GET_PIN(B, 14), PIN_LOW},
      {GET_PIN(B, 15), PIN_LOW},
  };
  
  const int led_table_size = ARRAY_SIZE(led_table);
  
  const struct push_button key_table[] = {
      {GET_PIN(C, 13), PIN_MODE_INPUT_PULLUP, PIN_IRQ_MODE_RISING},
  };
  
  const int key_table_size = ARRAY_SIZE(key_table);
  