Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter

- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
This commit is contained in:
Eric F
2026-06-08 00:38:27 -04:00
parent 468cfeaa50
commit d398a6ced2
7326 changed files with 1177561 additions and 7 deletions

View File

@@ -0,0 +1,60 @@
if(NOT DEFINED sdbus-c++_VERSION_MAJOR AND NOT DISABLE_EDM)
string(REPLACE "." ";" SDBUS_CPP_VERSION_SPLIT ${CPM_PACKAGE_sdbus-cpp_VERSION})
list(GET SDBUS_CPP_VERSION_SPLIT 0 sdbus-c++_VERSION_MAJOR)
endif()
message("Found sdbus-c++ major version: " ${sdbus-c++_VERSION_MAJOR})
add_library(everest_system STATIC)
add_library(everest::system ALIAS everest_system)
ev_register_library_target(everest_system)
target_sources(everest_system
PRIVATE
src/dbus_base.cpp
src/rauc_dbus_base.cpp
src/safe_system.cpp
)
target_include_directories(everest_system
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries(everest_system
PRIVATE
everest::log
PUBLIC
SDBusCpp::sdbus-c++
)
target_compile_definitions(everest_system
PRIVATE
SDBUSCPP_MAJOR_VERSION=${sdbus-c++_VERSION_MAJOR}
)
set_target_properties(everest_system PROPERTIES EXPORT_NAME system)
if (DISABLE_EDM)
install(
TARGETS everest_system
EXPORT everest_system-targets
)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/everest
TYPE INCLUDE
)
evc_setup_package(
NAME everest-everest_system
NAMESPACE everest
EXPORT everest_system-targets
ADDITIONAL_CONTENT
"find_dependency(sdbus-c++)"
)
endif()
if (BUILD_TESTING)
target_compile_definitions(everest_system PUBLIC EVEREST_COVERAGE_ENABLED)
add_subdirectory(tests)
endif()