Skip to content
Snippets Groups Projects
Commit 842c2c74 authored by Damien George's avatar Damien George
Browse files

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.
parent 469c623b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment