Initial sese-controller application
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "esp32_app_base.h"
|
||||
esp_err_t sese_product_start(void);
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
const esp32_app_base_config_t config = {
|
||||
.service_prefix = "SESE_",
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
.reset_gpio = 9,
|
||||
#else
|
||||
.reset_gpio = 0,
|
||||
#endif
|
||||
.reset_active_low = true,
|
||||
.reset_hold_ms = 5000,
|
||||
.product_start = sese_product_start,
|
||||
};
|
||||
(void)esp32_app_base_start(&config);
|
||||
}
|
||||
Reference in New Issue
Block a user