This commit is contained in:
admin
2026-02-24 18:10:40 +08:00
commit 9e141b8de0
55 changed files with 7172 additions and 0 deletions

42
main/CMakeLists.txt Normal file
View File

@@ -0,0 +1,42 @@
idf_component_register(
SRCS
"app_composition/src/app_main.c"
"control_plane/src/controller_lifecycle.c"
"control_plane/src/rest_server.c"
"control_plane/src/rest_server_common.c"
"control_plane/src/rest_server_ops.c"
"control_plane/src/rest_server_print.c"
"control_plane/src/rest_server_jobs.c"
"domain/src/printer_protocol.c"
"domain/src/printer_protocol_commands.c"
"domain/src/raster_tools.c"
"domain/src/raster_tools_image_qr.c"
"domain/src/system_runtime.c"
"platform/src/platform_bootstrap.c"
"platform/src/wifi_manager.c"
"platform/src/ble_printer_client.c"
"third_party/qrcodegen.c"
INCLUDE_DIRS
"app_composition/include"
"control_plane/include"
"domain/include"
"platform/include"
"third_party"
PRIV_INCLUDE_DIRS
"app_composition/internal"
"control_plane/internal"
"domain/internal"
"platform/internal"
REQUIRES
bt
esp_wifi
esp_netif
esp_event
esp_http_server
nvs_flash
json
mbedtls
EMBED_FILES
"domain/assets/fonts/cn16_index.bin"
"domain/assets/fonts/cn16_glyphs.bin"
)