From 4af549a748353afca2fd46d56da331be0024da89 Mon Sep 17 00:00:00 2001 From: Ahmed Ismail <64546783+AhmedIsmail02@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:38:19 +0100 Subject: [PATCH] freertos-plus-tcp: Update to latest commit on main branch (#76) pxLAN91C111_FillInterfaceDescriptor() function is implemented in freertos-plus-tcp portable code and then used in integration/src/network_startup.c source file without being declared resulting in function implicit declaration error. This was working before as FreeRTOS-Plus-TCP project previously forced the usage of C90 standard but now the standard in not forced thus the application's standard shall be used, in our case C99 standard is used. Signed-off-by: Ahmed Ismail --- .../freertos_plus_tcp/integration/src/network_startup.c | 5 ++++- components/connectivity/freertos_plus_tcp/library | 2 +- manifest.yml | 2 +- release_changes/202406141224.change | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 release_changes/202406141224.change diff --git a/components/connectivity/freertos_plus_tcp/integration/src/network_startup.c b/components/connectivity/freertos_plus_tcp/integration/src/network_startup.c index c585f3a..3da5346 100644 --- a/components/connectivity/freertos_plus_tcp/integration/src/network_startup.c +++ b/components/connectivity/freertos_plus_tcp/integration/src/network_startup.c @@ -1,4 +1,4 @@ -/* Copyright 2023 Arm Limited and/or its affiliates +/* Copyright 2023-2024 Arm Limited and/or its affiliates * * SPDX-License-Identifier: MIT */ @@ -76,6 +76,9 @@ const uint8_t ucMACAddress[ 6 ] = /* It will have several end-points. */ static NetworkEndPoint_t xEndPoints[ 4 ]; + extern NetworkInterface_t * pxLAN91C111_FillInterfaceDescriptor( BaseType_t xEMACIndex, + NetworkInterface_t * pxInterface ); + #endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */ int32_t network_startup( void ) diff --git a/components/connectivity/freertos_plus_tcp/library b/components/connectivity/freertos_plus_tcp/library index 7b68a91..ba4e25c 160000 --- a/components/connectivity/freertos_plus_tcp/library +++ b/components/connectivity/freertos_plus_tcp/library @@ -1 +1 @@ -Subproject commit 7b68a91f0870f9bcff444bb14e441d6a08658377 +Subproject commit ba4e25c350020abcb787a3a319fdf991bef70538 diff --git a/manifest.yml b/manifest.yml index 786c434..0dd20ee 100644 --- a/manifest.yml +++ b/manifest.yml @@ -138,7 +138,7 @@ dependencies: path: "components/tools/unity/library" - name: "FreeRTOS-Plus-TCP" license: "MIT" - version: "7b68a91f0870f9bcff444bb14e441d6a08658377" + version: "ba4e25c350020abcb787a3a319fdf991bef70538" repository: type: "git" url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git" diff --git a/release_changes/202406141224.change b/release_changes/202406141224.change new file mode 100644 index 0000000..b317335 --- /dev/null +++ b/release_changes/202406141224.change @@ -0,0 +1 @@ +freertos-plus-tcp: Update to latest commit on FreeRTOS-Plus-TCP main branch.