From: duplo Date: Thu, 16 Apr 2009 11:06:35 +0000 (+0000) Subject: Change module definition in order to contain hw dependency X-Git-Tag: 2.1.0~166 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c7fb36e3638f5dabccb1811d53ec8b781b06299d;p=bertos.git Change module definition in order to contain hw dependency git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2516 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/buzzer.h b/bertos/drv/buzzer.h index cd9aa862..a62b61e4 100644 --- a/bertos/drv/buzzer.h +++ b/bertos/drv/buzzer.h @@ -37,11 +37,8 @@ * * \brief Buzzer driver. * - * $WIZARD = { - * "name" : "buzzer" - * "depends" : [], - * "configuration" : "" - * } + * $WIZ$ module_name = "buzzer" + * $WIZ$ module_hw = "bertos/hw/hw_buzzer.h" */ #ifndef DRV_BUZZER_H diff --git a/bertos/drv/dataflash.h b/bertos/drv/dataflash.h index e8ecd4e9..4b4e994d 100644 --- a/bertos/drv/dataflash.h +++ b/bertos/drv/dataflash.h @@ -39,7 +39,7 @@ * $WIZ$ module_name = "dataflash" * $WIZ$ module_depends = "kfile" * $WIZ$ module_configuration = "bertos/cfg/cfg_dataflash.h" - * } + * $WIZ$ module_hw = "bertos/hw/hw_dataflash.h", "bertos/hw/hw_dataflash.c" */ diff --git a/bertos/drv/dc_motor.h b/bertos/drv/dc_motor.h index ebd91e28..3f4b15dd 100644 --- a/bertos/drv/dc_motor.h +++ b/bertos/drv/dc_motor.h @@ -39,6 +39,7 @@ * $WIZ$ module_name = "dc_motor" * $WIZ$ module_depends = "pwm", "pid_control", "adc", "timer" * $WIZ$ module_configuration = "bertos/cfg/cfg_dc_motor.h" + * $WIZ$ module_hw = "bertos/hw/hw_dc_motor.h" */ #ifndef DRV_DC_MOTOR_H diff --git a/bertos/drv/ft245rl.h b/bertos/drv/ft245rl.h index ced7ee19..258b0a4b 100644 --- a/bertos/drv/ft245rl.h +++ b/bertos/drv/ft245rl.h @@ -38,6 +38,7 @@ * * $WIZ$ module_name = "ft245rl" * $WIZ$ module_depends = "kfile", "timer" + * $WIZ$ module_hw = "bertos/hw/hw_ft245rl.h" */ diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 9327ff8d..a5673b70 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -36,7 +36,8 @@ * \author Francesco Sacchi * * $WIZ$ module_name = "i2c" - * "configuration" : "bertos/cfg/cfg_i2c.h" + * $WIZ$ module_configuration = "bertos/cfg/cfg_i2c.h" + * $WIZ$ module_hw = "bertos/hw/hw_i2c_bitbang.h" */ #ifndef DRV_I2C_H diff --git a/bertos/drv/ntc.h b/bertos/drv/ntc.h index 3a160ea7..04ab4d20 100644 --- a/bertos/drv/ntc.h +++ b/bertos/drv/ntc.h @@ -39,6 +39,7 @@ * * $WIZ$ module_name = "ntc" * $WIZ$ module_depends = "adc" + * $WIZ$ module_hw = "bertos/hw/hw_ntc.h", "bertos/hw/ntc_map.h" */ #ifndef DRV_NTC_H diff --git a/bertos/drv/phase.h b/bertos/drv/phase.h index 465477a3..cf40b9c5 100644 --- a/bertos/drv/phase.h +++ b/bertos/drv/phase.h @@ -39,7 +39,7 @@ * $WIZ$ module_name = "phase" * $WIZ$ module_depends = "timer" * $WIZ$ module_configuration = "bertos/cfg/cfg_phase.h" - * } + * $WIZ$ module_hw = "bertos/hw/hw_phase.h", "bertos/hw/phase_map.h", "bertos/hw/hw_phase.c" */ #ifndef DRV_PHASE_H diff --git a/bertos/drv/pwm.h b/bertos/drv/pwm.h index f0358214..b9fa7284 100644 --- a/bertos/drv/pwm.h +++ b/bertos/drv/pwm.h @@ -39,6 +39,7 @@ * * $WIZ$ module_name = "pwm" * $WIZ$ module_configuration = "bertos/cfg/cfg_pwm.h" + * $WIZ$ module_hw = "bertos/hw/pwm_map.h" */ #ifndef DRV_PWM_H diff --git a/bertos/drv/ser.h b/bertos/drv/ser.h index cf705aaf..e7d531ad 100644 --- a/bertos/drv/ser.h +++ b/bertos/drv/ser.h @@ -39,6 +39,7 @@ * $WIZ$ module_name = "ser" * $WIZ$ module_depends = "kfile", "timer" * $WIZ$ module_configuration = "bertos/cfg/cfg_ser.h" + * $WIZ$ module_hw = "bertos/hw/hw_ser.h" */ #ifndef DRV_SER_H diff --git a/bertos/drv/sipo.h b/bertos/drv/sipo.h index 50f64666..be2c6c1b 100644 --- a/bertos/drv/sipo.h +++ b/bertos/drv/sipo.h @@ -42,7 +42,7 @@ * * $WIZ$ module_name = "sipo" * $WIZ$ module_depends = "kfile" - * $WIZ$ module_configuration = "" + * $WIZ$ module_hw = "bertos/hw/hw_sipo.h" * */ diff --git a/bertos/drv/spi_bitbang.h b/bertos/drv/spi_bitbang.h index d9b65165..392c790d 100644 --- a/bertos/drv/spi_bitbang.h +++ b/bertos/drv/spi_bitbang.h @@ -40,6 +40,7 @@ * * $WIZ$ module_name = "spi_bitbang" * $WIZ$ module_configuration = "bertos/cfg/cfg_spi_bitbang.h" + * $WIZ$ module_hw = "bertos/hw/hw_spi.h" */ diff --git a/bertos/drv/stepper.h b/bertos/drv/stepper.h index 0756cf6b..6db52c2e 100644 --- a/bertos/drv/stepper.h +++ b/bertos/drv/stepper.h @@ -18,7 +18,7 @@ * $WIZ$ module_name = "stepper" * $WIZ$ module_depends = "timer", "ramp" * $WIZ$ module_configuration = "bertos/cfg/cfg_stepper.h" - * } + * $WIZ$ module_hw = "bertos/hw/hw_stepper.h" */ #ifndef DRV_STEPPER_H diff --git a/bertos/drv/thermo.h b/bertos/drv/thermo.h index 8e5f7449..9145fa9e 100644 --- a/bertos/drv/thermo.h +++ b/bertos/drv/thermo.h @@ -50,7 +50,7 @@ * $WIZ$ module_name = "thermo" * $WIZ$ module_depends = "timer", "ntc" * $WIZ$ module_configuration = "bertos/cfg/cfg_thermo.h" - * } + * $WIZ$ module_hw = "bertos/hw/hw_thermo.h", "bertos/hw/thermo_map.h" */ #ifndef DRV_THERMO_H