Phase 1: ESP-IDF v5 project scaffold, custom partitions, managed deps, AGENTS.md hardware context
This commit is contained in:
4
main/CMakeLists.txt
Normal file
4
main/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
idf_component_register(SRCS
|
||||
"main.c"
|
||||
INCLUDE_DIRS "."
|
||||
)
|
||||
6
main/idf_component.yml
Normal file
6
main/idf_component.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
## IDF Component Manager dependencies for MTG RFID Companion
|
||||
## NOTE: espressif/esp_lcd is a built-in IDF component - do NOT declare it here.
|
||||
dependencies:
|
||||
idf: ">=5.0"
|
||||
abobija/rc522: "*"
|
||||
joltwallet/littlefs: "*"
|
||||
20
main/main.c
Normal file
20
main/main.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* MTG RFID Companion - Entry point
|
||||
*
|
||||
* Phase 1: Boot scaffold. Subsequent phases attach managers here.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "MAIN";
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "MTG RFID Companion booting...");
|
||||
while (1) {
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user