Hi,
The only calls I think are thread creation, semaphore creation & mailbox creation.
My requirement is to have the task delay in microsecond. But the vTaskDelay() functions are based on ticks and it is calculated in milliseconds.
1) Is there any way to reduce vTaskDelay to microsecond delays?
2) If not, timers can be used for microsecond delays but the Ethernet code should be in bare metal/ firmware.
3) If not, the change I did was, simply to use Ethernet FreeRTOS code and replace creation of thread into function. But the code is going to Hard Fault at the time of socket creation?
#if 0
/* Initialize lwIP from thread */
if (sys_thread_new("main", stack_init, NULL, INIT_THREAD_STACKSIZE, INIT_THREAD_PRIO) == NULL)
LWIP_ASSERT("main(): Task creation failed.", 0);
#endif
while(1)
{
stack_init();
}
So, can you tell which method would be useful and for changing the code to bm, can you tell where exactly the change can be made?
Thanks
Devaharsha