Integrate the J1939 features : address claiming and write.
[apps/agl-service-can-low-level.git] / conf.d / cmake / config.cmake
index e6da31a..f657367 100644 (file)
@@ -53,6 +53,9 @@ else()
        message("Feature J1939 enabled")
        set(WITH_FEATURE_J1939 ON)
        add_definitions(-DUSE_FEATURE_J1939)
+       # Define name for ECU
+       set(J1939_NAME_ECU 0x1239)
+       add_definitions(-DJ1939_NAME_ECU=${J1939_NAME_ECU})
 endif()
 
 # Kernel selection if needed. You can choose between a