From 071788de5652713b89085dd85f162c3f81b09109 Mon Sep 17 00:00:00 2001 From: Rakshita Date: Thu, 23 Jan 2025 16:31:22 +0530 Subject: [PATCH] fix: Address conventions and resolve MATLAB handler default issue - Corrected naming conventions across modules for consistency. - Fixed the issue where the MATLAB code was defaulting to the handler by initializing struct variables to zero. - Improved CAN TX function for more reliable data transmission. --- .cproject | 56 +-- .launches/mspm0g3507_mcal.launch | 6 + .../Include/ivec_mcal_common.h | 10 +- Core/Include/ivec_mcal_gpio.h | 2 +- Core/Include/ivec_mcal_mcan.h | 48 +-- Core/Include/ivec_mcal_uart.h | 142 ++++---- Core/Source/ivec_mcal_common.c | 3 + Core/Source/ivec_mcal_gpio.c | 2 +- Core/Source/ivec_mcal_mcan.c | 272 ++++++++------- Core/Source/ivec_mcal_uart.c | 172 ++++----- ivec_APP/inc/socTouchDisplay.h | 9 +- ivec_APP/inc/socTouchDisplay_private.h | 4 +- ivec_APP/inc/socTouchDisplay_types.h | 4 +- ivec_APP/src/socTouchDisplay.c | 129 ++++--- ivec_ECU/ivec_ecu_can/inc/ivec_ecu_can.h | 63 ++-- ivec_ECU/ivec_ecu_can/src/ivec_ecu_can.c | 207 +++++------ ivec_ECU/ivec_ecu_uart/inc/ivec_ecu_uart.h | 84 ++--- ivec_ECU/ivec_ecu_uart/src/ivec_ecu_uart.c | 329 ++++++++---------- ivec_RTE/src/ivec_rte.c | 180 +++++----- ivec_mcal_common.c | 2 - main.c | 6 +- startup_mspm0g350x_gcc.c | 15 + utils/utils.c | 20 +- utils/utils.h | 24 +- 24 files changed, 910 insertions(+), 879 deletions(-) rename ivec_mcal_common.h => Core/Include/ivec_mcal_common.h (91%) create mode 100644 Core/Source/ivec_mcal_common.c delete mode 100644 ivec_mcal_common.c diff --git a/.cproject b/.cproject index 7c7f38c..9dcedd2 100644 --- a/.cproject +++ b/.cproject @@ -380,25 +380,25 @@ - - + + -