1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp_common/freertos: changes required for BLE

This commit is contained in:
Gunar Schorcht 2022-08-11 16:34:24 +02:00
parent 20032afa0d
commit 0574f463bb
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,6 @@
extern void vPortYield(void);
extern void vPortYieldFromInt(void);
#define portYIELD vPortYield
void thread_yield_higher(void);
#endif /* RIOT_VERSION */

View File

@ -39,6 +39,7 @@ extern "C" {
#define portMUX_INITIALIZE mutex_init
#define portMUX_INITIALIZER_UNLOCKED MUTEX_INIT
#define portYIELD thread_yield_higher
#define portYIELD_FROM_ISR thread_yield_higher
#define portENTER_CRITICAL vTaskEnterCritical
@ -64,6 +65,7 @@ extern "C" {
#define portNUM_PROCESSORS 1
#define xPortGetCoreID() PRO_CPU_NUM
#define vPortYield portYIELD
#endif /* defined(CPU_FAM_ESP32) || defined(CPU_FAM_ESP32S3) */