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 #4

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

[pull] main from FreeRTOS:main #4

wants to merge 156 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 17, 2023

See Commits and Changes for more details.


Created by pull[bot]

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

@pull pull bot added the ⤵️ pull label Oct 17, 2023
chinglee-iot and others added 27 commits October 18, 2023 15:03
* 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.
* Add unit test for xTaskGetIdleTaskHandleForCore()

---------

Co-authored-by: Rahul Kar <[email protected]>
* Update FreeRTOS.h for portTASK_SWITCH_HOOK

---------

Co-authored-by: GitHub Action <[email protected]>
* Fix SMP unit test for switch hook
Update MPU Demos for Kernel V10.6.2
Disable handler checking in XMC1000 demo
* Update coreHTTP S3 Download Instructions

* Revert to 85d5319

* Update comment for S3 Root CA in Upload and Download Multithreaded demos

* Wrap changes to 80 characters

* Uncrustify: triggered by comment.

* Run Github Actions.

* Fix broken section link in README

* Wrap README text on 90 characters

* Uncrustify: triggered by comment.

* Run Github Actions

---------

Co-authored-by: GitHub Action <[email protected]>
* Bump up to MBed-TLS V3.5.1, make changes to Visual Studio Projects to account for this.
* Update MBedTLS Transport files to call psa_crypto_init() if the MBEDTLS_PSA_CRYPTO_C is set.
* Add WIN32_LEAN_AND_MEAN to the corePKCS11_MQTT_Mutual_Auth_Windows_Simulator demo. Add in a check for MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET when making a TLS handshake.
* Change transport interface files from using void * to mbedtls_pk_context * instead per changes in the MbedTLS API.
* Changes to Fleet Provisioning Demo and Demo Setup to use ECDSA keys
* Remove non-32 bit configs from various VisualStudio Projects. Enforce all projects using WIN32_LEAN_AND_MEAN as well as winsock2.h
* Update RISC-V QEMU project for GCC
* Exclude examples in FreeRTOS-Kernel from build
* Update vega and microsemi risc-v eclipse project
* Update polarfire eclipse project
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.