Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ARM.CMSIS-Driver_Validation.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<releases>
<release version="3.1.1-dev">
Active Development ...
- Fix USART Server application buffer initialization
</release>
</releases>

Expand Down
4 changes: 2 additions & 2 deletions Tools/USART_Server/STM32F429I-DISC1/Include/USART_Server.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2022 Arm Limited. All rights reserved.
* Copyright (c) 2020-2026 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -28,7 +28,7 @@

#include <stdint.h>

#define USART_SERVER_VER "1.0.1"
#define USART_SERVER_VER "1.0.2"

#define USART_SERVER_STATE_RECEPTION 0
#define USART_SERVER_STATE_EXECUTION 1
Expand Down
6 changes: 3 additions & 3 deletions Tools/USART_Server/STM32F429I-DISC1/Source/USART_Server.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2022 Arm Limited. All rights reserved.
* Copyright (c) 2020-2026 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -262,9 +262,9 @@ int32_t USART_Server_Start (void) {
ptr_usart_xfer_buf_tx = (uint8_t *)ptr_usart_xfer_buf_tx_alloc;
}

if ((ptr_usart_xfer_buf_rx != NULL) || (ptr_usart_xfer_buf_tx != NULL)) {
memset(ptr_usart_xfer_buf_rx, 0, USART_SERVER_BUF_SIZE);
if ((ptr_usart_xfer_buf_rx != NULL) && (ptr_usart_xfer_buf_tx != NULL)) {
memset(ptr_usart_xfer_buf_rx, 0, USART_SERVER_BUF_SIZE);
memset(ptr_usart_xfer_buf_tx, 0, USART_SERVER_BUF_SIZE);
ret = EXIT_SUCCESS;
} else {
ret = EXIT_FAILURE;
Expand Down
2 changes: 1 addition & 1 deletion Tools/USART_Server/Template/Source/USART_Server.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2022 Arm Limited. All rights reserved.
* Copyright (c) 2020-2026 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down