Skip to content

Commit 4bd2e10

Browse files
committed
Merge branch 'main' into dev-bufalloc
2 parents 7c53084 + 1599660 commit 4bd2e10

File tree

228 files changed

+29744
-2129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+29744
-2129
lines changed

.github/.cSpellWords.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ BLXNS
8989
bmcr
9090
BMSR
9191
BPDG
92+
BPIALL
9293
brgintclr
9394
brginten
9495
brgintstat
@@ -228,6 +229,7 @@ DEFR
228229
Deglitchers
229230
DEMCR
230231
DEREN
232+
Descs
231233
DEVAD
232234
DFREERTOS
233235
DFSR
@@ -247,6 +249,7 @@ DIVIDEBY
247249
DIVIDEDBY
248250
DLPSTATE
249251
DMAARBITRATION
252+
DMAB
250253
DMABD
251254
DMABMR
252255
DMAC
@@ -392,6 +395,8 @@ ETHERC
392395
ethernetif
393396
ETHMACRX
394397
ETHMACTX
398+
ETHTX
399+
ETHRX
395400
ETIE
396401
EVCNT
397402
EVCNTR
@@ -439,6 +444,7 @@ FFSR
439444
FIFOSZ
440445
FLMSK
441446
FMAC
447+
FNUM
442448
FOLDEVTENA
443449
FORCEWT
444450
FORWARDALLEXCEPTPA
@@ -475,6 +481,14 @@ Gpbs
475481
GPCNTRL
476482
gpio
477483
GPIO
484+
GPIOA
485+
GPIOB
486+
GPIOC
487+
GPIOD
488+
GPIOE
489+
GPIOF
490+
GPIOG
491+
GPIOH
478492
GPSL
479493
GPSLCE
480494
gptimer
@@ -591,6 +605,7 @@ IVLTV
591605
IVTIR
592606
JABBR
593607
JFRAME
608+
Jndex
594609
jscott
595610
jscotts
596611
karkhaz
@@ -675,6 +690,7 @@ MACECR
675690
MACFCR
676691
MACHT
677692
MACHTLR
693+
MACHWF
678694
MACIMR
679695
MACISR
680696
MACMDIOAR
@@ -920,6 +936,7 @@ Picovolts
920936
PIDEVAD
921937
pidr
922938
PIDR
939+
PINSEL
923940
PIOA
924941
PKHBT
925942
pkhtb
@@ -1263,6 +1280,7 @@ STLIDMPUSR
12631280
STLIMPUOR
12641281
STLNVICACTVOR
12651282
STLNVICPENDOR
1283+
Storex
12661284
strbt
12671285
STRBT
12681286
strexb
@@ -1320,6 +1338,7 @@ TBFT
13201338
TBQB
13211339
TBQBAPQ
13221340
TBUE
1341+
TBUS
13231342
TCKER
13241343
TCMSSV
13251344
TCOMP
@@ -1562,6 +1581,7 @@ x
15621581
xaxiemacif
15631582
XCOL
15641583
xemac
1584+
XEMACMAP
15651585
xemacps
15661586
XEMACPS
15671587
xemacpsp

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# the repo. Unless a later match takes precedence,
55
# @global-owner1 and @global-owner2 will be requested for
66
# review when someone opens a pull request.
7-
* @FreeRTOS/pr-bar-raiser
7+
* @FreeRTOS/pr-bar-raisers
88

99
# Order is important; the last matching pattern takes the most
1010
# precedence. When someone opens a pull request that only

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
uses: FreeRTOS/CI-CD-Github-Actions/spellings@main
127127
with:
128128
path: ./
129+
exclude-dirs: source/portable/NetworkInterface/STM32
129130

130131
formatting:
131132
runs-on: ubuntu-20.04
@@ -135,6 +136,7 @@ jobs:
135136
uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
136137
with:
137138
path: ./
139+
exclude-dirs: source/portable/NetworkInterface/STM32
138140

139141
doxygen:
140142
runs-on: ubuntu-latest
@@ -406,7 +408,7 @@ jobs:
406408
- name: Set up CBMC runner
407409
uses: FreeRTOS/CI-CD-Github-Actions/set_up_cbmc_runner@main
408410
with:
409-
cbmc_version: "5.95.1"
411+
cbmc_version: "6.3.1"
410412

411413
- env:
412414
stepName: Install Dependencies

