mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
27 lines
670 B
C
27 lines
670 B
C
|
/* Hello World Example
|
||
|
|
||
|
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 "sdkconfig.h"
|
||
|
#include "freertos/FreeRTOS.h"
|
||
|
#include "freertos/task.h"
|
||
|
|
||
|
// Extra check to ensure our custom chip driver file is correctly linked
|
||
|
#if !CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST
|
||
|
#error Custom flash chip driver not used!
|
||
|
#endif
|
||
|
|
||
|
void app_main(void)
|
||
|
{
|
||
|
printf("Hello world!\n");
|
||
|
|
||
|
while(1) {
|
||
|
vTaskDelay(1);
|
||
|
}
|
||
|
}
|