Add semaphore to benchmark test.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 May 2010 17:07:47 +0000 (17:07 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 May 2010 17:07:47 +0000 (17:07 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3698 38d2e660-2303-0410-9eaa-f027e97ec537

boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_proc.h
boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_sem.h
boards/at91sam7x-ek/benchmark/kernel_footprint/kernel_footprint.mk
boards/at91sam7x-ek/benchmark/kernel_footprint/project.bertos

index 18d59eb413461d62cff8b10492c26d6ae35bf59d..ab1a4680f354d2b3819e6b8091bc39476c26a68b 100644 (file)
@@ -32,7 +32,6 @@
  *
  * \brief Kernel configuration parameters
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
index 2a6de7a910bf1d34a4cb7ec491dc81880a6973c7..86ed110d143afb1e894f7ab81d8408a3c0e3acc2 100644 (file)
@@ -43,6 +43,6 @@
  * Re-entrant mutual exclusion primitives.
  * $WIZ$ type = "autoenabled"
  */
-#define CONFIG_KERN_SEMAPHORES  0
+#define CONFIG_KERN_SEMAPHORES  1
 
 #endif /*  CFG_SEM_H */
index bb4cf3cd8e9345621b0fc0c14c5fc979d264111b..4aa721379ca7348296c7e70154ce63c46976ffb4 100644 (file)
@@ -21,13 +21,14 @@ kernel_footprint_HW_PATH = boards/at91sam7x-ek
 kernel_footprint_WIZARD_CSRC = \
        bertos/cpu/arm/drv/timer_arm.c \
        bertos/kern/signal.c \
-       bertos/kern/kfile.c \
+       bertos/mware/event.c \
+       bertos/kern/sem.c \
        bertos/cpu/arm/drv/sysirq_at91.c \
        bertos/struct/heap.c \
        bertos/mware/formatwr.c \
        bertos/cpu/arm/drv/timer_at91.c \
        bertos/drv/timer.c \
-       bertos/mware/event.c \
+       bertos/kern/kfile.c \
        bertos/kern/proc.c \
        bertos/benchmark/kernel_footprint.c \
        bertos/mware/hex.c \
index 76669ff1e92d477d91a734302682910d2b017470..9336ef951919d5cda956863fd00d1e5ac2d28f78 100644 (file)
@@ -50,32 +50,36 @@ aS'formatwr'
 p25
 aS'kfile'
 p26
-aS'msg'
+aS'semaphores'
 p27
-aS'kernel_footprint'
+aS'msg'
 p28
-aS'heap'
+aS'kernel_footprint'
 p29
-aS'signal'
+aS'heap'
 p30
-aS'timer'
+aS'signal'
 p31
-asS'CPU_NAME'
+aS'timer'
 p32
-VAT91SAM7X256
+asS'CPU_NAME'
 p33
-sS'PROJECT_HW_PATH'
+VAT91SAM7X256
 p34
-S'../..'
+sS'PROJECT_HW_PATH'
 p35
-sS'PROJECT_SRC_PATH'
+S'../..'
 p36
-S'.'
+sS'PROJECT_SRC_PATH'
 p37
-sS'PRESET'
+S'.'
 p38
+sS'PRESET'
+p39
 I01
 sS'OUTPUT'
-p39
-(lp40
-s.
\ No newline at end of file
+p40
+(lp41
+S'codelite'
+p42
+as.
\ No newline at end of file