/* The example of esp-free-rtos
*
* This sample code is in the public domain.
*/
#include <stdio.h>
#include "espressif/esp_common.h"
#include "esp/uart.h"
#include "FreeRTOS.h"
#include "task.h"
#include "lwip/init.h"
void user_init(void)
{
uart_set_baud(0, 115200);
printf("SDK version:%s\n",
sdk_system_get_sdk_version());
printf("freeRTOS version:%s\n",
tskKERNEL_VERSION_NUMBER);
printf("NEWLIB version:%s\n", _NEWLIB_VERSION);
printf("lwIP version:%s\n", LWIP_VERSION_STRING);
}
|