able to build freeRTOS with lpc175x_6x
This commit is contained in:
8
vendor/freertos/FreeRTOSConfig.h
vendored
8
vendor/freertos/FreeRTOSConfig.h
vendored
@@ -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 */
|
||||
|
Reference in New Issue
Block a user