Add more Arduino/FreeRTOS test stubs so that eModbus builds in ESP32 mode.

This commit is contained in:
Jonny 2025-08-06 20:28:55 +01:00
parent 9eac0a90b5
commit 55d8a24f55
12 changed files with 86 additions and 11 deletions

View file

@ -0,0 +1,10 @@
#include "FreeRTOS.h"
extern "C" {
BaseType_t xTaskCreatePinnedToCore(TaskFunction_t pxTaskCode, const char* const pcName, const uint32_t ulStackDepth,
void* const pvParameters, UBaseType_t uxPriority, TaskHandle_t* const pxCreatedTask,
const BaseType_t xCoreID) {
return 0;
}
void vTaskDelete(TaskHandle_t xTaskToDelete) {}
}