Step 0: IDF project skeleton for esp32p4 with core component stubs
- Board checked with esptool: ESP32-P4 rev v1.3 (engineering silicon), 32 MB GigaDevice flash. Rev <3 support and 32 MB set in sdkconfig.defaults. - OTA partition layout: nvs, otadata, phy_init, ota_0/ota_1 (6 MB each, below 16 MB), coredump; no factory app. Partition table at 0x10000 so the bootloader can grow. - App rollback enabled in the bootloader from the start. - PROJECT_VER from git describe --tags --always --dirty. - Empty stubs for the nine aes67_* core components; main logs version and chip revision. - Built with ESP-IDF v5.5.5; not yet flashed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_board.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_board.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_board_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_board: Board pin profiles (waveshare_esp32p4_eth.h, ...) and Ethernet init.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_board_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_health.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_health.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_health_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_health: Uptime, heap/PSRAM, temperature sensors (temps[] with min/max/warn).
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_health_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_net.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_net.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_net_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_net: Netif setup, optional VLAN split, DSCP/PCP helpers.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_net_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_ota.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_ota.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_ota_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_ota: Firmware upload, image checks, rollback self-test.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_ota_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_ptp.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_ptp.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_ptp_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_ptp: PTPv2 ordinary clock: BMCA, servo, master, multicast/hybrid, EMAC HW timestamps, stats.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_ptp_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_sdp_sap.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_sdp_sap.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_sdp_sap_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_sdp_sap: SDP builder/parser and SAP announcer.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_sdp_sap_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_syslog.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_syslog.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_syslog_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_syslog: Remote syslog (esp_log hook -> queue -> UDP).
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_syslog_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_tx.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_tx.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_tx_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_tx: RTP sender task, PTP-paced, pull callback; optional mono sum.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_tx_init(void);
|
||||
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "aes67_web.c"
|
||||
INCLUDE_DIRS "include")
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "aes67_web.h"
|
||||
|
||||
// Stub (build step 0).
|
||||
esp_err_t aes67_web_init(void)
|
||||
{
|
||||
return ESP_OK;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// aes67_web: httpd, embedded index.html, config store (cJSON in NVS), core routes.
|
||||
// Core component: must not depend on main/ (project code).
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
esp_err_t aes67_web_init(void);
|
||||
Reference in New Issue
Block a user