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:
parent
469c623bb8
commit
842c2c74c0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user