summaryrefslogtreecommitdiff
path: root/bsp/efm32
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/efm32')
-rw-r--r--bsp/efm32/SConscript2
-rw-r--r--bsp/efm32/rtconfig.h9
2 files changed, 8 insertions, 3 deletions
diff --git a/bsp/efm32/SConscript b/bsp/efm32/SConscript
index a13a327ee9..55adf12d6b 100644
--- a/bsp/efm32/SConscript
+++ b/bsp/efm32/SConscript
@@ -13,7 +13,7 @@ src_app = ['httpd.c']
src = src_bsp + src_drv1 + src_drv2 + src_dev + src_hdl + src_app
CPPPATH = [RTT_ROOT + '/bsp/efm32']
-CPPDEFINES = [rtconfig.EFM32_BOARD, rtconfig.EFM32_LCD, rtconfig.EFM32_TYPE]
+CPPDEFINES = [rtconfig.EFM32_LCD, rtconfig.EFM32_TYPE]
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')
diff --git a/bsp/efm32/rtconfig.h b/bsp/efm32/rtconfig.h
index 04495fc18a..91b1e08b8f 100644
--- a/bsp/efm32/rtconfig.h
+++ b/bsp/efm32/rtconfig.h
@@ -16,10 +16,15 @@
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
-/* RT_NAME_MAX*/
+/* EFM32_BOARD */
+//#define EFM32_G8XX_STK
+//#define EFM32_GXXX_DK
+#define EFM32GG_DK3750
+
+/* RT_NAME_MAX */
#define RT_NAME_MAX (8)
-/* RT_ALIGN_SIZE*/
+/* RT_ALIGN_SIZE */
#define RT_ALIGN_SIZE (4)
/* PRIORITY_MAX */