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:
parent
20032afa0d
commit
0574f463bb
@ -42,7 +42,6 @@
|
||||
|
||||
extern void vPortYield(void);
|
||||
extern void vPortYieldFromInt(void);
|
||||
#define portYIELD vPortYield
|
||||
void thread_yield_higher(void);
|
||||
|
||||
#endif /* RIOT_VERSION */
|
||||
|
@ -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) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user