16 lines
260 B
C
16 lines
260 B
C
#include <espressif/esp_common.h>
|
|
#include <esp/uart.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
void user_init(void)
|
|
{
|
|
uart_set_baud(0, 115200);
|
|
printf("SDK version: %s\n", sdk_system_get_sdk_version());
|
|
|
|
sdk_wifi_set_sleep_type(WIFI_SLEEP_MODEM);
|
|
|
|
while(1);
|
|
}
|