amiro-os / os / modules / DiWheelDrive_1-1 / alldconf.h @ e545e620
History | View | Annotate | Download (1.999 KB)
| 1 | 
      /*
     | 
  
|---|---|
| 2 | 
      AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
     | 
  
| 3 | 
      Copyright (C) 2016..2018  Thomas Schöpping et al.
     | 
  
| 4 | 
       | 
  
| 5 | 
      This program is free software: you can redistribute it and/or modify
     | 
  
| 6 | 
      it under the terms of the GNU General Public License as published by
     | 
  
| 7 | 
      the Free Software Foundation, either version 3 of the License, or
     | 
  
| 8 | 
      (at your option) any later version.
     | 
  
| 9 | 
       | 
  
| 10 | 
      This program is distributed in the hope that it will be useful,
     | 
  
| 11 | 
      but WITHOUT ANY WARRANTY; without even the implied warranty of
     | 
  
| 12 | 
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     | 
  
| 13 | 
      GNU General Public License for more details.
     | 
  
| 14 | 
       | 
  
| 15 | 
      You should have received a copy of the GNU General Public License
     | 
  
| 16 | 
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
     | 
  
| 17 | 
      */
     | 
  
| 18 | 
       | 
  
| 19 | 
      #ifndef _ALLDCONF_H_
     | 
  
| 20 | 
      #define _ALLDCONF_H_
     | 
  
| 21 | 
       | 
  
| 22 | 
      /*
     | 
  
| 23 | 
       * compatibility guards
     | 
  
| 24 | 
       */
     | 
  
| 25 | 
      #define _AMIRO_LLD_CFG_
     | 
  
| 26 | 
      #define AMIRO_LLD_CFG_VERSION_MAJOR 1  | 
  
| 27 | 
      #define AMIRO_LLD_CFG_VERSION_MINOR 0  | 
  
| 28 | 
       | 
  
| 29 | 
      /**
     | 
  
| 30 | 
       * @brief   Enable flag for the A3906 motor driver.
     | 
  
| 31 | 
       */
     | 
  
| 32 | 
      #define AMIROLLD_CFG_USE_A3906
     | 
  
| 33 | 
       | 
  
| 34 | 
      /**
     | 
  
| 35 | 
       * @brief   Enable flag for the AT24C01BN-SH-B EEPROM.
     | 
  
| 36 | 
       */
     | 
  
| 37 | 
      #define AMIROLLD_CFG_USE_AT24C01BN
     | 
  
| 38 | 
       | 
  
| 39 | 
      /**
     | 
  
| 40 | 
       * @brief   Enable flag for the MHC5883L compass.
     | 
  
| 41 | 
       */
     | 
  
| 42 | 
      #define AMIROLLD_CFG_USE_HMC5883L
     | 
  
| 43 | 
       | 
  
| 44 | 
      /**
     | 
  
| 45 | 
       * @brief   Enable flag for the INA219 power monitor.
     | 
  
| 46 | 
       */
     | 
  
| 47 | 
      #define AMIROLLD_CFG_USE_INA219
     | 
  
| 48 | 
       | 
  
| 49 | 
      /**
     | 
  
| 50 | 
       * @brief   Enable flag for the L3G4200D gyroscope.
     | 
  
| 51 | 
       */
     | 
  
| 52 | 
      #define AMIROLLD_CFG_USE_L3G4200D
     | 
  
| 53 | 
       | 
  
| 54 | 
      /**
     | 
  
| 55 | 
       * @brief   Enable flag for the status LED.
     | 
  
| 56 | 
       */
     | 
  
| 57 | 
      #define AMIROLLD_CFG_USE_LED
     | 
  
| 58 | 
       | 
  
| 59 | 
      /**
     | 
  
| 60 | 
       * @brief   Enable flag for the LIS331DLH accelerometer.
     | 
  
| 61 | 
       */
     | 
  
| 62 | 
      #define AMIROLLD_CFG_USE_LIS331DLH
     | 
  
| 63 | 
       | 
  
| 64 | 
      /**
     | 
  
| 65 | 
       * @brief   Enable flag for the LTC4412 power path controller.
     | 
  
| 66 | 
       */
     | 
  
| 67 | 
      #define AMIROLLD_CFG_USE_LTC4412
     | 
  
| 68 | 
       | 
  
| 69 | 
      /**
     | 
  
| 70 | 
       * @brief   Enable flag for the PCA9544A I2C multiplexer.
     | 
  
| 71 | 
       */
     | 
  
| 72 | 
      #define AMIROLLD_CFG_USE_PCA9544A
     | 
  
| 73 | 
       | 
  
| 74 | 
      /**
     | 
  
| 75 | 
       * @brief   Enable flag for the TPS62113 step-down converter.
     | 
  
| 76 | 
       */
     | 
  
| 77 | 
      #define AMIROLLD_CFG_USE_TPS62113
     | 
  
| 78 | 
       | 
  
| 79 | 
      /**
     | 
  
| 80 | 
       * @brief   Enable flag for the VCNL4020 proximity sensor.
     | 
  
| 81 | 
       */
     | 
  
| 82 | 
      #define AMIROLLD_CFG_USE_VCNL4020
     | 
  
| 83 | 
       | 
  
| 84 | 
      #endif /* _ALLDCONF_H_ */  |