commit 960338ccdddf3e176fafb882a71447ea2fe6c505
Author: Simon Welzel <simonwelzel@live.de>
Date:   Mon Nov 26 10:17:23 2018 +0100

    Removed unnecessary contents of module.c and module.h. Compilation now works without errors, but still throws some warnings.

diff --git a/modules/RT-STM32L476RG-NUCLEO64/module.h b/modules/RT-STM32L476RG-NUCLEO64/module.h
index db6954c..03c1f7e 100644
--- a/modules/RT-STM32L476RG-NUCLEO64/module.h
+++ b/modules/RT-STM32L476RG-NUCLEO64/module.h
@@ -72,16 +72,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include <hal.h>
 
 /**
- * @brief   ADC driver for reading the system voltage.
- */
-#define MODULE_HAL_ADC_VSYS                     ADCD1
-
-/**
- * @brief   Configuration for the ADC.
- */
-//extern ADCConversionGroup moduleHalAdcVsysConversionGroup;
-
-/**
  * @brief   CAN driver to use.
  */
 #define MODULE_HAL_CAN                          CAND1
@@ -92,41 +82,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 extern CANConfig moduleHalCanConfig;
 
 /**
- * @brief   I2C driver to access multiplexer, proximity sensors 1 to 4, power monitors for VIO1.8 and VIO 3.3, and fuel gauge (rear battery).
- */
-//#define MODULE_HAL_I2C_PROX_PM18_PM33_GAUGEREAR I2CD1
-
-/**
- * @brief   Configuration for the multiplexer, proximity sensors 1 to 4, power monitors for VIO1.8 and VIO 3.3, and fuel gauge (rear battery) I2C driver.
- */
-//extern I2CConfig moduleHalI2cProxPm18Pm33GaugeRearConfig;
-
-/**
- * @brief   I2C driver to access multiplexer, proximity sensors 5 to 8, power monitors for VSYS4.2, VIO 5.0 and VDD, EEPROM, touch sensor, and fuel gauge (front battery).
- */
-#define MODULE_HAL_I2C_PROX_PM42_PM50_PMVDD_EEPROM_TOUCH_GAUGEFRONT I2CD2
-
-/**
- * @brief   Configuration for the multiplexer, proximity sensors 1 to 4, power monitors for VIO1.8 and VIO 3.3, and fuel gauge (rear battery) I2C driver.
- */
-//extern I2CConfig moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig;
-
-/**
- * @brief   PWM driver for the buzzer.
- */
-//#define MODULE_HAL_PWM_BUZZER                   PWMD3
-
-/**
- * @brief   Configuration of the PWM driver.
- */
-//extern PWMConfig moduleHalPwmBuzzerConfig;
-
-/**
- * @brief   PWM channeö for the buzzer.
- */
-//#define MODULE_HAL_PWM_BUZZER_CHANNEL           1
-
-/**
  * @brief   Serial driver of the programmer interface.
  */
 #define MODULE_HAL_PROGIF                       SD2
@@ -172,21 +127,6 @@ extern ROMCONST apalControlGpio_t moduleGpioPowerEn;
 extern ROMCONST apalControlGpio_t moduleGpioSysUartDn;
 
 /**
- * @brief   CHARGE_STAT2A input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioChargeStat2A;
-
-/**
- * @brief   GAUGE_BATLOW2 input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioGaugeBatLow2;
-
-/**
- * @brief   GAUGE_BATGD2 input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioGaugeBatGd2;
-
-/**
  * @brief   LED output signal GPIO.
  */
 extern ROMCONST apalControlGpio_t moduleGpioLed;
@@ -197,26 +137,6 @@ extern ROMCONST apalControlGpio_t moduleGpioLed;
 extern ROMCONST apalControlGpio_t moduleGpioSysUartUp;
 
 /**
- * @brief   CHARGE_STAT1A input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioChargeStat1A;
-
-/**
- * @brief   GAUGE_BATLOW1 input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioGaugeBatLow1;
-
-/**
- * @brief   GAUGE_BATGD1 input signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioGaugeBatGd1;
-
-/**
- * @brief   CHARG_EN1 output signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioChargeEn1;
-
-/**
  * @brief   IR_INT2 input signal GPIO.
  */
 extern ROMCONST apalControlGpio_t moduleGpioIrInt2;
