summaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder')
-rw-r--r--CAN-binder/low-can-binding/CMakeLists.txt6
-rw-r--r--CAN-binder/low-can-binding/binding/configuration-generated.cpp2
-rw-r--r--CAN-binder/low-can-binding/binding/configuration.cpp4
-rw-r--r--CAN-binder/low-can-binding/binding/configuration.hpp8
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-binding.cpp14
-rw-r--r--CAN-binder/low-can-binding/can/can-bus-dev.cpp2
-rw-r--r--CAN-binder/low-can-binding/can/can-bus.cpp2
-rw-r--r--CAN-binder/low-can-binding/can/can-bus.hpp2
-rw-r--r--CAN-binder/low-can-binding/can/can-decoder.cpp2
-rw-r--r--CAN-binder/low-can-binding/can/can-message.cpp2
-rw-r--r--CAN-binder/low-can-binding/can/can-signals.cpp2
-rw-r--r--CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp2
-rw-r--r--CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp2
-rw-r--r--CAN-binder/low-can-binding/diagnostic/diagnostic-message.cpp2
-rw-r--r--CAN-binder/low-can-binding/utils/config-parser.cpp2
-rw-r--r--CAN-binder/low-can-binding/utils/openxc-utils.cpp2
-rw-r--r--CAN-binder/low-can-binding/utils/signals.hpp4
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.hpp2
18 files changed, 31 insertions, 31 deletions
diff --git a/CAN-binder/low-can-binding/CMakeLists.txt b/CAN-binder/low-can-binding/CMakeLists.txt
index ec69c845..6a871dfe 100644
--- a/CAN-binder/low-can-binding/CMakeLists.txt
+++ b/CAN-binder/low-can-binding/CMakeLists.txt
@@ -22,9 +22,9 @@ PROJECT_TARGET_ADD(low-can-binding)
# Define project Targets
add_library(${TARGET_NAME} MODULE
- ${TARGET_NAME}.cpp
- configuration.cpp
- configuration-generated.cpp
+ binding/${TARGET_NAME}.cpp
+ binding/configuration.cpp
+ binding/configuration-generated.cpp
can/can-bus.cpp
can/can-bus-dev.cpp
can/can-message-set.cpp
diff --git a/CAN-binder/low-can-binding/binding/configuration-generated.cpp b/CAN-binder/low-can-binding/binding/configuration-generated.cpp
index c3cecc5d..c96a103a 100644
--- a/CAN-binder/low-can-binding/binding/configuration-generated.cpp
+++ b/CAN-binder/low-can-binding/binding/configuration-generated.cpp
@@ -1,5 +1,5 @@
#include "configuration.hpp"
-#include "can/can-decoder.hpp"
+#include "../can/can-decoder.hpp"
configuration_t::configuration_t()
:can_bus_manager_{utils::config_parser_t{"/etc/dev-mapping.conf"}}
diff --git a/CAN-binder/low-can-binding/binding/configuration.cpp b/CAN-binder/low-can-binding/binding/configuration.cpp
index 05d36960..40d6c112 100644
--- a/CAN-binder/low-can-binding/binding/configuration.cpp
+++ b/CAN-binder/low-can-binding/binding/configuration.cpp
@@ -17,8 +17,8 @@
#include "configuration.hpp"
-#include "utils/signals.hpp"
-#include "utils/openxc-utils.hpp"
+#include "../utils/signals.hpp"
+#include "../utils/openxc-utils.hpp"
/// @brief Return singleton instance of configuration object.
configuration_t& configuration_t::instance()
diff --git a/CAN-binder/low-can-binding/binding/configuration.hpp b/CAN-binder/low-can-binding/binding/configuration.hpp
index a3ab8caa..ab799e81 100644
--- a/CAN-binder/low-can-binding/binding/configuration.hpp
+++ b/CAN-binder/low-can-binding/binding/configuration.hpp
@@ -22,10 +22,10 @@
#include <string>
#include <fcntl.h>
-#include "can/can-bus.hpp"
-#include "can/can-signals.hpp"
-#include "can/can-message.hpp"
-#include "diagnostic/diagnostic-manager.hpp"
+#include "../can/can-bus.hpp"
+#include "../can/can-signals.hpp"
+#include "../can/can-message.hpp"
+#include "../diagnostic/diagnostic-manager.hpp"
#include "low-can-binding.hpp"
diff --git a/CAN-binder/low-can-binding/binding/low-can-binding.cpp b/CAN-binder/low-can-binding/binding/low-can-binding.cpp
index 484bb5c7..99d14718 100644
--- a/CAN-binder/low-can-binding/binding/low-can-binding.cpp
+++ b/CAN-binder/low-can-binding/binding/low-can-binding.cpp
@@ -29,13 +29,13 @@
#include "openxc.pb.h"
#include "configuration.hpp"
-#include "can/can-bus.hpp"
-#include "can/can-signals.hpp"
-#include "can/can-message.hpp"
-#include "utils/timer.hpp"
-#include "utils/signals.hpp"
-#include "diagnostic/diagnostic-message.hpp"
-#include "utils/openxc-utils.hpp"
+#include "../can/can-bus.hpp"
+#include "../can/can-signals.hpp"
+#include "../can/can-message.hpp"
+#include "../utils/timer.hpp"
+#include "../utils/signals.hpp"
+#include "../diagnostic/diagnostic-message.hpp"
+#include "../utils/openxc-utils.hpp"
extern "C"
{
diff --git a/CAN-binder/low-can-binding/can/can-bus-dev.cpp b/CAN-binder/low-can-binding/can/can-bus-dev.cpp
index 99cad710..7155a72d 100644
--- a/CAN-binder/low-can-binding/can/can-bus-dev.cpp
+++ b/CAN-binder/low-can-binding/can/can-bus-dev.cpp
@@ -24,7 +24,7 @@
#include "can-bus.hpp"
#include "can-message.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
#include "canutil/write.h"
#include "bitfield/bitfield.h"
diff --git a/CAN-binder/low-can-binding/can/can-bus.cpp b/CAN-binder/low-can-binding/can/can-bus.cpp
index 5f45624d..d9703f2e 100644
--- a/CAN-binder/low-can-binding/can/can-bus.cpp
+++ b/CAN-binder/low-can-binding/can/can-bus.cpp
@@ -29,7 +29,7 @@
#include "can-signals.hpp"
#include "can-decoder.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#include "../utils/signals.hpp"
#include "../utils/openxc-utils.hpp"
diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp
index 94aa0428..3fcc29fc 100644
--- a/CAN-binder/low-can-binding/can/can-bus.hpp
+++ b/CAN-binder/low-can-binding/can/can-bus.hpp
@@ -30,7 +30,7 @@
#include "can-signals.hpp"
#include "../utils/config-parser.hpp"
#include "../diagnostic/diagnostic-manager.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
// TODO actual max is 32 but dropped to 24 for memory considerations
#define MAX_ACCEPTANCE_FILTERS 24
diff --git a/CAN-binder/low-can-binding/can/can-decoder.cpp b/CAN-binder/low-can-binding/can/can-decoder.cpp
index e01e43bb..9a381113 100644
--- a/CAN-binder/low-can-binding/can/can-decoder.cpp
+++ b/CAN-binder/low-can-binding/can/can-decoder.cpp
@@ -20,7 +20,7 @@
#include "canutil/read.h"
#include "../utils/openxc-utils.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
/// @brief Parse the signal's bitfield from the given data and return the raw
/// value.
diff --git a/CAN-binder/low-can-binding/can/can-message.cpp b/CAN-binder/low-can-binding/can/can-message.cpp
index 3575348f..b6e4458b 100644
--- a/CAN-binder/low-can-binding/can/can-message.cpp
+++ b/CAN-binder/low-can-binding/can/can-message.cpp
@@ -19,7 +19,7 @@
#include <cstring>
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
///
/// @brief Class constructor
diff --git a/CAN-binder/low-can-binding/can/can-signals.cpp b/CAN-binder/low-can-binding/can/can-signals.cpp
index 6211fa1d..82c62853 100644
--- a/CAN-binder/low-can-binding/can/can-signals.cpp
+++ b/CAN-binder/low-can-binding/can/can-signals.cpp
@@ -19,7 +19,7 @@
#include "can-signals.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#include "../utils/signals.hpp"
#include "can-decoder.hpp"
#include "../diagnostic/diagnostic-message.hpp"
diff --git a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
index 7ddf1d51..932edae2 100644
--- a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
+++ b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
@@ -20,7 +20,7 @@
#include "active-diagnostic-request.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#define ERROR_PID 0xFF
diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
index ec6ec587..75cc5514 100644
--- a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
+++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
@@ -22,7 +22,7 @@
#include "../utils/openxc-utils.hpp"
#include "../utils/signals.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#define MAX_RECURRING_DIAGNOSTIC_FREQUENCY_HZ 10
#define MAX_SIMULTANEOUS_DIAG_REQUESTS 50
diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-message.cpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-message.cpp
index 6f615574..a7207ae8 100644
--- a/CAN-binder/low-can-binding/diagnostic/diagnostic-message.cpp
+++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-message.cpp
@@ -18,7 +18,7 @@
#include "diagnostic-message.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#include "../utils/signals.hpp"
const char *UNIT_NAMES[10] = {
diff --git a/CAN-binder/low-can-binding/utils/config-parser.cpp b/CAN-binder/low-can-binding/utils/config-parser.cpp
index c2528e0c..60ea1187 100644
--- a/CAN-binder/low-can-binding/utils/config-parser.cpp
+++ b/CAN-binder/low-can-binding/utils/config-parser.cpp
@@ -17,7 +17,7 @@
#include "config-parser.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
namespace utils
{
diff --git a/CAN-binder/low-can-binding/utils/openxc-utils.cpp b/CAN-binder/low-can-binding/utils/openxc-utils.cpp
index a597f1ca..d77a0a34 100644
--- a/CAN-binder/low-can-binding/utils/openxc-utils.cpp
+++ b/CAN-binder/low-can-binding/utils/openxc-utils.cpp
@@ -18,7 +18,7 @@
#include "openxc-utils.hpp"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
///
/// @brief Build a specific VehicleMessage containing a DiagnosticResponse.
diff --git a/CAN-binder/low-can-binding/utils/signals.hpp b/CAN-binder/low-can-binding/utils/signals.hpp
index 2eae7e94..88b98756 100644
--- a/CAN-binder/low-can-binding/utils/signals.hpp
+++ b/CAN-binder/low-can-binding/utils/signals.hpp
@@ -22,11 +22,11 @@
#include <fnmatch.h>
#include "openxc.pb.h"
-#include "../configuration.hpp"
+#include "../binding/configuration.hpp"
#include "../can/can-signals.hpp"
#include "../diagnostic/diagnostic-message.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
namespace utils
{
diff --git a/CAN-binder/low-can-binding/utils/socketcan.hpp b/CAN-binder/low-can-binding/utils/socketcan.hpp
index 3c02a4fa..3dcc277d 100644
--- a/CAN-binder/low-can-binding/utils/socketcan.hpp
+++ b/CAN-binder/low-can-binding/utils/socketcan.hpp
@@ -24,7 +24,7 @@
#include <string.h>
#include "../can/can-message.hpp"
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-binding.hpp"
#define INVALID_SOCKET -1