Update the Kernel and TCP submodule, fix build failures (#1395)
Some checks failed
CI Checks / git-secrets (push) Has been cancelled
CI Checks / formatting (push) Has been cancelled
CI Checks / spell-check (push) Has been cancelled
CI Checks / doxygen (push) Has been cancelled
CI Checks / verify-manifest (push) Has been cancelled
CI Checks / memory-statistics (push) Has been cancelled
CI Checks / proof_ci (push) Has been cancelled
FreeRTOS Demos / WIN32 MSVC (push) Has been cancelled
FreeRTOS Demos / WIN32 MingW (push) Has been cancelled
FreeRTOS Demos / Posix GCC (push) Has been cancelled
FreeRTOS Demos / GNU MSP430 Toolchain (push) Has been cancelled
FreeRTOS Demos / GNU ARM Toolchain (push) Has been cancelled
FreeRTOS MPU Demo / TI-Hercules RM46 and RM57 MPU Demos (push) Has been cancelled
Build FreeRTOS+ Demos / Windows Simulator Cellular Demos (push) Has been cancelled
Build FreeRTOS+ Demos / coreHTTP WinSim Demos (push) Has been cancelled
Build FreeRTOS+ Demos / corePKCS11 WinSim Demos (push) Has been cancelled
Build FreeRTOS+ Demos / core Library Windows Simulator Demos (push) Has been cancelled
Build FreeRTOS+ Demos / AWS IoT Windows Simulator Demos (push) Has been cancelled
Build FreeRTOS+ Demos / FreeRTOS+TCP Posix Simulator Demo (push) Has been cancelled
Build FreeRTOS+ Demos / FreeRTOS+TCP QEMU ARM MPS2 AN385 (push) Has been cancelled
Build FreeRTOS+ Demos / FreeRTOS+TCP Windows Simulator Demos (push) Has been cancelled
Build FreeRTOS+ Demos / FreeRTOS+CLI Windows Simulator Demos (push) Has been cancelled
Kernel Unit Tests / FreeRTOS/Source Submodule Revision (push) Has been cancelled
Kernel Unit Tests / FreeRTOS-Kernel Main Branch (push) Has been cancelled

* Update kernel submodule to latest
* Update TCP to v4.4.0+build fix
* Add windows header to fix winsim logger, win trace simulator, reliance edge + CLI win sim demo
* Fix TCP-UDP mode win sim demo
This commit is contained in:
Kody Stribrny
2026-03-16 13:47:01 -07:00
committed by GitHub
parent 862f6bf951
commit b5e17ae32f
13 changed files with 30 additions and 5 deletions

View File

@@ -42,6 +42,9 @@
#include <io.h> #include <io.h>
#include <ctype.h> #include <ctype.h>
/* Windows includes. */
#include <windows.h>
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"

View File

@@ -39,6 +39,9 @@
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
/* Windows includes for performance counter APIs. */
#include <windows.h>
/* Variables used in the creation of the run time stats time base. Run time /* Variables used in the creation of the run time stats time base. Run time
* stats record how much time each task spends in the Running state. */ * stats record how much time each task spends in the Running state. */
static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL; static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL;

View File

@@ -39,6 +39,9 @@
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
/* Windows includes for performance counter APIs. */
#include <windows.h>
/* Variables used in the creation of the run time stats time base. Run time /* Variables used in the creation of the run time stats time base. Run time
* stats record how much time each task spends in the Running state. */ * stats record how much time each task spends in the Running state. */
static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL; static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL;

View File

@@ -40,6 +40,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
/* FreeRTOS+CLI includes. */ /* FreeRTOS+CLI includes. */
#include "FreeRTOS_CLI.h" #include "FreeRTOS_CLI.h"

View File

@@ -36,6 +36,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
/* Windows includes. */
#include <windows.h>
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include "task.h" #include "task.h"

View File

@@ -56,7 +56,7 @@
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>Iphlpapi.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_with_Libslirp|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_with_Libslirp|Win32'">

View File

@@ -35,6 +35,9 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
/* Windows includes. */
#include <windows.h>
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include "task.h" #include "task.h"

View File

@@ -39,6 +39,9 @@
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
/* Windows includes for performance counter APIs. */
#include <windows.h>
/* Variables used in the creation of the run time stats time base. Run time /* Variables used in the creation of the run time stats time base. Run time
* stats record how much time each task spends in the Running state. */ * stats record how much time each task spends in the Running state. */
static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL; static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundredthMillisecond = 0LL;

View File

@@ -28,6 +28,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
/* Windows includes. */
#include <windows.h>
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include "task.h" #include "task.h"

View File

@@ -28,6 +28,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
/* Windows includes. */
#include <windows.h>
/* FreeRTOS includes. */ /* FreeRTOS includes. */
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include "task.h" #include "task.h"

View File

@@ -5,14 +5,14 @@ license: "MIT"
dependencies: dependencies:
- name: "FreeRTOS-Kernel" - name: "FreeRTOS-Kernel"
version: "1dbc776" version: "fcc6653"
repository: repository:
type: "git" type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git" url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
path: "FreeRTOS/Source" path: "FreeRTOS/Source"
- name: "FreeRTOS-Plus-TCP" - name: "FreeRTOS-Plus-TCP"
version: "fbb668ac" version: "1f1ffec"
repository: repository:
type: "git" type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git" url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git"