@@ -266,10 +186,6 @@ extern ROMCONST apalControlGpio_t moduleGpioSysWarmrst;
  */
 extern ROMCONST apalControlGpio_t moduleGpioBtRst;
 
-/**
- * @brief   CHARGE_EN2 output signal GPIO.
- */
-extern ROMCONST apalControlGpio_t moduleGpioChargeEn2;
 
 /** @} */
 
@@ -285,40 +201,18 @@ extern ROMCONST apalControlGpio_t moduleGpioChargeEn2;
  */
 #define MODULE_OS_IOEVENTFLAGS_IRINT1           ((eventflags_t)1 << GPIOB_IR_INT1_N)
 
-/**
- * @brief   Event flag to be set on a GAUGE_BATLOW1 interrupt.
- */
-#define MODULE_OS_IOEVENTFLAGS_GAUGEBATLOW1     ((eventflags_t)1 << GPIOC_GAUGE_BATLOW1)
-
-/**
- * @brief   Event flag to be set on a GAUGE_BATGD1 interrupt.
- */
-#define MODULE_OS_IOEVENTFLAGS_GAUGEBATGD1      ((eventflags_t)1 << GPIOC_GAUGE_BATGD1_N)
 
 /**
  * @brief   Event flag to be set on a SYS_UART_DN interrupt.
  */
 #define MODULE_OS_IOEVENTFLAGS_SYSUARTDN        ((eventflags_t)1 << GPIOB_SYS_UART_DN)
 
-/**
- * @brief   Event flag to be set on a IR_INT2 / CHARGE_STAT2A interrupt.
- */
-#define MODULE_OS_IOEVENTFLAGS_IRINT2           ((eventflags_t)1 << GPIOC_IR_INT2_N)
 
 /**
  * @brief   Event flag to be set on a TOUCH_INT interrupt.
  */
 #define MODULE_OS_IOEVENTFLAGS_TOUCHINT         ((eventflags_t)1 << GPIOC_TOUCH_INT_N)
 
-/**
- * @brief   Event flag to be set on a GAUGE_BATLOW2 interrupt.
- */
-#define MODULE_OS_IOEVENTFLAGS_GAUGEBATLOW2     ((eventflags_t)1 << GPIOB_GAUGE_BATLOW2)
-
-/**
- * @brief   Event flag to be set on a GAUGE_BATGD2 interrupt.
- */
-#define MODULE_OS_IOEVENTFLAGS_GAUGEBATGD2      ((eventflags_t)1 << GPIOB_GAUGE_BATGD2_N)
 
 /**
  * @brief   Event flag to be set on a PATH_DC interrupt.
@@ -357,357 +251,6 @@ extern ROMCONST apalControlGpio_t moduleGpioChargeEn2;
 extern ROMCONST char* moduleShellPrompt;
 #endif
 
-/**
- * @brief   Interrupt initialization macro.
- * @note    SSSP related interrupt signals are already initialized in 'aos_system.c'.
- */
-#define MODULE_INIT_INTERRUPTS() {                                            \
-  /* IR_INT1 */                                                               \
-  palSetPadCallback(moduleGpioIrInt1.gpio->port, moduleGpioIrInt1.gpio->pad, _intCallback, &moduleGpioIrInt1.gpio->pad); \
-  palEnablePadEvent(moduleGpioIrInt1.gpio->port, moduleGpioIrInt1.gpio->pad, APAL2CH_EDGE(moduleGpioIrInt1.meta.edge));  \
-  /* GAUGE_BATLOW2 */                                                         \
-  palSetPadCallback(moduleGpioGaugeBatLow2.gpio->port, moduleGpioGaugeBatLow2.gpio->pad, _intCallback, &moduleGpioGaugeBatLow2.gpio->pad);  \
-  palEnablePadEvent(moduleGpioGaugeBatLow2.gpio->port, moduleGpioGaugeBatLow2.gpio->pad, APAL2CH_EDGE(moduleGpioGaugeBatLow2.meta.edge));   \
-  /* GAUGE_BATGD2 */                                                          \
-  palSetPadCallback(moduleGpioGaugeBatGd2.gpio->port, moduleGpioGaugeBatGd2.gpio->pad, _intCallback, &moduleGpioGaugeBatGd2.gpio->pad); \
-  palEnablePadEvent(moduleGpioGaugeBatGd2.gpio->port, moduleGpioGaugeBatGd2.gpio->pad, APAL2CH_EDGE(moduleGpioGaugeBatGd2.meta.edge));  \
-  /* GAUGE_BATLOW1 */                                                         \
-  palSetPadCallback(moduleGpioGaugeBatLow1.gpio->port, moduleGpioGaugeBatLow1.gpio->pad, _intCallback, &moduleGpioGaugeBatLow1.gpio->pad);  \
-  palEnablePadEvent(moduleGpioGaugeBatLow1.gpio->port, moduleGpioGaugeBatLow1.gpio->pad, APAL2CH_EDGE(moduleGpioGaugeBatLow1.meta.edge));   \
-  /* GAUGE_BATGD1 */                                                          \
-  palSetPadCallback(moduleGpioGaugeBatGd1.gpio->port, moduleGpioGaugeBatGd1.gpio->pad, _intCallback, &moduleGpioGaugeBatGd1.gpio->pad); \
-  palEnablePadEvent(moduleGpioGaugeBatGd1.gpio->port, moduleGpioGaugeBatGd1.gpio->pad, APAL2CH_EDGE(moduleGpioGaugeBatGd1.meta.edge));  \
-  /* IR_INT1 */                                                               \
-  palSetPadCallback(moduleGpioIrInt2.gpio->port, moduleGpioIrInt2.gpio->pad, _intCallback, &moduleGpioIrInt1.gpio->pad); \
-  palEnablePadEvent(moduleGpioIrInt2.gpio->port, moduleGpioIrInt2.gpio->pad, APAL2CH_EDGE(moduleGpioIrInt1.meta.edge));  \
-  /* TOUCH_INT */                                                             \
-  palSetPadCallback(moduleGpioTouchInt.gpio->port, moduleGpioTouchInt.gpio->pad, _intCallback, &moduleGpioTouchInt.gpio->pad); \
-  palEnablePadEvent(moduleGpioTouchInt.gpio->port, moduleGpioTouchInt.gpio->pad, APAL2CH_EDGE(moduleGpioTouchInt.meta.edge));  \
-  /* PATH_DC */                                                               \
-  palSetPadCallback(moduleGpioPathDc.gpio->port, moduleGpioPathDc.gpio->pad, _intCallback, &moduleGpioPathDc.gpio->pad);  \
-  palEnablePadEvent(moduleGpioPathDc.gpio->port, moduleGpioPathDc.gpio->pad, APAL2CH_EDGE(moduleGpioPathDc.meta.edge));   \
-  /* SYS_SPI_DIR */                                                           \
-  palSetPadCallback(moduleGpioSysSpiDir.gpio->port, moduleGpioSysSpiDir.gpio->pad, _intCallback, &moduleGpioSysSpiDir.gpio->pad); \
-  palEnablePadEvent(moduleGpioSysSpiDir.gpio->port, moduleGpioSysSpiDir.gpio->pad, APAL2CH_EDGE(moduleGpioSysSpiDir.meta.edge));  \
-  /* SYS_WARMRST */                                                           \
-  palSetPadCallback(moduleGpioSysWarmrst.gpio->port, moduleGpioSysWarmrst.gpio->pad, _intCallback, &moduleGpioSysWarmrst.gpio->pad);  \
-  palEnablePadEvent(moduleGpioSysWarmrst.gpio->port, moduleGpioSysWarmrst.gpio->pad, APAL2CH_EDGE(moduleGpioSysWarmrst.meta.edge));   \
-}
-
-/**
- * @brief   Unit test initialization hook.
- */
-#define MODULE_INIT_TESTS() {                                                 \
-  /* add unit-test shell commands */                                          \
-  aosShellAddCommand(&aos.shell, &moduleUtAdcVsys.shellcmd);                  \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldAt24c01bn.shellcmd);            \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldBq24103a.shellcmd);             \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldBq27500.shellcmd);              \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldBq27500Bq24103a.shellcmd);      \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldIna219.shellcmd);               \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldMpr121.shellcmd);               \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldPca9544a.shellcmd);             \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldPklcs1212e4001.shellcmd);       \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldLed.shellcmd);                  \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldTps62113.shellcmd);             \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldTps62113Ina219.shellcmd);       \
-  aosShellAddCommand(&aos.shell, &moduleUtAlldVcnl4020.shellcmd);             \
-}
-
-/**
- * @brief   Periphery communication interfaces initialization hook.
- */
-#define MODULE_INIT_PERIPHERY_COMM() {                                        \
-  /* serial driver */                                                         \
-  sdStart(&MODULE_HAL_PROGIF, &moduleHalProgIfConfig);                        \
-  /* I2C */                                                                   \
-  moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed = (PCA9544A_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed) ? PCA9544A_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed;  \
-  moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed = (VCNL4020_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed) ? VCNL4020_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed;  \
-  moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed = (INA219_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed) ? INA219_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed;  \
-  moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed = (BQ27500_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed) ? BQ27500_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed;  \
-  moduleHalI2cProxPm18Pm33GaugeRearConfig.duty_cycle = (moduleHalI2cProxPm18Pm33GaugeRearConfig.clock_speed <= 100000) ? STD_DUTY_CYCLE : FAST_DUTY_CYCLE_2;  \
-  i2cStart(&MODULE_HAL_I2C_PROX_PM18_PM33_GAUGEREAR, &moduleHalI2cProxPm18Pm33GaugeRearConfig); \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (PCA9544A_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? PCA9544A_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (VCNL4020_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? VCNL4020_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (INA219_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? INA219_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (AT24C01BN_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? AT24C01BN_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (MPR121_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? MPR121_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed = (BQ27500_LLD_I2C_MAXFREQUENCY < moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed) ? BQ27500_LLD_I2C_MAXFREQUENCY : moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed; \
-  moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.duty_cycle = (moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig.clock_speed <= 100000) ? STD_DUTY_CYCLE : FAST_DUTY_CYCLE_2;  \
-  i2cStart(&MODULE_HAL_I2C_PROX_PM42_PM50_PMVDD_EEPROM_TOUCH_GAUGEFRONT, &moduleHalI2cProxPm42Pm50PmVddEepromTouchGaugeFrontConfig);  \
-  /* ADC */                                                                   \
-  adcStart(&MODULE_HAL_ADC_VSYS, NULL);                                       \
-  /* PWM */                                                                   \
-  pwmStart(&MODULE_HAL_PWM_BUZZER, &moduleHalPwmBuzzerConfig);                \
-  moduleHalPwmBuzzerConfig.frequency = MODULE_HAL_PWM_BUZZER.clock;           \
-  pwmStop(&MODULE_HAL_PWM_BUZZER);                                            \
-  moduleHalPwmBuzzerConfig.period = moduleHalPwmBuzzerConfig.frequency / PKLCS1212E4001_LLD_FREQUENCY_SPEC; \
-  pwmStart(&MODULE_HAL_PWM_BUZZER, &moduleHalPwmBuzzerConfig);                \
-}
-
-/**
- * @brief   Periphery communication interface deinitialization hook.
- */
-#define MODULE_SHUTDOWN_PERIPHERY_COMM() {                                    \
-  /* PWM */                                                                   \
-  pwmStop(&MODULE_HAL_PWM_BUZZER);                                            \
-  /* ADC */                                                                   \
-  adcStop(&MODULE_HAL_ADC_VSYS);                                              \
-  /* I2C */                                                                   \
-  i2cStop(&MODULE_HAL_I2C_PROX_PM18_PM33_GAUGEREAR);                          \
-  i2cStop(&MODULE_HAL_I2C_PROX_PM42_PM50_PMVDD_EEPROM_TOUCH_GAUGEFRONT);      \
-  /* don't stop the serial driver so messages can still be printed */         \
-}
-
-/** @} */
-
-#if (AMIROOS_CFG_SSSP_ENABLE == true)
-/*===========================================================================*/
-/**
- * @name Startup Shutdown Synchronization Protocol (SSSP)
- * @{
- */
-/*===========================================================================*/
-
-/**
- * @brief   PD signal GPIO.
- */
-#define moduleSsspGpioPd                        moduleGpioSysPd
-
-/**
- * @brief   SYNC signal GPIO.
- */
-#define moduleSsspGpioSync                       moduleGpioSysSync
-
-/**
- * @brief   DN signal GPIO.
- */
-#define moduleSsspGpioDn                        moduleGpioSysUartDn
-
-/**
- * @brief   UP signal GPIO.
- */
-#define moduleSsspGpioUp                        moduleGpioSysUartUp
-
-/**
- * @brief   Event flags for PD signal events.
- */
-#define MODULE_SSSP_EVENTFLAGS_PD               MODULE_OS_IOEVENTFLAGS_SYSPD
-
-/**
- * @brief   Event flags for SYNC signal events.
- */
-#define MODULE_SSSP_EVENTFLAGS_SYNC             MODULE_OS_IOEVENTFLAGS_SYSSYNC
-
-/**
- * @brief   Event flags for UP signal events.
- */
-#define MODULE_SSSP_EVENTFLAGS_UP               MODULE_OS_IOEVENTFLAGS_SYSUARTUP
-
-/**
- * @brief   Event flags for DN signal events.
- */
-#define MODULE_SSSP_EVENTFLAGS_DN               MODULE_OS_IOEVENTFLAGS_SYSUARTDN
-
-/** @} */
-
-#endif
-
-/*===========================================================================*/
-/**
- * @name Low-level drivers
- * @{
- */
-/*===========================================================================*/
-#include <alld_at24c01bn-sh-b.h>
-#include <alld_bq24103a.h>
-#include <alld_bq27500.h>
-#include <alld_ina219.h>
-#include <alld_led.h>
-#include <alld_mpr121.h>
-#include <alld_pca9544a.h>
-#include <alld_pklcs1212e4001.h>
-#include <alld_tps62113.h>
-#include <alld_vcnl4020.h>
-
-/**
- * @brief   EEPROM driver.
- */
-//extern AT24C01BNDriver moduleLldEeprom;
-
-/**
- * @brief   Battery charger (front battery) driver.
- */
-//extern BQ24103ADriver moduleLldBatteryChargerFront;
-
-/**
- * @brief   Battery charger (rear battery) driver.
- */
-//extern BQ24103ADriver moduleLldBatteryChargerRear;
-
-/**
- * @brief   Fuel gauge (front battery) driver.
- */
-//extern BQ27500Driver moduleLldFuelGaugeFront;
-
-/**
- * @brief   Fuel gauge (rear battery) driver.
- */
-//extern BQ27500Driver moduleLldFuelGaugeRear;
-
-/**
- * @brief   Power monitor (VDD) driver.
- */
-//extern INA219Driver moduleLldPowerMonitorVdd;
-
-/**
- * @brief   Power monitor (VIO 1.8) driver.
- */
-//extern INA219Driver moduleLldPowerMonitorVio18;
-
-/**
- * @brief   Power monitor (VIO 3.3) driver.
- */
-//extern INA219Driver moduleLldPowerMonitorVio33;
-
-/**
- * @brief   Power monitor (VSYS 4.2) driver.
- */
-//extern INA219Driver moduleLldPowerMonitorVsys42;
-
-/**
- * @brief   Power monitor (VIO 5.0) driver.
- */
-//extern INA219Driver moduleLldPowerMonitorVio50;
-
-/**
- * @brief   Status LED driver.
- */
-//extern LEDDriver moduleLldStatusLed;
-
-/**
- * @brief   Touch sensor driver.
- */
-//extern MPR121Driver moduleLldTouch;
-
-/**
- * @brief   I2C multiplexer (I2C 1) driver.
- */
-//extern PCA9544ADriver moduleLldI2cMultiplexer1;
-
-/**
- * @brief   I2C multiplexer (I2C 2) driver.
- */
-//extern PCA9544ADriver moduleLldI2cMultiplexer2;
-
-/**
- * @brief   Step down converter driver.
- * @note    Although there multiple TPS62113, those are completely identical from driver few (share the same signals).
- */
-//extern TPS62113Driver moduleLldStepDownConverter;
-
-/**
- * @brief   Proximity sensor (I2C 1) driver.
- */
-//extern VCNL4020Driver moduleLldProximity1;
-
-/**
- * @brief   Proximity sensor (I2C 2) driver.
- */
-//extern VCNL4020Driver moduleLldProximity2;
-
-/** @} */
-
-/*===========================================================================*/
-/**
- * @name Unit tests (UT)
- * @{
- */
-/*===========================================================================*/
-#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
-#include <ut_lld_adc.h>
-#include <ut_alld_at24c01bn-sh-b.h>
-#include <ut_alld_bq24103a.h>
-#include <ut_alld_bq27500.h>
-#include <ut_alld_bq27500_bq24103a.h>
-#include <ut_alld_ina219.h>
-#include <ut_alld_led.h>
-#include <ut_alld_mpr121.h>
-#include <ut_alld_pca9544a.h>
-#include <ut_alld_pklcs1212e4001.h>
-#include <ut_alld_tps62113.h>
-#include <ut_alld_tps62113_ina219.h>
-#include <ut_alld_vcnl4020.h>
-
-/**
- * @brief   ADC unit test object.
- */
-extern aos_unittest_t moduleUtAdcVsys;
-
-/**
- * @brief   AT24C01BN-SH-B (EEPROM) unit test object.
- */
-extern aos_unittest_t moduleUtAlldAt24c01bn;
-
-/**
- * @brief   BQ24103A (battery charger) unit test object.
- */
-extern aos_unittest_t moduleUtAlldBq24103a;
-
-/**
- * @brief   BQ27500 (fuel gauge) unit test object.
- */
-extern aos_unittest_t moduleUtAlldBq27500;
-
-/**
- * @brief   BQ27500 (fuela gauge) in combination with BQ24103A (battery charger) unit test object.
- */
-extern aos_unittest_t moduleUtAlldBq27500Bq24103a;
-
-/**
- * @brief   INA219 (power monitor) unit test object.
- */
-extern aos_unittest_t moduleUtAlldIna219;
-
-/**
- * @brief   Status LED unit test object.
- */
-extern aos_unittest_t moduleUtAlldLed;
-
-/**
- * @brief   MPR121 (touch sensor) unit test object.
- */
-extern aos_unittest_t moduleUtAlldMpr121;
-
-/**
- * @brief   PCA9544A (I2C multiplexer) unit test object.
- */
-extern aos_unittest_t moduleUtAlldPca9544a;
-
-/**
- * @brief   PKLCS1212E4001 (buzzer) unit test object.
- */
-extern aos_unittest_t moduleUtAlldPklcs1212e4001;
-
-/**
- * @brief   TPS62113 (step-down converter) unit test object.
- */
-extern aos_unittest_t moduleUtAlldTps62113;
-
-/**
- * @brief   TPS62113 (step-sown converter) in combination with INA219 (power monitor) unit test object.
- */
-extern aos_unittest_t moduleUtAlldTps62113Ina219;
-
-/**
- * @brief   VCNL4020 (proximity sensor) unit test object.
- */
-extern aos_unittest_t moduleUtAlldVcnl4020;
-
-#endif /* AMIROOS_CFG_TESTS_ENABLE == true */
-
-/** @} */
-
 #endif /* _AMIROOS_MODULE_H_ */
 
 /** @} */
