refractor vendor/freertos

This commit is contained in:
hathach
2014-03-06 11:52:21 +07:00
parent dcc58a7afc
commit 301be3203c
6 changed files with 16 additions and 156 deletions

View File

@@ -4,11 +4,14 @@
#include "hal/hal.h"
#if __CORTEX_M == 4
#include "lpc43xx_m4_FreeRTOSConfig.h"
#elif __CORTEX_M == 0
#include "lpc43xx_m0_FreeRTOSConfig.h"
#include "FreeRTOSConfig_cm4f.h"
#elif __CORTEX_M == 3
#include "FreeRTOSConfig_lpc175x_6x.h"
#include "FreeRTOSConfig_cm3.h"
#elif __CORTEX_M == 0
#include "FreeRTOSConfig_cm0.h"
#else
#error "not yet supported MCU"
#endif