Merge pull request #705 from onelife/efm32_fix

[BSP EFM32] Fix building issue
This commit is contained in:
Bernard Xiong 2017-03-16 15:16:57 +08:00 committed by GitHub
commit 282c2f22f2
2 changed files with 8 additions and 3 deletions

View File

@ -13,7 +13,7 @@ src_app = ['httpd.c']
src = src_bsp + src_drv1 + src_drv2 + src_dev + src_hdl + src_app src = src_bsp + src_drv1 + src_drv2 + src_dev + src_hdl + src_app
CPPPATH = [RTT_ROOT + '/bsp/efm32'] 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) group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group') Return('group')

View File

@ -16,10 +16,15 @@
/* Exported types ------------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/ /* 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) #define RT_NAME_MAX (8)
/* RT_ALIGN_SIZE*/ /* RT_ALIGN_SIZE */
#define RT_ALIGN_SIZE (4) #define RT_ALIGN_SIZE (4)
/* PRIORITY_MAX */ /* PRIORITY_MAX */