.github/workflows/release.yml

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,43 @@ jobs:
2020
with:
2121
ref: ${{ github.event.inputs.commit_id }}
2222
- name: Configure git identity
23+
env:
24+
ACTOR: ${{ github.actor }}
2325
run: |
24-
git config --global user.name ${{ github.actor }}
25-
git config --global user.email ${{ github.actor }}@users.noreply.github.com
26+
git config --global user.name "$ACTOR"
27+
git config --global user.email "$ACTOR"@users.noreply.github.com
2628
- name: create a new branch that references commit id
27-
run: git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
29+
env:
30+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
31+
COMMIT_ID: ${{ github.event.inputs.commit_id }}
32+
run: git checkout -b "$VERSION_NUMBER" "$COMMIT_ID"
2833
- name: Generate SBOM
2934
uses: FreeRTOS/CI-CD-Github-Actions/sbom-generator@main
3035
with:
3136
repo_path: ./
3237
source_path: ./source
3338
- name: commit SBOM file
39+
env:
40+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
3441
run: |
3542
git add .
3643
git commit -m 'Update SBOM'
37-
git push -u origin ${{ github.event.inputs.version_number }}
44+
git push -u origin "$VERSION_NUMBER"
3845
- name: Tag Commit and Push to remote
46+
env:
47+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
3948
run: |
40-
git tag ${{ github.event.inputs.version_number }} -a -m "FreeRTOS-Plus-TCP Library ${{ github.event.inputs.version_number }}"
49+
git tag "$VERSION_NUMBER" -a -m "FreeRTOS-Plus-TCP Library $VERSION_NUMBER"
4150
git push origin --tags
4251
- name: Verify tag on remote
52+
env:
53+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
54+
COMMIT_ID: ${{ github.event.inputs.commit_id }}
4355
run: |
44-
git tag -d ${{ github.event.inputs.version_number }}
56+
git tag -d "$VERSION_NUMBER"
4557
git remote update
46-
git checkout tags/${{ github.event.inputs.version_number }}
47-
git diff ${{ github.event.inputs.commit_id }} tags/${{ github.event.inputs.version_number }}
58+
git checkout tags/"$VERSION_NUMBER"
59+
git diff "$COMMIT_ID" tags/"$VERSION_NUMBER"
4860
create-zip:
4961
needs: tag-commit
5062
name: Create ZIP and verify package for release asset.
@@ -63,28 +75,36 @@ jobs:
6375
cd FreeRTOS-Plus-TCP
6476
git submodule update --init --checkout --recursive
6577
- name: Create ZIP
78+
env:
79+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
6680
run: |
67-
zip -r FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip FreeRTOS-Plus-TCP -x "*.git*"
81+
zip -r FreeRTOS-Plus-TCP-"$VERSION_NUMBER".zip FreeRTOS-Plus-TCP -x "*.git*"
6882
ls ./
6983
- name: Validate created ZIP
84+
env:
85+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
7086
run: |
7187
mkdir zip-check
72-
mv FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip zip-check
88+
mv FreeRTOS-Plus-TCP-"$VERSION_NUMBER".zip zip-check
7389
cd zip-check
74-
unzip FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip -d FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}
75-
ls FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}
76-
diff -r -x "*.git*" FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}/FreeRTOS-Plus-TCP/ ../FreeRTOS-Plus-TCP/
90+
unzip FreeRTOS-Plus-TCP-"$VERSION_NUMBER".zip -d FreeRTOS-Plus-TCP-"$VERSION_NUMBER"
91+
ls FreeRTOS-Plus-TCP-"$VERSION_NUMBER"
92+
diff -r -x "*.git*" FreeRTOS-Plus-TCP-"$VERSION_NUMBER"/FreeRTOS-Plus-TCP/ ../FreeRTOS-Plus-TCP/
7793
cd ../
7894
- name: Build
95+
env:
96+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
7997
run: |
80-
cd zip-check/FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}/FreeRTOS-Plus-TCP
98+
cd zip-check/FreeRTOS-Plus-TCP-"$VERSION_NUMBER"/FreeRTOS-Plus-TCP
8199
sudo apt-get install -y lcov
82100
sudo apt-get install unifdef
83101
cmake -S test/unit-test -B test/unit-test/build/
84102
make -C test/unit-test/build/ all
85103
- name: Test
104+
env:
105+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
86106
run: |
87-
cd zip-check/FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}/FreeRTOS-Plus-TCP
107+
cd zip-check/FreeRTOS-Plus-TCP-"$VERSION_NUMBER"/FreeRTOS-Plus-TCP
88108
pushd test/unit-test/build/
89109
ctest -E system --output-on-failure
90110
popd
@@ -147,6 +167,8 @@ jobs:
147167
- name: Checkout code
148168
uses: actions/checkout@v4
149169
- name: Delete branch created for Tag by SBOM generator
170+
env:
171+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
150172
run: |
151173
# Delete the branch created for Tag by SBOM generator
152-
git push -u origin --delete refs/heads/${{ github.event.inputs.version_number }}
174+
git push -u origin --delete refs/heads/"$VERSION_NUMBER"

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ set(FREERTOS_PLUS_TCP_NETWORK_IF_LIST
6363
POSIX WIN_PCAP # Native Linux & Windows respectively
6464
RX
6565
SH2A
66-
STM32FXX STM32HXX # ST Micro
66+
STM32 # ST Micro
6767
MSP432
6868
TM4C
6969
XILINX_ULTRASCALE ZYNQ # AMD/Xilinx
@@ -109,8 +109,7 @@ if(NOT FREERTOS_PLUS_TCP_NETWORK_IF IN_LIST FREERTOS_PLUS_TCP_NETWORK_IF_LIST )
109109
" PIC32MZEF_WIFI Target: pic32mzef Wifi Tested: TODO\n"
110110
" RX Target: RX Tested: TODO\n"
111111
" SH2A Target: SH2A Tested: TODO\n"
112-
" STM32FXX Target: STM32Fxx Tested: TODO\n"
113-
" STM32HXX Target: STM32Hxx Tested: TODO\n"
112+
" STM32 Target: STM32 Tested: TODO\n"
114113
" MSP432 Target: MSP432 Tested: TODO\n"
115114
" TM4C Target: TM4C Tested: TODO\n"
116115
" WIN_PCAP Target: Windows Tested: TODO\n"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ release.**
1111

1212
## Getting started
1313
The easiest way to use version 4.0.0 and later of FreeRTOS-Plus-TCP is to refer the Getting started Guide (found [here](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/GettingStarted.md))
14-
Another way is to start with the pre-configured IPv4 Windows Simulator demo (found in [this directory](https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Minimal_Windows_Simulator)) or IPv6 Multi-endpoint Windows Simulator demo (found in [this directory](https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_IPv6_Demo/IPv6_Multi_WinSim_demo)). That way you will have the correct FreeRTOS source files included, and the correct include paths configured. Once a demo application is building and executing you can remove the demo application files, and start to add in your own application source files. See the [FreeRTOS Kernel Quick Start Guide](https://www.freertos.org/FreeRTOS-quick-start-guide.html) for detailed instructions and other useful links.
14+
Another way is to start with the pre-configured IPv4 Windows Simulator demo (found in [this directory](https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Minimal_Windows_Simulator)) or IPv6 Multi-endpoint Windows Simulator demo (found in [this directory](https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_IPv6_Demo/IPv6_Multi_WinSim_demo)). That way you will have the correct FreeRTOS source files included, and the correct include paths configured. Once a demo application is building and executing you can remove the demo application files, and start to add in your own application source files. See the [FreeRTOS Kernel Quick Start Guide](https://www.freertos.org/Documentation/01-FreeRTOS-quick-start/01-Beginners-guide/02-Quick-start-guide) for detailed instructions and other useful links.
1515

16-
Additionally, for FreeRTOS-Plus-TCP source code organization refer to the [Documentation](http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_Networking_Tutorial.html), and [API Reference](https://freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/FreeRTOS_TCP_API_Functions.html).
16+
Additionally, for FreeRTOS-Plus-TCP source code organization refer to the [Documentation](http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_Networking_Tutorial.html), and [API Reference](https://freertos.org/Documentation/03-Libraries/02-FreeRTOS-plus/02-FreeRTOS-plus-TCP/09-API-reference/01-FreeRTOS-plus-TCP-APIs).
1717

1818
### Getting help
19-
If you have any questions or need assistance troubleshooting your FreeRTOS project, we have an active community that can help on the [FreeRTOS Community Support Forum](https://forums.freertos.org). Please also refer to [FAQ](http://www.freertos.org/FAQHelp.html) for frequently asked questions.
19+
If you have any questions or need assistance troubleshooting your FreeRTOS project, we have an active community that can help on the [FreeRTOS Community Support Forum](https://forums.freertos.org). Please also refer to [FAQ](https://www.freertos.org/Why-FreeRTOS/FAQs) for frequently asked questions.
2020

2121
Also see the [Submitting a bugs/feature request](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/.github/CONTRIBUTING.md#submitting-a-bugsfeature-request) section of CONTRIBUTING.md for more details.
2222

@@ -91,7 +91,7 @@ git submodule update --checkout --init --recursive tools/CMock test/FreeRTOS-Ker
9191
```
9292

9393
## Porting
94-
The porting guide is available on [this page](http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/FreeRTOS_TCP_Porting.html).
94+
The porting guide is available on [this page](https://www.freertos.org/Documentation/03-Libraries/02-FreeRTOS-plus/02-FreeRTOS-plus-TCP/10-Porting/01-FreeRTOS_TCP_Porting).
9595

9696
## Repository structure
9797
This repository contains the FreeRTOS-Plus-TCP repository and a number of supplementary libraries for testing/PR Checks.

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A description of the source code organisation is available on:
77
http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_Networking_Tutorial.html
88

99
The porting guide is available on:
10-
http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/FreeRTOS_TCP_Porting.html
10+
https://www.freertos.org/Documentation/03-Libraries/02-FreeRTOS-plus/02-FreeRTOS-plus-TCP/10-Porting/01-FreeRTOS_TCP_Porting
1111

1212
License information is available on:
1313
http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/FreeRTOS_Plus_TCP_License.html

0 commit comments

Comments
 (0)