Initial project setup: ESP-IDF + C++ + FreeRTOS + WiFi + web server
This commit is contained in:
22
main/main.cpp
Normal file
22
main/main.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <stdio.h>
|
||||
#include <freertos/FreeRTOS.h>
|
||||
#include <freertos/task.h>
|
||||
#include <esp_log.h>
|
||||
#include "app_config.hpp"
|
||||
|
||||
static const char *TAG = "main";
|
||||
|
||||
extern "C" void app_main(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "ZoneBridge Application Starting");
|
||||
ESP_LOGI(TAG, "ESP32-S3 Touch LCD 4.3\" (Waveshare)");
|
||||
|
||||
// Initialize application components
|
||||
app_init();
|
||||
|
||||
// Main application loop
|
||||
while (1) {
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
//ESP_LOGI(TAG, "heartbeat");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user