{"id":20180576,"url":"https://github.com/sauci/cantp","last_synced_at":"2025-04-10T01:08:22.247Z","repository":{"id":52175556,"uuid":"176539775","full_name":"Sauci/CanTp","owner":"Sauci","description":"Implementation of the CanTp module (ISO 15765-2), according to AUTOSAR specification v4.4.0","archived":false,"fork":false,"pushed_at":"2025-03-06T03:37:26.000Z","size":430,"stargazers_count":60,"open_issues_count":1,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T01:08:18.984Z","etag":null,"topics":["autosar","c","ecu","iso15765-2"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sauci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T15:13:59.000Z","updated_at":"2025-03-20T02:43:41.000Z","dependencies_parsed_at":"2024-01-27T08:27:37.345Z","dependency_job_id":"8b045152-2115-4acc-a7b1-f17ba27eccd3","html_url":"https://github.com/Sauci/CanTp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sauci%2FCanTp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sauci%2FCanTp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sauci%2FCanTp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sauci%2FCanTp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sauci","download_url":"https://codeload.github.com/Sauci/CanTp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137887,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autosar","c","ecu","iso15765-2"],"created_at":"2024-11-14T02:31:47.092Z","updated_at":"2025-04-10T01:08:22.219Z","avatar_url":"https://github.com/Sauci.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"| branch                                                 | build status                                                                                                                                                 | coverage                                                                                                                         |\n|:-------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| [master](https://github.com/Sauci/CanTp/tree/master)   | [![cantp CI](https://github.com/Sauci/CanTp/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/Sauci/CanTp/actions/workflows/test.yml)  | [![codecov](https://codecov.io/gh/Sauci/CanTp/branch/master/graph/badge.svg)](https://codecov.io/gh/Sauci/CanTp/branch/master)   |\n| [develop](https://github.com/Sauci/CanTp/tree/develop) | [![cantp CI](https://github.com/Sauci/CanTp/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/Sauci/CanTp/actions/workflows/test.yml) | [![codecov](https://codecov.io/gh/Sauci/CanTp/branch/develop/graph/badge.svg)](https://codecov.io/gh/Sauci/CanTp/branch/develop) |\n\n# CMake definitions\nThe following definitions might be set by the user, depending on the needs.\n\n| definition                    | values                           | default                        | description                                                                                                                                                                      |\n|:------------------------------|:---------------------------------|:-------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ```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)                         |\n| ```CANTP_CONFIG_FILEPATH```   | ```-```                          | ```CanTp/config/can_tp.json``` | specifies which json configuration file should be used to generate the auto-generated code                                                                                       |\n| ```CANTP_ENABLE_TEST```       | ```ON```/```OFF```               | ```OFF```                      | enables/disables tests.                                                                                                                                                          |\n| ```ENABLE_DET```              | ```ON```/```OFF```               | ```ON```                       | enables/disables development error detections (see AUTOSAR [DET](https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_DefaultErrorTracer.pdf) module) |\n| ```ENABLE_DOC_GEN```          | ```ON```/```OFF```               | ```OFF```                      | enables/disables generation of [Doxygen](http://www.doxygen.nl/) documentation                                                                                                   |\n| ```ENABLE_PC_LINT```          | ```ON```/```OFF```               | ```OFF```                      | enables/disables generation of targets related to static code analysis (should be disabled if [PC-Lint](https://www.gimpel.com) software is not available)                       |\n| ```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)                                              |\n| ```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)`           |\n\nTo use this feature, simply add ```-D\u003cdefinition\u003e=\u003cvalue\u003e``` when configuring the build with CMake.\n\n# Notes\nBellow, a few point to consider when using this module:\n- This module does not support nested interrupts. In other words, the functions \n```CanTp_RxIndication```, ```CanTp_TxConfirmation``` and ```CanTp_MainFunction``` (if scheduled \nusing timer interrupt) should not be able to interrupt each other.\n\n# TODO\n- Protect variables used in both synchronous and asynchronous APIs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsauci%2Fcantp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsauci%2Fcantp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsauci%2Fcantp/lists"}