Commit Graph

3593 Commits (7de1b5098d80e3d6ea2f92ffd3b0c26776c9b904)
 

Author SHA1 Message Date
Rahul Kar 7de1b5098d
Add separate compile option for tracing functionality in Posix demo (#1194)
* Add compile option for enabling tracing in cmake file *
11 months ago
Tony Josi 000c005cee
Update +TCP to latest version (#1192) 11 months ago
chinglee-iot 2bb9bca68b
Update kernel submodule pointer for xTaskGetHandle unit test (#1191) 11 months ago
chinglee-iot 3f24270b4a
Update kernel xtaskGetHandle unit test (#1186) 11 months ago
ActoryOu e9593edb39
Select correct startup project. (#1190) 11 months ago
Rahul Kar 77cc06d692
Fix demo build issue , when configUSE_TRACE_FACILITY is disabled (#1189)
This PR enables the FreeRTOS Posix Blinky GCC Demo to be used without the configUSE_TRACE_FACILITY enabled. It is achieved by using `-DNO_TRACING=1` CMake option to disable tracing. By default, -DNO_TRACING is set to 0, and the tracing is enabled.
11 months ago
chinglee-iot 2adaf8471f
Add SMP disable preemption on target test (#1175)
* Add SMP disable preemption on target test

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
11 months ago
chinglee-iot d9ced6e8ac
Add SMP schedule affinity on target test (#1172)
* Add SMP schedule affinity on target test

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
11 months ago
chinglee-iot ec0eae4c0f
Add SMP disable multiple priorities on target test (#1171)
* Add SMP disable multiple priorities on target test

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
11 months ago
chinglee-iot 731a4f05fd
Add SMP schedule highest priority on-target test (#1167)
* Add SMP scheduler highest priority task on target test

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
11 months ago
chinglee-iot d1ef345165
Calling vTaskEndScheduler in application created task (#1187) 11 months ago
RichardBarry 7cd180d914
Add register test tasks to QEMU project (#765)
* Add register test tasks to the CORTEX_MPS2_QEMU_IAR GCC and IAR builds.

* Update header comment in the two added files.

* Fix header checks

* Fix build issue

* update IAR version

---------

Co-authored-by: none <>
Co-authored-by: Rahul Kar <karahulx@amazon.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
RichardBarry 8e8dad2b09
Update some tests to report error line numbers (#747)
* To assist debugging, update a subset of demos to store the line number on which an error is detected rather than just storing a boolean as to whether an error detected or not.

* Correct return value of xAreInterruptSemaphoreTasksStillRunning() made incorrect by the prior commit.

* Uncrustify: triggered by comment.


---------

Co-authored-by: none <>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Rahul Kar <karahulx@amazon.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
12 months ago
Soren Ptak 259e8de761
GitHub ci.yml formatting (#1140)
* Add in a comment of the step name on the Install Dependencies job step to create a nicer log on github

* See if we can use the owner of the repo as the check for if the CBMC proofs should run

* Allow manually running the CBMC proofs

---------

Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
jasonpcarroll 48867dce4a
Update urllib3 dependency to 2.0.7 to address vulnerability (#1109)
* Update urllib3 dependency to 2.0.7 to address vulnerability

* Set urllib3 dependency to >= 2.0.7

---------

Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
12 months ago
RichardBarry 6a8e2ba7dc
The zc702 Configuration QEMU.launch file contained an absolute path. This commit makes it project relative. (#761)
Co-authored-by: none <>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
Rahul Kar 5fc7a750a0
update CMakeLists.txt for Posix GCC Demo (#1185) 12 months ago
chinglee-iot 2f85ed9bf6
Add SMP schedule equal priority on target test (#1170)
* Add SMP schedule equal priority on target test

* Remove unnecessary config

* Fix spelling format and header

* Code review suggestions

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
chinglee-iot 3878dd9657
Add SMP one task enter suspendall on target test (#1183)
* Add SMP one task enter suspendall on target test

* Fix format and spelling

* Code review suggestions

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
chinglee-iot 9cb29445cd
Add SMP suspend scheduler on target test (#1184)
* Add SMP suspend scheduler on target test

* Code review suggestion

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
12 months ago
chinglee-iot 5be0af160b
Update kernel submodule for task notify change (#1182) 12 months ago
Darian ce28d94516
Update unit tests due to task notification changes (#1177)
This commit updates the CMock unit tests according to the changes introduced
to https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/982.

Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
12 months ago
chinglee-iot b31b3d4eb3
Update kernel submodule to address vTaskDelete and vTaskSuspend change (#1179) 12 months ago
chinglee-iot 3c5fbc769b
Update unit test to address vTaskDelete and vTaskSuspend change for SMP (#1178)
* Update the unit test to address the problem task self void state change
1 year ago
Paul Bartell 257c2916c0 Remove included server key/certs from WolfSSL Demo 1 year ago
Paul Bartell 1bfa474f0c Update jquery to version 3.7.1 1 year ago
chinglee-iot 457ca860c1
Update kernel submodule for vTaskEndScheduler and vTaskDelete unit test (#1169) 1 year ago
chinglee-iot 269b16a03a
Fix unit test for vTaskEndShceduler (#1163)
* Update unit test for vTaskEndScheduler change
* test_coverage_vTaskDelete_scheduler_not_running is removed due to vTaskDelete implementation change

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
1 year ago
chinglee-iot 8422d79383
Update on target test for passive idle hook (#1128)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 year ago
Gaurav-Aggarwal-AWS 3d236bd83d
Add x64 configuration to Win32-MSVC demo (#1164)
Add x64 configuration to Win32-MSVC demo.

This was originally contributed in this PR - #1139

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: José Simões <jose.simoes@eclo.solutions>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 year ago
Moral-Hao b0c6296cbf
Update all CMock configuration to compare_ptr. (#1123)
Bring the change of CMock configuration in directory tasks
to all other directories.

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 year ago
Gabriele Monaco 770e93bdfe
Add tests for streambuffers with different notification index (#1150)
* Add tests for streambuffers with different notification index

* Uncrustify: triggered by comment.

* Updated kernel with tested functionality

* Fix typo

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
1 year ago
Soren Ptak 7fc12c29f3
Update FreeRTOS and AWS Library Submodules (#1162)
* Update the AWS and FreeRTOS Library Submodule Pointers
* Update the manifest.yml file for new submodules
1 year ago
chinglee-iot c852aaeeeb
Update kernel submodule for vTaskSuspend change (#1161) 1 year ago
chinglee-iot d603c9b1ba
Update for vTaskSuspend SMP unit test (#1160) 1 year ago
chinglee-iot 527ee9a799
Update kernel submodule for unit test (#1159)
* Update kernel submodule for unit test
1 year ago
chinglee-iot 3e1c9a51df
Update SMP unit test for vTaskDelete change (#1158)
* Fix vTaskDelete SMP unit test
1 year ago
Forty-Bot 154dee1c86
Fix msp430_GCC demo application (#1153)
* Update kernel

Update kernel to bring in a fix for MSP430 task initialization.

* msp430_GCC: Decrease heap size to avoid stack overflow

With 1800 bytes allocated to the heap, the stack overflows while
initializing tasks. Decrease the heap size so we have a bit more space
for the initial stack. We are using most of the heap, so 100 bytes is
about as much as we can decrease it by.
1 year ago
Kody Stribrny 7d09b88e5a
Fix C source and header file license spacing (#1155)
The line 'Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.'
used to have two spaces between the first and second sentences.
This would cause the header check to fail due to the copyright regex located
ab999f9624/.github/scripts/core_checker.py (L396)
1 year ago
ActoryOu ab999f9624
Update GitPython version for untrusted search path on Windows. (#1154)
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
1 year ago
Tony Josi 5c374f1a6e
Add TCP zero copy example to the TCP echo client demo - IPv6 WinSim (#1138)
* Add TCP zero copy example to the TCP echo client demo - IPv6 WinSim

* Uncrustify: triggered by comment.

* Uncrustify: triggered by comment

* Uncrustify fix formatting

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
1 year ago
dougwfoster 0b5cd08665
Improvement to UARTCommandConsole.c (FreeRTOS#548) (#1147)
- Removed the function scope 'xPort' variable within FreeRTOS+CLI task in order for task to use the static file scope 'xPort' variable.
- Added a prototype of vOutputString in UARTCommandConsole.c
1 year ago
chinglee-iot bd56549a48
Update SMP unit test to cover prvInitialiseTaskLists (#1151)
* Update SMP unit test to cover prvInitialiseTaskLists
1 year ago
Rahul Kar 121fbe295b
Fix formatting in kernel demo application files (#1148)
* Fix formatting in kernel demo application files

* Fix header check fail in the demo files

* Add ignored patterns in core header check file

* Fix formatting

* Update vApplicationStackOverflowHook for AVR_ATMega4809_MPLAB.X/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Update vApplicationStackOverflowHook for AVR_ATMega4809_MPLAB.X/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Update vApplicationStackOverflowHook for AVR_Dx_IAR/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Update vApplicationStackOverflowHook for AVR_Dx_IAR/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Update vApplicationStackOverflowHook for AVR_Dx_MPLAB.X/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Update vApplicationMallocFailedHook for AVR_Dx_MPLAB.X/main.c

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>

* Fix formatting AVR32_UC3

---------

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
1 year ago
Forty-Bot 85ed21bcfb
msp430_GCC: Make interrupts return void (#1146)
If a return type of a function is not specified, it defaults to int. Set
the return type of interrupts to void to avoid warnings.
1 year ago
chinglee-iot 31d6ace7e0
Add eTaskConfirmSleepModeStatus unit test for SMP (#1118)
* Add eTaskConfirmSleepModeStatus unit test for SMP
1 year ago
Ztex 660166b734
Riscv re-factoring (#1145)
* Refactor the trap handler macro
Since `portasmHANDLE_INTERRUPT` is removed at FreeRTOS-kernel, Riscv re-factoring (#444) (commit: 9efca75d1e)
We don't need this definition anymore
We also remove the unused function definition

* Styling the file header to pass the checker
Remove an extra space

Co-authored-by: ztex <ztex030640417@gmail.com>
1 year ago
chinglee-iot ec25164e48
Update riscv eclipse project (#1143)
* Exclude examples in FreeRTOS-Kernel from build
* Update vega and microsemi risc-v eclipse project
* Update polarfire eclipse project
1 year ago
chinglee-iot dc4bdf5f30
Update RISC-V QEMU project for GCC (#1142)
* Update RISC-V QEMU project for GCC
1 year ago
Soren Ptak 6b513cb1a2
Use MbedTLS 3.5.1 and Add TLS 1.3 Support to WinSim Demos (#1135)
* 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
1 year ago