FreeRTOS Addons
Loading...
Searching...
No Matches
freertos-config.h
1
2#pragma once
3
4#define CPP_FREERTOS_NO_EXCEPTIONS
5#define CPP_FREERTOS_NO_CPP_STRINGS
6
7#ifndef CPP_FREERTOS_DEFAULT_NAMESPACE
8#define CPP_FREERTOS_DEFAULT_NAMESPACE 1
9#endif
10
11#ifdef ESP32
12# define _taskENTER_CRITICAL() taskENTER_CRITICAL(&esp32Mutex)
13# define _taskEXIT_CRITICAL() taskEXIT_CRITICAL(&esp32Mutex)
14#else
15# define _taskENTER_CRITICAL() taskENTER_CRITICAL()
16# define _taskEXIT_CRITICAL() taskEXIT_CRITICAL()
17#endif
18
19#if CPP_FREERTOS_DEFAULT_NAMESPACE
20namespace cpp_freertos{}
21using namespace cpp_freertos;
22#endif
23
Definition: condition_variable.hpp:57