cc3200: Allow to compile bootloader with threading enabled.

Threading is not used in the bootloader but the config optios are still
enabled so we must exclude including FreeRTOS.h.
This commit is contained in:
Damien George 2016-06-28 11:25:50 +01:00
parent 469c623bb8
commit 842c2c74c0

View File

@ -26,11 +26,15 @@
#ifndef __MICROPY_INCLUDED_CC3200_MPTHREADPORT_H__
#define __MICROPY_INCLUDED_CC3200_MPTHREADPORT_H__
#ifndef BOOTLOADER
#include "FreeRTOS.h"
#endif
typedef struct _mp_thread_mutex_t {
#ifndef BOOTLOADER
SemaphoreHandle_t handle;
StaticSemaphore_t buffer;
#endif
} mp_thread_mutex_t;
void mp_thread_init(void);