[BSP EFM32] Fix building issue

This commit is contained in:
onelife 2017-03-16 11:29:29 +08:00
parent e2d596ae0f
commit 6949aafc78
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
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')

View File

@ -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 */