Skip to content
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

Sync with main branch #71

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
99d3d54
Fix array-bounds compiler warning on gcc11+ in list.h (#580)
archigup Dec 15, 2022
6d65558
move the prototype for vApplicationIdleHook to task.h. (#600)
tcpluess Dec 19, 2022
bb6071e
Update equal priority task preemption (#603)
chinglee-iot Jan 6, 2023
8592fd2
Update FreeRTOS/FreeRTOS build checks (#613)
aggarg Jan 16, 2023
78319fd
Add ulTaskGetRunTimeCounter and ulTaskGetRunTimePercent (#611)
chrisnc Jan 19, 2023
260a37c
Fix some CMake documentation typos (#616)
davefiddes Jan 23, 2023
91c20f5
Added support of 64bit events. (#597)
Hadatko Feb 3, 2023
050cf0d
Introduce portMEMORY_BARRIER for Microblaze port. (#621)
bbain Feb 13, 2023
8252ede
Do not call exit() on MSVC Port when calling vPortEndScheduler (#624)
Ju1He1 Feb 15, 2023
ba1deb5
Update PR template to include checkbox for Unit Test related changes…
AniruddhaKanhere Feb 20, 2023
5d05601
Fix build failure introduced in PR #597 (#629)
aggarg Feb 23, 2023
8cd5451
Feature/fixing clang gnu compiler warnings (#620)
phelter Feb 23, 2023
cd87681
POSIX port fixes (#626)
jacky309 Feb 27, 2023
5fdbb7f
Cortex-M35P: Add Cortex-M35P port (#631)
urutva Feb 28, 2023
0a70ecb
Introduced Github Status Badge for Unit Tests (#634)
amazonKamath Feb 28, 2023
e6514fb
Remove C99 requirement from CMake file (#633)
aggarg Mar 2, 2023
c3e1df0
Add Thread Local Storage (TLS) support using Picolibc functions (#343)
keith-packard Mar 2, 2023
a9e1f66
Interrupt priority assert improvements for CM3/4/7 (#602)
chrisnc Mar 2, 2023
97acc2e
Introduced code coverage status badge (#635)
amazonKamath Mar 2, 2023
ddd50d9
added portPOINTER_SIZE_TYPE and SIZE_MAX definition to PIC24/dsPIC po…
n9wxu Mar 4, 2023
563c57e
Fix TLS and stack alignment when using picolibc (#637)
keith-packard Mar 6, 2023
7b26ea6
Enable building the GCC Cortex-R5 port without an FPU (#586)
paulbartell Mar 6, 2023
309a18a
Fix freertos_kernel cmake property, Posix Port (#640)
kstribrnAmzn Mar 7, 2023
55658e1
Add missing FreeRTOS+ defines
Mar 11, 2023
d4d5e43
Run kernel demos and unit tests for PR changes (#645)
aggarg Mar 17, 2023
9488ba2
Add functions to get the buffers of statically created objects (#641)
Dazza0 Mar 22, 2023
99797e1
Cortex-M Assert when NVIC implements 8 PRIO bits (#639)
kar-rahul-aws Mar 23, 2023
97e58da
Remove C90 requirement from CMakeLists (#649)
aggarg Mar 28, 2023
68f1053
Only add alignment padding when needed (#650)
aggarg Mar 28, 2023
1b8a424
add a missing comma (#651)
nbrunner Mar 29, 2023
aa987a3
fix conversion warning (#658)
votrungchi Apr 4, 2023
c682be8
Merge branch 'main' into dev-merge-main-20230410
chinglee-iot Apr 10, 2023
2f5ec3c
Merge branch 'freertos_main' into dev-merge-main-20230410
chinglee-iot Apr 10, 2023
b2cd14d
Merge branch 'smp-dev-complete-merge-candidate-history' into dev-merg…
chinglee-iot Apr 18, 2023
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
11 changes: 7 additions & 4 deletions .github/actions/url_verifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ function test {

for UNIQ_URL in ${!dict[@]} # loop urls
do
CURL_RES=$(curl -si --user-agent "$(USER_AGENT)" ${UNIQ_URL} 2>/dev/null| head -n 1 | cut -f 2 -d ' ')
CURL_RES=$(curl -si --user-agent "${USER_AGENT}" ${UNIQ_URL} 2>/dev/null| head -n 1 | cut -f 2 -d ' ')
RES=$?

echo "================================="
echo "Checking URL: ${UNIQ_URL}"

if [ "${CURL_RES}" == '' -o "${CURL_RES}" != '200' ]
then
echo "URL is: ${UNIQ_URL}"
echo "File names: ${dict[$UNIQ_URL]}"
if [ "${CURL_RES}" == '' ] # curl returned an error
then
CURL_RES=$RES
Expand All @@ -47,8 +48,10 @@ function test {
else
echo WARNING: Result is: "${CURL_RES}"
fi
echo "================================="
else
echo SUCCESS: Result is: "${CURL_RES}"
fi
echo "================================="
done

if [ "${SCRIPT_RET}" -eq 0 ]
Expand Down
23 changes: 23 additions & 0 deletions .github/lexicon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@ mclk
mconfigintcoresw
mcr
mcu
md
mddr
mder
mdh
Expand Down Expand Up @@ -1336,6 +1337,7 @@ phy
phya
pic
picnt
picolibc
pien
piir
pimr
Expand Down Expand Up @@ -1463,13 +1465,24 @@ ppdc
ppio
ppitc
ppmc
ppucmessagebufferstoragearea
ppucqueuestorage
ppucstreambufferstoragearea
ppudr
ppuer
ppusr
ppuxstackbuffer
ppvdestination
ppwm
ppxeventgroupbuffer
ppxidletaskstackbuffer
ppxidletasktcbbuffer
ppxsemaphorebuffer
ppxstaticmessagebuffer
ppxstaticqueue
ppxstaticstreambuffer
ppxtaskbuffer
ppxtimerbuffer
ppxtimertaskstackbuffer
ppxtimertasktcbbuffer
pr
Expand Down Expand Up @@ -2325,6 +2338,8 @@ ulstoppedtimercompensation
ultablebase
ultaskgetidleruntimecounter
ultaskgetidleruntimepercent
ultaskgetruntimecounter
ultaskgetruntimepercent
ultaskhasfpucontext
ultasknotifystateclear
ultasknotifytake
Expand Down Expand Up @@ -2465,6 +2480,7 @@ vaninterruptserviceroutine
vanisr
vanothertask
vapplicationcleartimerinterrupt
vapplicationdaemontaskstartuphook
vapplicationexceptionregisterdump
vapplicationfpusafeirqhandler
vapplicationgetidletaskmemory
Expand Down Expand Up @@ -2739,6 +2755,7 @@ xeventgroupcreatestatic
xeventgroupdelete
xeventgroupgetbits
xeventgroupgetbitsfromisr
xeventgroupgetstaticbuffer
xeventgroupsetbits
xeventgroupsetbitsfromisr
xeventgroupsync
Expand Down Expand Up @@ -2817,6 +2834,7 @@ xmessage
xmessagebuffer
xmessagebuffercreate
xmessagebuffercreatestatic
xmessagebuffergetstaticbuffers
xmessagebufferisempty
xmessagebufferisfull
xmessagebuffernextlengthbytes
Expand Down Expand Up @@ -2888,6 +2906,7 @@ xqueuecreatestatic
xqueuegenericsend
xqueuegenericsendfromisr
xqueuegetmutexholder
xqueuegetstaticbuffers
xqueuegivefromisr
xqueuegivemutexrecursive
xqueueorsemaphore
Expand Down Expand Up @@ -2942,6 +2961,7 @@ xsemaphorecreaterecursivemutex
xsemaphorecreaterecursivemutexstatic
xsemaphoregetmutexholder
xsemaphoregetmutexholderfromisr
xsemaphoregetstaticbuffer
xsemaphoregive
xsemaphoregivefromisr
xsemaphoregivemutexrecursive
Expand All @@ -2966,6 +2986,7 @@ xstreambuffer
xstreambufferbytesavailable
xstreambuffercreate
xstreambuffercreatestatic
xstreambuffergetstaticbuffers
xstreambufferisempty
xstreambufferisfull
xstreambuffernextmessagelengthbytes
Expand Down Expand Up @@ -3005,6 +3026,7 @@ xtaskgetcurrenttaskhandle
xtaskgethandle
xtaskgetidletaskhandle
xtaskgetschedulerstate
xtaskgetstaticbuffers
xtaskgettickcount
xtaskgettickcountfromisr
xtaskhandle
Expand Down Expand Up @@ -3074,6 +3096,7 @@ xtimergenericcommand
xtimergetexpirytime
xtimergetperiod
xtimergetreloadmode
xtimergetstaticbuffer
xtimergettimerdaemontaskhandle
xtimeristimeractive
xtimerlistitem
Expand Down
7 changes: 7 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Test Steps
-----------
<!-- Describe the steps to reproduce. -->

Checklist:
----------
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I have tested my changes. No regression in existing tests.
- [ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue
-----------
<!-- If any, please provide issue ID. -->
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/kernel-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: inspect

# Collect all affected files
Expand All @@ -45,28 +44,3 @@ jobs:
cd inspect
.github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
exit $?
build-checker:
name: FreeRTOS Posix Build Check
runs-on: ubuntu-latest
steps:
- name: Checkout the parent repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1
path: ./workspace
- name: Checkout the current repository
uses: actions/checkout@v2
with:
path: ./workspace/FreeRTOS/Source
- name: Posix Build Checker
run: |
bash workspace/.github/scripts/posix_build_checker.sh workspace
- name: Install lib pcap dev
run: |
sudo apt-get install libpcap-dev
- name: Posix Network Build Checker
run: |
bash workspace/.github/scripts/posix_network_build_checker.sh workspace
181 changes: 181 additions & 0 deletions .github/workflows/kernel-demos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
name: FreeRTOS-Kernel Demos
on: [push, pull_request]

jobs:
WIN32-MSVC:
name: WIN32 MSVC
runs-on: windows-latest
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Build WIN32-MSVC Demo
working-directory: FreeRTOS/Demo/WIN32-MSVC
run: msbuild WIN32.sln -t:rebuild

- name: Build WIN32-MSVC-Static-Allocation-Only Demo
working-directory: FreeRTOS/Demo/WIN32-MSVC-Static-Allocation-Only
run: msbuild WIN32.sln -t:rebuild

WIN32-MingW:
name: WIN32 MingW
runs-on: windows-latest
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source

- name: Build WIN32-MingW Demo
working-directory: FreeRTOS/Demo/WIN32-MingW
run: |
gcc --version
make --version
make

POSIX-GCC:
name: Native GCC
runs-on: ubuntu-latest
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source

- name: Install GCC
shell: bash
run: |
sudo apt-get -y update
sudo apt-get -y install build-essential

- name: Build Posix_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/Posix_GCC
run: make -j

MSP430-GCC:
name: GNU MSP430 Toolchain
runs-on: ubuntu-latest
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source

- name: Install MSP430 Toolchain
shell: bash
run: |
sudo apt-get -y update
sudo apt-get -y install gcc-msp430 build-essential

- name: Build msp430_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/msp430_GCC
run: make -j

ARM-GCC:
name: GNU ARM Toolchain
runs-on: ubuntu-latest
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v2
with:
ref: main
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source

- name: Install GNU ARM Toolchain
shell: bash
run: |
sudo apt-get -y update
sudo apt-get -y install gcc-arm-none-eabi build-essential cmake git ninja-build python3-minimal

- name: Build CORTEX_MPU_M3_MPS2_QEMU_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC
run: make -j

- name: Build CORTEX_LM3S102_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_LM3S102_GCC
run: make -j

- name: Build CORTEX_M3_MPS2_QEMU_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC
run: |
make clean
make -j

- name: Build CORTEX_M3_MPS2_QEMU_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC
run: |
make clean
make FULL_DEMO=1 -j

- name: Build CORTEX_LM3S811_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_LM3S811_GCC
run: make -j

- name: Build CORTEX_M0+_RP2040 Demos
shell: bash
working-directory: FreeRTOS/Demo/ThirdParty/Community-Supported/CORTEX_M0+_RP2040
run: |
git clone https://github.com/raspberrypi/pico-sdk.git
cmake -B build -DPICO_SDK_PATH=pico-sdk -GNinja
ninja -C build --verbose

- name: Build CORTEX_MPS2_QEMU_IAR_GCC Demo
shell: bash
working-directory: FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC
run: make -C build/gcc -j
4 changes: 3 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1
- name: Clone This Repo

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
path: ./FreeRTOS/Source
Expand Down
Loading