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,64 @@
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("//third-party/bazel/toolchains:defs.bzl", "CROSS_TEST_INCOMPATIBLE")
cc_library(
name = "test_utilities",
srcs = ["test_utils/codec.cpp"],
hdrs = ["test_utils/include/test_utils/codec.hpp"],
includes = ["test_utils/include"],
deps = [
"//lib/everest/cbv2g:din",
"//lib/everest/cbv2g:iso2",
"//lib/everest/cbv2g:iso20",
],
)
cc_test(
name = "test_app_handshake",
srcs = ["app_handshake/app_handshake.cpp"],
target_compatible_with = CROSS_TEST_INCOMPATIBLE,
deps = [
":test_utilities",
"@catch2//:catch2_main",
],
)
cc_test(
name = "test_session_setup",
srcs = ["din/session_setup.cpp"],
target_compatible_with = CROSS_TEST_INCOMPATIBLE,
deps = [
":test_utilities",
"@catch2//:catch2_main",
],
)
cc_test(
name = "test_service_discovery",
srcs = ["din/service_discovery.cpp"],
target_compatible_with = CROSS_TEST_INCOMPATIBLE,
deps = [
":test_utilities",
"@catch2//:catch2_main",
],
)
cc_test(
name = "test_ac_charge_loop",
srcs = ["iso20/ac_charge_loop.cpp"],
target_compatible_with = CROSS_TEST_INCOMPATIBLE,
deps = [
":test_utilities",
"@catch2//:catch2_main",
],
)
cc_test(
name = "test_dc_charge_loop",
srcs = ["iso20/dc_charge_loop.cpp"],
target_compatible_with = CROSS_TEST_INCOMPATIBLE,
deps = [
":test_utilities",
"@catch2//:catch2_main",
],
)