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

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

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 4de3136ab6e156ded2b1347b243d0445505732fd..ac890acc7c41179d5f6dd016996e4f669ead6241 100644 (file)
@@ -13,19 +13,20 @@ kernel_footprint_PREFIX = "arm-none-eabi-"
 
 kernel_footprint_SUFFIX = ""
 
-kernel_footprint_SRC_PATH = boards/ek-lm3s1968/benchmarck/kernel_footprint
+kernel_footprint_SRC_PATH = boards/ek-lm3s1968/benchmark/kernel_footprint
 
 kernel_footprint_HW_PATH = boards/ek-lm3s1968
 
 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_CSRC INSTEAD!
 kernel_footprint_WIZARD_CSRC = \
        bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
-       bertos/kern/kfile.c \
+       bertos/mware/event.c \
+       bertos/kern/sem.c \
        bertos/cpu/cortex-m3/drv/timer_cm3.c \
        bertos/struct/heap.c \
        bertos/mware/formatwr.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 ff04e34d9186267bf631da117cc7603f103bd66f..ae53f95964638b07ddbd5306d06e747e03937323 100644 (file)
@@ -50,32 +50,34 @@ 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
-VLM3S1968
+asS'CPU_NAME'
 p33
-sS'PROJECT_HW_PATH'
+VLM3S1968
 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
+p40
+(lp41
 s.
\ No newline at end of file