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:
2
tools/EVerest-main/cmake/assets/BUILD.bazel
Normal file
2
tools/EVerest-main/cmake/assets/BUILD.bazel
Normal file
@@ -0,0 +1,2 @@
|
||||
exports_files(["logging.ini"])
|
||||
|
||||
24
tools/EVerest-main/cmake/assets/logging.ini
Normal file
24
tools/EVerest-main/cmake/assets/logging.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
# for documentation on this file format see:
|
||||
# https://www.boost.org/doc/libs/1_54_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup.filter_formatter
|
||||
|
||||
[Core]
|
||||
DisableLogging=false
|
||||
|
||||
# To get debug logs of only one module, add the "%Process% contains" filter, e.g.:
|
||||
#
|
||||
# "(%Process% contains OCPP201 and %Severity% >= DEBG)"
|
||||
#
|
||||
# whereas "OCPP201" is the value of the field `active_modules.NAME.module` in the respective /config/config-*.yaml.
|
||||
Filter="%Severity% >= INFO"
|
||||
|
||||
[Sinks.Console]
|
||||
Destination=Console
|
||||
# Filter="%Target% contains \"MySink1\""
|
||||
Format="%TimeStamp% [%Severity%] \033[1;32m%Process%\033[0m \033[1;36m%function%\033[0m \033[1;30m%file%:\033[0m\033[1;32m%line%\033[0m: %Message%"
|
||||
Asynchronous=false
|
||||
AutoFlush=true
|
||||
SeverityStringColorDebug="\033[1;30m"
|
||||
SeverityStringColorInfo="\033[1;37m"
|
||||
SeverityStringColorWarning="\033[1;33m"
|
||||
SeverityStringColorError="\033[1;31m"
|
||||
SeverityStringColorCritical="\033[1;35m"
|
||||
17
tools/EVerest-main/cmake/assets/run_nodered_template.sh.in
Executable file
17
tools/EVerest-main/cmake/assets/run_nodered_template.sh.in
Executable file
@@ -0,0 +1,17 @@
|
||||
# In the following a volume is created to contain the nodered config, this is done to
|
||||
# allow starting the nodered container from inside a devcontainer
|
||||
|
||||
# Create docker volume to contain nodered config
|
||||
docker volume create everest-nodered-config-volume
|
||||
|
||||
# Create temporarily container to copy nodered config into the created volume
|
||||
docker run --name everest-nodered-config-container -v everest-nodered-config-volume:/data debian:12-slim chown -R 1000:1000 /data
|
||||
|
||||
# Copy nodered config to the created volume with the temporarily created container
|
||||
docker cp @FLOW_FILE@ everest-nodered-config-container:/data/flows.json
|
||||
|
||||
# Remove temporarily container
|
||||
docker rm everest-nodered-config-container
|
||||
|
||||
# Start nodered container with the volume mounted to /data
|
||||
docker run -it --rm --network host --name everest_nodered --mount type=volume,source=everest-nodered-config-volume,target=/data ghcr.io/everest/everest-dev-environment/nodered:docker-images-v0.1.0
|
||||
7
tools/EVerest-main/cmake/assets/run_template.sh.in
Executable file
7
tools/EVerest-main/cmake/assets/run_template.sh.in
Executable file
@@ -0,0 +1,7 @@
|
||||
LD_LIBRARY_PATH=@LD_LIBRARY_VAR@:$LD_LIBRARY_PATH \
|
||||
PATH=@PATH_VAR@:$PATH \
|
||||
manager \
|
||||
--prefix @CMAKE_INSTALL_PREFIX@ \
|
||||
--conf @CONFIG_FILE@ \
|
||||
@ADDITIONAL_ARGUMENTS@
|
||||
$@
|
||||
2
tools/EVerest-main/cmake/assets/run_tmux_template.sh.in
Executable file
2
tools/EVerest-main/cmake/assets/run_tmux_template.sh.in
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
@HELPER_PREFIX@/run_tmux_helper.sh @CONFIG_FILE@ @CMAKE_INSTALL_PREFIX@
|
||||
Reference in New Issue
Block a user