[En-Nut-Discussion] Make heartbeat cinfigurable
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Apr 29 12:37:31 CEST 2010
Hello,
at present, IDLE_HEARTBEAT_XXXX is not listed in some xx.nut file. Appended
patch adds these items to the configuration
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: conf/os/os.nut
===================================================================
--- conf/os/os.nut (Revision 2181)
+++ conf/os/os.nut (Arbeitskopie)
@@ -405,6 +405,27 @@
requires = { "HW_MCU_ARM", "NUT_CRITNESTING" },
file = "include/cfg/os.h"
},
+ {
+ macro = "IDLE_HEARTBEAT_BIT",
+ brief = "Idle Indicator",
+ description = "Pin for indication when Idle Thread is called",
+ requires = { "HW_MCU_AVR" },
+ file = "include/cfg/arch/avrpio.h"
+ },
+ {
+ macro = "IDLE_HEARTBEAT_PORT",
+ brief = "Idle Indicator",
+ description = "Port, where Pin for Idle Thread identification is located",
+ requires = { "HW_MCU_AVR" },
+ file = "include/cfg/arch/avrpio.h"
+ },
+ {
+ macro = "IDLE_HEARTBEAT_DDR",
+ brief = "Idle Indicator",
+ requires = { "HW_MCU_AVR" },
+ description = "DDR, where Pin for Idle Thread identification is located",
+ file = "include/cfg/arch/avrpio.h"
+ }
}
},
More information about the En-Nut-Discussion
mailing list