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

[pull] main from FreeRTOS:main #220

Open
wants to merge 168 commits into
base: main
Choose a base branch
from
Open

[pull] main from FreeRTOS:main #220

wants to merge 168 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 30, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

* glib: Use github mirror of glib repository

* Use qemu gitlab mirror of libslirp repository
@pull pull bot added the ⤵️ pull label Aug 30, 2023
paulbartell and others added 28 commits August 30, 2023 15:05
The WolfSSL-FIPS-Ready distribution is licensed under the GPLv3 or
a commercial license. Only MIT licensed code is allowed in this
repository. Refer to the FreeRTOS_Plus_WolfSSL_Windows_Simulator Demo
for future WolfSSL integrations.
…formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083)

* Use new version of CI-CD Actions,  checkout@v3 instead of checkout@v2 on all jobs
* Use cSpell spell check, and use ubuntu-20.04 for formatting check
* Add in bot formatting action
* Update freertos_demo.yml and freertos_plus_demo.yml files to increase github log readability
* Add in a Qemu demo onto the workflows.
Install FreeRTOS trap handler

The application is supposed to program mtvec correctly depending on
whether they want to use vectored interrupt or not.

Signed-off-by: Gaurav Aggarwal <[email protected]>
* RISC-V-Qemu-virt_GCC: correct configCPU_CLOCK_HZ define

fix configCPU_CLOCK_HZ define for correct freeRTOS tick:
Qemu simulator runs at 10MHZ, defined by
RISCV_ACLINT_DEFAULT_TIMEBASE_FREQ at
https://github.com/qemu/qemu/blob/master/include/hw/intc/riscv_aclint.h

* Fix CI check

Signed-off-by: Gaurav Aggarwal <[email protected]>

---------

Signed-off-by: Gaurav Aggarwal <[email protected]>
Co-authored-by: Gaurav Aggarwal <[email protected]>
* Reduce duration of prvDemonstrateChangingTimerReloadMode  Task

* Apply same change in WIN32-MingW Demo

* Add changes to Posix_GCC Demo
* Remove CORTEX_M3_MPS2_QEMU_GCC demo
* Fix build issue in QEMU demo when DHCP enabled
* Update unit test to cover idle task name longer than configMAX_TASK_NAME_LEN
* Update community supported demo submodule pointer
* Update kernel submodule pointer
* Update CBMC test

---------

Co-authored-by: Soren Ptak <[email protected]>
This PR updates FreeRTOS-Plus-Trace to a submodule pointer and
updates the relevant project files.  Percepio recommends to use
streaming to ring buffer on a 64-bit system instead of snapshot
and therefore, POSIX demo is updated to use streaming to ring
buffer.
* Add uxTaskBasePriorityGet and uxTaskBasePriorityGetFromISR unit test
* Add unit test for FreeRTOS SMP to verify SMP scheduler logic in tasks.c which is enclosed by `configNUMBER_OF_CORES > 1`.

---------

Co-authored-by: Joshua Zarr <[email protected]>
Co-authored-by: Anubhav Rawal <[email protected]>
Co-authored-by: Alfred Gedeon <[email protected]>
Co-authored-by: Adam Scislowicz <[email protected]>
Co-authored-by: jannusi <[email protected]>
Co-authored-by: Krishna Vamsi Tallapaneni <[email protected]>
Co-authored-by: Kody Stribrny <[email protected]>
Co-authored-by: kar-rahul-aws <[email protected]>
This allows the qemu-mps2 demo to use DHCP which requires ethernet mac
functionality prior to when vApplicationIPNetworkEventHook or
vApplicationIPNetworkEventHook_Multi are called.
* Remove deprecated ipconfigRAND32

* Uncrustify: triggered by comment.

* Update

* Check for return value

* Uncrustify: triggered by comment.

* Update

---------

Co-authored-by: GitHub Action <[email protected]>
* Add Cmock test case for updates in vTaskResume API introduced in Kernel PR#865.

* Update Kernel submodule pointer

---------

Co-authored-by: Rahul Kar <[email protected]>
* Fix one typical misusage of CMock.

CMock has three policies when dealing with pointer:
1. compare_ptr : compare the pointer itself;
2. compare_data : compare the data which is pointed by pointer;
3. smart : compare the pointer itself, or compare the data;
By default, CMock use compare_data policy.

