You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I'm getting the following errors building the FreeRTOS code:
In file included from .pio/libdeps/controllino_mega/FreeRTOS/src/portable.h:53:0,
from .pio/libdeps/controllino_mega/FreeRTOS/src/Arduino_FreeRTOS.h:65,
from src/main.cpp:1:
.pio/libdeps/controllino_mega/FreeRTOS/src/portmacro.h:99:47: error: variable or field 'vTaskDelay' declared void
#define delay(ms) vTaskDelay((TickType_t)(ms)/portTICK_PERIOD_MS)
^
/home/rob/.platformio/packages/framework-arduino-avr/cores/arduino/Arduino.h:143:6: note: in expansion of macro 'delay'
void delay(unsigned long ms);
^~~~~
/home/rob/.platformio/packages/framework-arduino-avr/cores/arduino/Arduino.h:143:12: error: expected primary-expression before 'unsigned'
void delay(unsigned long ms);
^
.pio/libdeps/controllino_mega/FreeRTOS/src/portmacro.h:99:61: note: in definition of macro 'delay'
#define delay(ms) vTaskDelay((TickType_t)(ms)/portTICK_PERIOD_MS)
^~
/home/rob/.platformio/packages/framework-arduino-avr/cores/arduino/Arduino.h:143:12: error: expected ')' before 'unsigned'
void delay(unsigned long ms);
^
.pio/libdeps/controllino_mega/FreeRTOS/src/portmacro.h:99:61: note: in definition of macro 'delay'
#define delay(ms) vTaskDelay((TickType_t)(ms)/portTICK_PERIOD_MS)
^~
Commenting out this #define or rolling back to 10.4.6-2 allows the project to build without error.
Activity
technofreak74 commentedon May 29, 2022
Apologies if this is the wrong place to raise this, but I think this change may have broken the platformIO integration.
I'm attempting to build this project: https://github.com/mrwolfjunior/TrigPLC
but I'm getting the following errors building the FreeRTOS code:
Commenting out this #define or rolling back to 10.4.6-2 allows the project to build without error.
feilipu commentedon May 29, 2022
Try 10.4.6-4 Release. Please report if still broken.
See #114 discussion for more details.
technofreak74 commentedon May 29, 2022
10.4.6-4 builds without issue! Great timing 😄 thank you!
closes feilipu#113