refactor(track-core): remove app-facing track adapters
Keep track-core focused on portable track state, scheme runtime, PID runtime, memory strip, and render planning. Remove the ESP-IDF/nanopb Track adapter headers and sources from the submodule so app/protobuf ownership can live in a separate firmware component. The standalone CMake and Python binding surface remains unchanged, including the emulator-facing APIs.
This commit is contained in:
+2
-12
@@ -9,21 +9,11 @@ set(TRACK_CORE_SOURCES
|
||||
)
|
||||
|
||||
if(DEFINED IDF_TARGET)
|
||||
set(TRACK_CORE_IDF_SOURCES
|
||||
src/esp/app_track_decoder.cpp
|
||||
src/esp/app_track_drawer.cpp
|
||||
src/esp/app_track_model.cpp
|
||||
)
|
||||
|
||||
idf_component_register(
|
||||
SRCS ${TRACK_CORE_SOURCES} ${TRACK_CORE_IDF_SOURCES}
|
||||
SRCS ${TRACK_CORE_SOURCES}
|
||||
INCLUDE_DIRS include
|
||||
REQUIRES
|
||||
app_proto
|
||||
app_strip_if
|
||||
app_utils
|
||||
app_utils_clock
|
||||
)
|
||||
target_compile_features(${COMPONENT_LIB} PUBLIC cxx_std_23)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(track_core VERSION 0.1.0 LANGUAGES CXX)
|
||||
|
||||
Reference in New Issue
Block a user