Most test cases in FreeRTOS need to compare the pointer itself,
and we haven't use CMock properly.
For example, one test case of vTaskResume is wrong, because current
CMock compares the data pointed by pointer, so the error didn't exposed.

There are so many misusage need to fix, it will take a lot of work.
I'm here to fix one typical misusage first.

* Try to fix formatting syntax.
* Add test cases to cover vApplicationGetIdleTaskMemory and 
  vApplicationGetPassiveIdleTaskMemory for prvCreateIdleTasks
* Fix comilation problem with unit test for passive idle task memory
* Add back mtCOVERAGE_TEST_MARKER in stream_buffer unit test
* Swap the device defender demo to Win32 instead of x86
* Swap the Jobs_Windows_Simulator Demo to have Win32 instead of x86
* Swap the Device_Shadow_Windows_Simulator Demo to have Win32 instead of x86

---------
1. Change CMock policy of pointer from smart to compare_ptr;
2. Fix errors in test cases found by CMock.
aggarg and others added 30 commits August 23, 2024 12:47
On Ubuntu 24.04 ARM64, PTHREAD_STACK_MIN is 0x20000 which does not fit
in unsigned short, size of which is 2 bytes. Casting PTHREAD_STACK_MIN
to unsigned short in FreeRTOSConfig.h results in
configMINIMAL_STACK_SIZE getting defined to 0 which leads to SIGSEV.

This change removes the not needed casting of PTHREAD_STACK_MIN to
unsigned short.

Signed-off-by: Gaurav Aggarwal <[email protected]>
Add Cygwin option for compilation
SoftConsole failed to execute MI command to load the RTOSDebug.elf built in this project. Since the debugger couldn't find  address `0xe000ed00` defined in ARM processor. 

We need to set `$target_riscv` to 1 so that the gdb can be initialized correctly.
* Cortex M3 MPS2: fix alignment warning from assembler

Fix assembler alignment warnings for Cortex M3 MPS2:
Warning: section does not have enough alignment to ensure safe PC-relative loads

Signed-off-by: Florian La Roche <[email protected]>
Cortex M3 MPS2: modernize assembler syntax and also add .ltorg

Signed-off-by: Florian La Roche <[email protected]>
* Cortex R4 demo: replace setup script with linked resources

* Cortex R4 demo: remove Eclipse user settings
This ensures that CCS builds this library when the project is
first built after CCS installation.

Signed-off-by: Gaurav Aggarwal <[email protected]>
Cadence/Xtensa: Move Tensilica demos to Partner-Supported-Demos submodule

Add a README to this deprecated demos directory indicating where to
find the latest Tensilica test code.

Signed-off-by: Ian Thompson <[email protected]>
Add volatile qualifier

This is needed to ensure that the memory mapped address it always read.

Signed-off-by: Gaurav Aggarwal <[email protected]>
This allows derived classes to override customCheck method to inject
additional checks for some files. This is currently needed to accept
ARM copyright in ARMv8-M files - FreeRTOS/FreeRTOS-Kernel#1147.

Signed-off-by: Gaurav Aggarwal <[email protected]>
* Populate RSA key attributes in mbedtls context

* Fix formatting

---------

Co-authored-by: Rahul Kar <[email protected]>
* Add readme.url for demos

* Updated FreeRTOS+TCP Minimal Windows Simulator Demo's readMe
* Enable release from forks

* Update Kernel submodule pointer

* Update manifest file

---------

Co-authored-by: Rahul Kar <[email protected]>
* Update Community-Supported-Demos submodule pointer

Signed-off-by: Gaurav Aggarwal <[email protected]>
This commit updates the xTaskGetIdleTaskHandle unit test as per the idle
task naming logic.

Signed-off-by: Sudeep Mohanty <[email protected]>
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
Fix coverage tests for Kernel PR 1203

PR Link - FreeRTOS/FreeRTOS-Kernel#1203.

Signed-off-by: Gaurav Aggarwal <[email protected]>
Update FreeRTOS+TCP to latest version V4.3.1
Update FreeRTOS-Kernel submodule pointer

Signed-off-by: Gaurav Aggarwal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.