2013-04-25 15:43:33 +07:00
|
|
|
#ifndef __FREERTOS_CONFIG__H
|
|
|
|
#define __FREERTOS_CONFIG__H
|
2013-04-16 16:30:36 +08:00
|
|
|
|
2014-03-03 16:25:34 +07:00
|
|
|
#include "hal/hal.h"
|
|
|
|
|
|
|
|
#if __CORTEX_M == 4
|
2014-03-06 11:52:21 +07:00
|
|
|
#include "FreeRTOSConfig_cm4f.h"
|
|
|
|
|
2014-03-03 16:25:34 +07:00
|
|
|
#elif __CORTEX_M == 3
|
2014-03-06 11:52:21 +07:00
|
|
|
#include "FreeRTOSConfig_cm3.h"
|
|
|
|
|
|
|
|
#elif __CORTEX_M == 0
|
|
|
|
#include "FreeRTOSConfig_cm0.h"
|
|
|
|
|
2013-04-16 16:30:36 +08:00
|
|
|
#else
|
2014-03-04 14:15:10 +07:00
|
|
|
#error "not yet supported MCU"
|
2014-03-05 16:44:37 +07:00
|
|
|
#endif
|
2013-04-16 16:30:36 +08:00
|
|
|
|
2013-04-25 15:43:33 +07:00
|
|
|
# endif /* __FREERTOS_CONFIG__H */
|