init
This commit is contained in:
8
main/app_composition/README.md
Normal file
8
main/app_composition/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# App Composition Layer
|
||||
|
||||
Purpose: top-level assembly only.
|
||||
|
||||
Rules:
|
||||
- `app_main` wires components, startup order, and shutdown hooks.
|
||||
- No feature/business logic in composition code.
|
||||
- No direct hardware operations outside platform abstractions.
|
||||
0
main/app_composition/include/.gitkeep
Normal file
0
main/app_composition/include/.gitkeep
Normal file
0
main/app_composition/internal/.gitkeep
Normal file
0
main/app_composition/internal/.gitkeep
Normal file
0
main/app_composition/src/.gitkeep
Normal file
0
main/app_composition/src/.gitkeep
Normal file
12
main/app_composition/src/app_main.c
Normal file
12
main/app_composition/src/app_main.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "controller_lifecycle.h"
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "app_main";
|
||||
|
||||
void app_main(void) {
|
||||
ESP_ERROR_CHECK(controller_lifecycle_start());
|
||||
|
||||
ESP_LOGI(TAG, "LYF controller started");
|
||||
}
|
||||
Reference in New Issue
Block a user