qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

halconf.h (1089B)


      1 /*
      2     ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
      3 
      4     Licensed under the Apache License, Version 2.0 (the "License");
      5     you may not use this file except in compliance with the License.
      6     You may obtain a copy of the License at
      7 
      8         http://www.apache.org/licenses/LICENSE-2.0
      9 
     10     Unless required by applicable law or agreed to in writing, software
     11     distributed under the License is distributed on an "AS IS" BASIS,
     12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13     See the License for the specific language governing permissions and
     14     limitations under the License.
     15 */
     16 
     17 /**
     18  * @file    templates/halconf.h
     19  * @brief   HAL configuration header.
     20  * @details HAL configuration file, this file allows to enable or disable the
     21  *          various device drivers from your application. You may also use
     22  *          this file in order to override the device drivers default settings.
     23  *
     24  * @addtogroup HAL_CONF
     25  * @{
     26  */
     27 
     28 #pragma once
     29 
     30 #define HAL_USE_I2C TRUE
     31 
     32 #define HAL_USE_PWM TRUE
     33 
     34 #define HAL_USE_SPI TRUE
     35 
     36 #include_next <halconf.h>
     37