Created
April 12, 2019 17:03
-
-
Save detik19/c3de477392fa4847b14643fc6db5e64f to your computer and use it in GitHub Desktop.
RTOS SDK ESP8266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This example code is in the Public Domain (or CC0 licensed, at your option.) | |
Unless required by applicable law or agreed to in writing, this | |
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
CONDITIONS OF ANY KIND, either express or implied. | |
*/ | |
#include <stdio.h> | |
#include "esp_system.h" | |
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "esp_system.h" | |
#include "esp_spi_flash.h" | |
/****************************************************************************** | |
* FunctionName : app_main | |
* Description : entry of user application, init user function here | |
* Parameters : none | |
* Returns : none | |
*******************************************************************************/ | |
void app_main(void) | |
{ | |
printf("Hello world!\n"); | |
printf("SDK version:%s\n", esp_get_idf_version()); | |
esp_restart(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment