fix: Correct MCAL layer issues and increase UART read timeout

- Resolved issues in the MCAL layer introduced during merge.
- Increased UART read timeout from 1ms to 300ms for improved data handling.
stable
Rakshita 2024-12-12 17:39:27 +05:30
parent ec5ae72cab
commit d3412ccb36
2 changed files with 922 additions and 100 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
#define LOG_STRING "ivec-ecu-UART" #define LOG_STRING "ivec-ecu-UART"
#define CAN_UART_BUFFER_MAX_SIZE 4096 #define CAN_UART_BUFFER_MAX_SIZE 4096
#define DATA_PACKET_TIMEOUT 1 #define DATA_PACKET_TIMEOUT 300
CmplxFifoQueueHandle_s __gprv_MyEcuUARTResponseQueue = { 0 }; CmplxFifoQueueHandle_s __gprv_MyEcuUARTResponseQueue = { 0 };