feat: add mimiclaw onboarding page.
Signed-off-by: Bo <boironic@gmail.com>
This commit is contained in:
10
main/mimi.c
10
main/mimi.c
@@ -21,6 +21,9 @@
|
||||
#include "cli/serial_cli.h"
|
||||
#include "proxy/http_proxy.h"
|
||||
#include "tools/tool_registry.h"
|
||||
#include "display/display.h"
|
||||
#include "buttons/button_driver.h"
|
||||
#include "rgb/rgb.h"
|
||||
|
||||
static const char *TAG = "mimi";
|
||||
|
||||
@@ -95,6 +98,13 @@ void app_main(void)
|
||||
ESP_LOGI(TAG, "PSRAM free: %d bytes",
|
||||
(int)heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
||||
|
||||
/* Display + input */
|
||||
ESP_ERROR_CHECK(display_init());
|
||||
display_show_banner();
|
||||
ESP_ERROR_CHECK(rgb_init());
|
||||
rgb_set(255, 0, 0);
|
||||
button_Init();
|
||||
|
||||
/* Phase 1: Core infrastructure */
|
||||
ESP_ERROR_CHECK(init_nvs());
|
||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||
|
||||
Reference in New Issue
Block a user