Fixed esp32 build.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
VERSION=7.0.1
|
||||
VERSION=7.0.2
|
||||
REVISION=$(shell git rev-parse HEAD)
|
||||
|
||||
OUT = out
|
||||
|
||||
@ -138,9 +138,11 @@
|
||||
#ifndef ENABLE_FREERTOS_SUPPORT
|
||||
# define OPTIONAL_FREERTOS_SUPPORT
|
||||
#else
|
||||
# include "freertos/FreeRTOS.h"
|
||||
# include "freertos/task.h"
|
||||
# define OPTIONAL_FREERTOS_SUPPORT \
|
||||
Y(vTaskDelete, vTaskDelete((TaskHandle_t) n0); DROP) \
|
||||
Y(xTaskCreatePinnedToCore, n0 = xTaskCreatePinnedToCore((TaskFunction_t) a6, c5, n4, a3, (UBaseType_t) n2, (TaskHandler_t *) a1, (BaseType_t) n0); NIPn(6)) \
|
||||
Y(xTaskCreatePinnedToCore, n0 = xTaskCreatePinnedToCore((TaskFunction_t) a6, c5, n4, a3, (UBaseType_t) n2, (TaskHandle_t *) a1, (BaseType_t) n0); NIPn(6)) \
|
||||
Y(xPortGetCoreID, PUSH xPortGetCoreID())
|
||||
#endif
|
||||
|
||||
|
||||
@ -25,10 +25,14 @@
|
||||
#define b2 (*(uint8_t **) &n2)
|
||||
#define b3 (*(uint8_t **) &n3)
|
||||
#define b4 (*(uint8_t **) &n4)
|
||||
#define b5 (*(uint8_t **) &n5)
|
||||
#define b6 (*(uint8_t **) &n6)
|
||||
|
||||
#define c0 ((char *) tos)
|
||||
#define c1 (*(char **) &n1)
|
||||
#define c2 (*(char **) &n2)
|
||||
#define c3 (*(char **) &n3)
|
||||
#define c4 (*(char **) &n4)
|
||||
#define c5 (*(char **) &n5)
|
||||
#define c6 (*(char **) &n6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user