From 1fd8296f617d344eb3b7c132ca92c7ea99f0f2a9 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 17 Apr 2009 09:52:39 +0000 Subject: [PATCH] Fix unsupported modules. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2531 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/adc.h | 2 +- bertos/drv/i2c.h | 2 +- bertos/drv/ser.h | 3 ++- bertos/drv/timer.h | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bertos/drv/adc.h b/bertos/drv/adc.h index f66be8cb..d30f72ca 100644 --- a/bertos/drv/adc.h +++ b/bertos/drv/adc.h @@ -39,7 +39,7 @@ * * $WIZ$ module_name = "adc" * $WIZ$ module_configuration = "bertos/cfg/cfg_adc.h" - * $WIZ$ module_supports = "not atmega103" + * $WIZ$ module_supports = "not atmega103 and not atmega168 and not atmega8" */ diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 4d0be944..c09871fa 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -38,7 +38,7 @@ * $WIZ$ module_name = "i2c" * $WIZ$ module_configuration = "bertos/cfg/cfg_i2c.h" * $WIZ$ module_hw = "bertos/hw/hw_i2c_bitbang.h" - * $WIZ$ module_supports = "not atmega103" + * $WIZ$ module_supports = "not atmega103 and not atmega168" */ #ifndef DRV_I2C_H diff --git a/bertos/drv/ser.h b/bertos/drv/ser.h index d747ece7..0c61df4e 100644 --- a/bertos/drv/ser.h +++ b/bertos/drv/ser.h @@ -40,7 +40,8 @@ * $WIZ$ module_depends = "kfile", "timer" * $WIZ$ module_configuration = "bertos/cfg/cfg_ser.h" * $WIZ$ module_hw = "bertos/hw/hw_ser.h" - * $WIZ$ module_supports = "not atmega103" + * $WIZ$ module_supports = "not atmega103 and not atmega168 " + * $WIZ$ module_supports += "and not atmega32 and not atmega8" */ #ifndef DRV_SER_H diff --git a/bertos/drv/timer.h b/bertos/drv/timer.h index 0063ff4d..1e2b9e69 100644 --- a/bertos/drv/timer.h +++ b/bertos/drv/timer.h @@ -37,7 +37,7 @@ * * $WIZ$ module_name = "timer" * $WIZ$ module_configuration = "bertos/cfg/cfg_timer.h" - * $WIZ$ module_supports = "not atmega103" + * $WIZ$ module_supports = "not atmega103 and not atmega8" */ #ifndef DRV_TIMER_H -- 2.25.1