mbed library sources

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed May 06 14:15:12 2015 +0100
Parent:
534:6cdb58309977
Child:
536:c48d7048ab6e
Commit message:
Synchronized with git revision 53280295abca097d107e8afe7f31871a2b65dc9f

Full URL: https://github.com/mbedmicro/mbed/commit/53280295abca097d107e8afe7f31871a2b65dc9f/

Silicon Labs - Add the no-rtti C++ compilation flag required for linking libmbed.

Changed in this revision

targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.s Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h Show annotated file Show diff for this revision Revisions of this file
--- a/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.s	Tue May 05 08:00:08 2015 +0100
+++ b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.s	Wed May 06 14:15:12 2015 +0100
@@ -29,7 +29,7 @@
 ;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
 ; </h>
 
-Stack_Size      EQU     0x00000400
+Stack_Size      EQU     0x00000200
 
                 AREA    STACK, NOINIT, READWRITE, ALIGN=3
 Stack_Mem       SPACE   Stack_Size
--- a/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S	Tue May 05 08:00:08 2015 +0100
+++ b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S	Wed May 06 14:15:12 2015 +0100
@@ -37,7 +37,7 @@
 #ifdef __STACK_SIZE
     .equ    Stack_Size, __STACK_SIZE
 #else
-    .equ    Stack_Size, 0x400
+    .equ    Stack_Size, 0x200
 #endif
     .globl    __StackTop
     .globl    __StackLimit
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h	Tue May 05 08:00:08 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h	Wed May 06 14:15:12 2015 +0100
@@ -50,6 +50,11 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+// Redefine OPEN_MAX from sys_limits.h to save on RAM.
+// Effect: maximum amount of file handlers = OPEN_MAX
+// This is not going to have an impact, since this is a RAM-limited part anyway.
+#define OPEN_MAX                24
+
 #include "objects.h"
 #include "Modules.h"
 #include "device_peripherals.h"
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h	Tue May 05 08:00:08 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h	Wed May 06 14:15:12 2015 +0100
@@ -50,6 +50,11 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+// Redefine OPEN_MAX from sys_limits.h to save on RAM.
+// Effect: maximum amount of file handlers = OPEN_MAX
+// This is not going to have an impact, since this is a RAM-limited part anyway.
+#define OPEN_MAX                8
+
 #include "objects.h"
 #include "Modules.h"
 #include "device_peripherals.h"