able to build freeRTOS with lpc175x_6x

This commit is contained in:
hathach
2014-03-03 16:25:34 +07:00
parent 6770a36cba
commit 22a84f744d
9 changed files with 2946 additions and 1301 deletions

View File

@@ -1,10 +1,14 @@
#ifndef __FREERTOS_CONFIG__H
#define __FREERTOS_CONFIG__H
#ifdef CORE_M4
#include "hal/hal.h"
#if __CORTEX_M == 4
#include "lpc43xx_m4_FreeRTOSConfig.h"
#elif defined(CORE_M0)
#elif __CORTEX_M == 0
#include "lpc43xx_m0_FreeRTOSConfig.h"
#elif __CORTEX_M == 3
#include "FreeRTOSConfig_lpc175x_6x.h"
#else
#error "For LPC43XX one of CORE_M0 or CORE_M4 must be defined!"
#endif /* ifdef CORE_M4 */