All Projects → Sauci → CanTp

Sauci / CanTp

Licence: BSD-3-Clause license
Implementation of the CanTp module (ISO 15765-2), according to AUTOSAR specification v4.4.0

Programming Languages

c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
Jinja
831 projects
CMake
9771 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to CanTp

spot price machine learning
Machine Learning for Spot Prices
Stars: ✭ 25 (-7.41%)
Mutual labels:  ecu
TC1791 CAN BSL
CAN Bootstrap Loader (BSL) for Tricore AudoMAX (TC1791 and friends), including arbitrary read/write as well as compressed read functionality.
Stars: ✭ 25 (-7.41%)
Mutual labels:  ecu
dlt-parse-rs
Rust DLT (Diagnostic Log and Trace) packet parser
Stars: ✭ 23 (-14.81%)
Mutual labels:  autosar
ecu-simulator
OBD-II ECU Simulator
Stars: ✭ 24 (-11.11%)
Mutual labels:  ecu
ecutools
IoT Automotive Tuning, Diagnostics & Analytics
Stars: ✭ 144 (+433.33%)
Mutual labels:  ecu
carhacking
car hacking tools
Stars: ✭ 40 (+48.15%)
Mutual labels:  ecu
MotoLink
K-line/Serial/CAN interface and fuel mapper for motorcycles.
Stars: ✭ 50 (+85.19%)
Mutual labels:  ecu
iso15765-canbus
Implementation of ISO15765-2 in C
Stars: ✭ 36 (+33.33%)
Mutual labels:  iso15765-2
branch build status coverage
master cantp CI codecov
develop cantp CI codecov

CMake definitions

The following definitions might be set by the user, depending on the needs.

definition values default description
AUTOSAR_STD_HEADER_PATH - CanTp/test/stub/common specifies the directory containing AUTOSAR standard headers ComStack_Types.h and Std_Types.h (used when integrating this module in an other project)
CANTP_CONFIG_FILEPATH - CanTp/config/can_tp.json specifies which json configuration file should be used to generate the auto-generated code
CANTP_ENABLE_TEST ON/OFF OFF enables/disables tests.
ENABLE_DET ON/OFF ON enables/disables development error detections (see AUTOSAR DET module)
ENABLE_DOC_GEN ON/OFF OFF enables/disables generation of Doxygen documentation
ENABLE_PC_LINT ON/OFF OFF enables/disables generation of targets related to static code analysis (should be disabled if PC-Lint software is not available)
MISRA_C_VERSION 1998/2004/2012 2012 specifies which version of MISRA should be used when performing static code analysis (only used if ENABLE_PC_LINT is set)
OS_GET_TIME_API ON/OFF OFF indicates whether the OSEK API GetElapsedValue is available or not. If enabled, the user is responsible to provide the function uint32_t CanTp_GetElapsedValue(void)

To use this feature, simply add -D<definition>=<value> when configuring the build with CMake.

Notes

Bellow, a few point to consider when using this module:

  • This module does not support nested interrupts. In other words, the functions CanTp_RxIndication, CanTp_TxConfirmation and CanTp_MainFunction (if scheduled using timer interrupt) should not be able to interrupt each other.

TODO

  • Protect variables used in both synchronous and asynchronous APIs.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].