diff --git a/ueforth/Makefile b/ueforth/Makefile index 4fd1dd1..d6b63f4 100644 --- a/ueforth/Makefile +++ b/ueforth/Makefile @@ -1,4 +1,4 @@ -VERSION=7.0.1 +VERSION=7.0.2 REVISION=$(shell git rev-parse HEAD) OUT = out diff --git a/ueforth/arduino/arduino.template.ino b/ueforth/arduino/arduino.template.ino index 585000d..f93eada 100644 --- a/ueforth/arduino/arduino.template.ino +++ b/ueforth/arduino/arduino.template.ino @@ -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 diff --git a/ueforth/common/calling.h b/ueforth/common/calling.h index ea882c6..2b2597b 100644 --- a/ueforth/common/calling.h +++ b/ueforth/common/calling.h @@ -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)