Rename CLOCK_FREQ macro to CPU_FREQ: now clock frequency has to be set in the makefile.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 10 Apr 2009 17:52:53 +0000 (17:52 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 10 Apr 2009 17:52:53 +0000 (17:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2489 38d2e660-2303-0410-9eaa-f027e97ec537

test/run_tests.sh

index 8ff7405ca87a6d27ef1e486c5fe0c3a914b3173e..78877addb9a2ea12055a7c7e88ee2c62deb566f1 100755 (executable)
@@ -17,7 +17,7 @@ VERBOSE=${VERBOSE:-1}
 
 CC=gcc
 #FIXME: -Ibertos/emul should not be needed
-CFLAGS="-W -Wall -Wextra -O0 -g3 -ggdb -Ibertos -Ibertos/emul -std=gnu99 -fno-builtin -D_DEBUG -DARCH=(ARCH_EMUL|ARCH_UNITTEST)"
+CFLAGS="-W -Wall -Wextra -O0 -g3 -ggdb -Ibertos -Ibertos/emul -std=gnu99 -fno-builtin -D_DEBUG -DARCH=(ARCH_EMUL|ARCH_UNITTEST) -DCPU_FREQ=(12288000UL)"
 
 CXX=g++
 CXXFLAGS="$CFLAGS"