From 7610ce36077abda8fc2324b546eb7e689067af64 Mon Sep 17 00:00:00 2001 From: ardafu Date: Mon, 31 Aug 2015 09:36:26 +0800 Subject: [PATCH] [BSP] [ASM9260T] Fix compile errors. 1. Add Heap_Size define for Keil toolchain 2. Disable pthreads in rtconfig.h --- bsp/asm9260t/platform/rt_low_level_keil.inc | 1 + bsp/asm9260t/rtconfig.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp/asm9260t/platform/rt_low_level_keil.inc b/bsp/asm9260t/platform/rt_low_level_keil.inc index c3cde15de..7b3c8cfe9 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 4b47b1a6d..13a47dce7 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