- extern C around libraries and main function - Include common libraries - Create gitignore
19 lines
269 B
C++
19 lines
269 B
C++
extern "C"
|
|
{
|
|
#include <stdio.h>
|
|
#include <esp_system.h>
|
|
#include <esp_event.h>
|
|
#include <nvs_flash.h>
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "driver/gpio.h"
|
|
#include "esp_log.h"
|
|
#include "sdkconfig.h"
|
|
}
|
|
|
|
extern "C" void app_main(void)
|
|
{
|
|
|
|
|
|
}
|