summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorardafu <[email protected]>2015-08-31 09:36:26 +0800
committerardafu <[email protected]>2015-08-31 09:36:26 +0800
commit7610ce36077abda8fc2324b546eb7e689067af64 (patch)
treecdbdfa429c11a64aaa082835ec9423a1c2049a7b
parent7164257ecdc3d26d2cf0159391660c609c52435b (diff)
[BSP] [ASM9260T] Fix compile errors.
1. Add Heap_Size define for Keil toolchain 2. Disable pthreads in rtconfig.h
-rw-r--r--bsp/asm9260t/platform/rt_low_level_keil.inc1
-rw-r--r--bsp/asm9260t/rtconfig.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/bsp/asm9260t/platform/rt_low_level_keil.inc b/bsp/asm9260t/platform/rt_low_level_keil.inc
index c3cde15ded..7b3c8cfe99 100644
--- a/bsp/asm9260t/platform/rt_low_level_keil.inc
+++ b/bsp/asm9260t/platform/rt_low_level_keil.inc
@@ -29,4 +29,5 @@ ABT_STK_SIZE EQU 512
IRQ_STK_SIZE EQU 1024
FIQ_STK_SIZE EQU 1024
SYS_STK_SIZE EQU 512
+Heap_Size EQU 512
END
diff --git a/bsp/asm9260t/rtconfig.h b/bsp/asm9260t/rtconfig.h
index 4b47b1a6d8..13a47dce77 100644
--- a/bsp/asm9260t/rtconfig.h
+++ b/bsp/asm9260t/rtconfig.h
@@ -65,7 +65,7 @@
/* SECTION: the runtime libc library */
/* the runtime libc library */
#define RT_USING_LIBC
-#define RT_USING_PTHREADS
+//#define RT_USING_PTHREADS
/* Using Module System */
//#define RT_USING_MODULE