Priority adjusted.

This commit is contained in:
imi415 2022-05-29 22:05:37 +08:00
parent 11b38ee429
commit d555d54856
Signed by: imi415
GPG Key ID: 885EC2B5A8A6F8A7
3 changed files with 3 additions and 3 deletions

View File

@ -328,7 +328,7 @@ void lwip_platform_assert(const char *msg, int line, const char *file);
#endif
/* FreeRTOS related settings */
#define TCPIP_THREAD_PRIO 47
#define TCPIP_THREAD_PRIO 15
#define TCPIP_MBOX_SIZE 32
#define TCPIP_THREAD_STACKSIZE 1024

View File

@ -364,7 +364,7 @@ static void enet_init(struct netif *netif, struct ethernetif *ethernetif)
ENET_Init(ethernetif->base, &ethernetif->handle, &config, &buffCfg, netif->hwaddr, sysClock);
#if USE_RTOS && defined(FSL_RTOS_FREE_RTOS)
xTaskCreate(enet_rx_task, "enet_rx_task", 1024, netif, 48, &ethernetif->rxTaskHandle);
xTaskCreate(enet_rx_task, "enet_rx_task", 1024, netif, 16, &ethernetif->rxTaskHandle);
ENET_SetCallback(&ethernetif->handle, ethernet_callback, netif);
#endif

View File

@ -31,7 +31,7 @@ int main(void) {
print_hardware();
sram_test();
xTaskCreate(vTaskHello, "HELLO", 256, NULL, 4, NULL);
xTaskCreate(vTaskHello, "HELLO", 256, NULL, 32, NULL);
vTaskStartScheduler();