Skip to content

Update the FreeRTOS-Kernel submodule to V10.6.1 #1013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
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
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,27 @@ jobs:
with:
path: ./

verify-manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

# At time of writing the gitmodules are set not to pull
# Even when using fetch submodules. Need to run this command
# To force it to grab them.
- name: Perform Recursive Clone
shell: bash
run: git submodule update --checkout --init --recursive

- name: Run manifest verifier
uses: FreeRTOS/CI-CD-GitHub-Actions/manifest-verifier@v2
with:
path: ./
fail-on-incorrect-version: true

build-checks:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -192,6 +213,7 @@ jobs:
run: |
git-secrets --register-aws
git-secrets --scan

proof_ci:
runs-on: cbmc_ubuntu-latest_16-core
steps:
Expand Down
2 changes: 2 additions & 0 deletions lexicon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ chextochar
cli
clk
cmd
cmock
co
col
com
Expand Down Expand Up @@ -2073,6 +2074,7 @@ xtaskcreate
xtaskcreatestatic
xtaskgenericnotify
xtaskgetcurrenttaskhandle
xtaskgetmpusettings
xtaskgettickcount
xtaskhandle
xtasknotifygive
Expand Down
13 changes: 11 additions & 2 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name : "FreeRTOS-Plus-TCP"
name: "FreeRTOS-Plus-TCP"
version: "V4.0.0"
description: "Thread safe FreeRTOS TCP/IP stack working on top of the FreeRTOS-Kernel to implement the TCP/IP protocol. Suitable for microcontrollers."
description:
"Thread safe FreeRTOS TCP/IP stack working on top of the FreeRTOS-Kernel to
implement the TCP/IP protocol. Suitable for microcontrollers."
license: "MIT"
dependencies:
- name: "FreeRTOS-Kernel"
Expand All @@ -11,3 +13,10 @@ dependencies:
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
path: "test/FreeRTOS-Kernel"
branch: "main"

- name: "CMock"
version: "afa2949"
repository:
type: "git"
url: " https://github.com/ThrowTheSwitch/CMock.git"
path: "tools/CMock"
2 changes: 1 addition & 1 deletion test/FreeRTOS-Kernel
Submodule FreeRTOS-Kernel updated 674 files
10 changes: 10 additions & 0 deletions test/unit-test/ConfigFiles/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
/*-----------------------------------------------------------*/

/** We need to define it here because CMock does not recognize the
* #if ( portUSING_MPU_WRAPPERS == 1 ) guard around xTaskGetMPUSettings
* and then complains about the missing xMPU_SETTINGS type in the
* generated mocks. */
typedef struct MPU_SETTINGS
{
uint32_t ulDummy;
} xMPU_SETTINGS;


/*
* Tasks run in their own pthreads and context switches between them
* are always a full memory barrier. ISRs are emulated as signals
Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_ARP/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
)

#list the definitions of your mocks to control what to be included
Expand Down Expand Up @@ -58,6 +58,7 @@ list(APPEND real_include_directories
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
)

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_BitConfig/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down Expand Up @@ -61,6 +61,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${CMAKE_BINARY_DIR}/Annexed_TCP_Sources
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/FreeRTOS_DHCP/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ list(APPEND real_include_directories
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/FreeRTOS_DNS_Cache/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ set (test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${MODULE_ROOT_DIR}/source/include
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/FreeRTOS_DNS_Callback/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${MODULE_ROOT_DIR}/source/include/
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/FreeRTOS_DNS_ConfigNoCallback/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${MODULE_ROOT_DIR}/source/include
Expand Down
1 change: 1 addition & 0 deletions test/unit-test/FreeRTOS_DNS_Networking/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ list(APPEND real_include_directories
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${MODULE_ROOT_DIR}/include
Expand Down
2 changes: 2 additions & 0 deletions test/unit-test/FreeRTOS_ICMP/FreeRTOS_ICMP_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_ICMP/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down Expand Up @@ -75,6 +75,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${CMAKE_BINARY_DIR}/Annexed_TCP_Sources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"
#include "mock_queue.h"
Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/FreeRTOS_ICMP_wo_assert/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down
2 changes: 2 additions & 0 deletions test/unit-test/FreeRTOS_IP/FreeRTOS_IP_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_IP/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ list(APPEND mock_include_list
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
)

set(mock_define_list "")
Expand Down Expand Up @@ -81,6 +81,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${CMAKE_BINARY_DIR}/Annexed_TCP_Sources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/FreeRTOS_IP_DiffConfig/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/FreeRTOS_IP_DiffConfig2/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/FreeRTOS_IP_DiffConfig3/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_IP_Timers/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
)

Expand Down Expand Up @@ -68,6 +68,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${CMAKE_BINARY_DIR}/Annexed_TCP_Sources
Expand Down
2 changes: 2 additions & 0 deletions test/unit-test/FreeRTOS_IP_Utils/FreeRTOS_IP_Utils_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/FreeRTOS_IP_Utils/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ list(APPEND mock_include_list
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
)

set(mock_define_list "")
Expand Down Expand Up @@ -71,6 +71,7 @@ set(test_include_directories "")
list(APPEND test_include_directories
.
${CMOCK_DIR}/vendor/unity/src
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/unit-test/${project_name}
${TCP_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}/Annexed_TCP_Sources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
2 changes: 1 addition & 1 deletion test/unit-test/FreeRTOS_IP_Utils_DiffConfig/ut.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ list(APPEND mock_include_list
.
${TCP_INCLUDE_DIRS}
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/include
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
${MODULE_ROOT_DIR}/test/unit-test/ConfigFiles
${MODULE_ROOT_DIR}/test/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
)

set(mock_define_list "")
Expand Down
2 changes: 2 additions & 0 deletions test/unit-test/FreeRTOS_IPv4/FreeRTOS_IPv4_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <string.h>
#include <stdint.h>

#include "portmacro.h"

#include "mock_task.h"
#include "mock_list.h"

Expand Down
Loading