chinglee-iot
76c0f8788c
Fix SMP unit test for switch hook ( #1133 )
...
* Fix SMP unit test for switch hook
1 year ago
chinglee-iot
0945a8ac50
Update FreeRTOS.h for portSWITCH_TASK_HOOK in unit test ( #1131 )
...
* Update FreeRTOS.h for portTASK_SWITCH_HOOK
---------
Co-authored-by: GitHub Action <action@github.com>
1 year ago
chinglee-iot
831035a00f
Update kernel submodule pointer for get idle task handle ( #1129 )
1 year ago
chinglee-iot
30fadd8d38
Add unit test for xTaskGetIdleTaskHandleForCore ( #1119 )
...
* Add unit test for xTaskGetIdleTaskHandleForCore()
---------
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 year ago
Soren Ptak
f6d2b62ec6
Remove 64 Bit Visual Studio Configurations ( #1120 )
1 year ago
Moral-Hao
fd352fd185
Fix misusage of CMock in dir tasks.
...
1. Change CMock policy of pointer from smart to compare_ptr;
2. Fix errors in test cases found by CMock.
1 year ago
Soren Ptak
82b4c249aa
Fix AWS Demo Build Configurations ( #1115 )
...
* 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 year ago
chinglee-iot
eccc2545d8
Add back mtCOVERAGE_TEST_MARKER in stream_buffer unit test ( #1110 )
...
* Add back mtCOVERAGE_TEST_MARKER in stream_buffer unit test
1 year ago
chinglee-iot
24eed82bee
Update kernel submodule ( #1117 )
1 year ago
chinglee-iot
0a62d564c1
Fix unit test for passive idle task ( #1116 )
...
* Fix comilation problem with unit test for passive idle task memory
1 year ago
chinglee-iot
174b4562f4
Add test cases to cover prvCreateIdleTasks for SMP ( #1114 )
...
* Add test cases to cover vApplicationGetIdleTaskMemory and
vApplicationGetPassiveIdleTaskMemory for prvCreateIdleTasks
1 year ago
Moral-Hao
ae39f8e245
Fix one typical misusage of CMock. ( #1112 )
...
* 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.
1 year ago
Moral-Hao
55d07daf0a
Add CMock test case for vTaskResume ( #1111 )
...
* Add Cmock test case for updates in vTaskResume API introduced in Kernel PR#865.
* Update Kernel submodule pointer
---------
Co-authored-by: Rahul Kar <karahulx@amazon.com>
1 year ago
Monika Singh
f60dd88609
Remove deprecated ipconfigRAND32 ( #1108 )
...
* Remove deprecated ipconfigRAND32
* Uncrustify: triggered by comment.
* Update
* Check for return value
* Uncrustify: triggered by comment.
* Update
---------
Co-authored-by: GitHub Action <action@github.com>
1 year ago
Paul Bartell
b1cadcc6fc
Demo: Qemu-mps2 Enable DHCP by default ( #1107 )
...
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
1 year ago
Paul Bartell
9dc172db2d
Use 1500 Bytes as the MTU for all FreeRTOS+TCP demos ( #1105 )
...
Co-authored-by: Joseph Julicher <jjulicher@mac.com>
1 year ago
Paul Bartell
2d3b32c845
Set ETHERNET_IRQn priority in main_networking.c
...
This allows the qemu-mps2 demo to use DHCP which requires ethernet mac
functionality prior to when vApplicationIPNetworkEventHook or
vApplicationIPNetworkEventHook_Multi are called.
1 year ago
chinglee-iot
e7d39763db
Add unit test for FreeRTOS SMP ( #1047 )
...
* 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 <joshzarr@amazon.com>
Co-authored-by: Anubhav Rawal <rawalexe@amazon.com>
Co-authored-by: Alfred Gedeon <alfred2g@hotmail.com>
Co-authored-by: Adam Scislowicz <adamds@amazon.com>
Co-authored-by: jannusi <121577776+jannusi@users.noreply.github.com>
Co-authored-by: Krishna Vamsi Tallapaneni <124737189+vamsitas@users.noreply.github.com>
Co-authored-by: Kody Stribrny <kstribrn@amazon.com>
Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com>
1 year ago
chinglee-iot
1114e8f39b
Add kernel base priority get unit test ( #1099 )
...
* Add uxTaskBasePriorityGet and uxTaskBasePriorityGetFromISR unit test
1 year ago
Rahul Kar
03926888d8
Fix Unit test for APIs ulTaskNotifyTake and xTaskNotifyWait ( #1102 )
1 year ago
chinglee-iot
56b878b13b
Add FreeRTOS+TCP in cellular demo for logging ( #1101 )
1 year ago
Anubhav Rawal
ddb6e58d0a
Updates FreeRTOS-Plus-Trace to a submodule pointer ( #1082 )
...
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.
1 year ago
chinglee-iot
d3575643b8
Update for kernel idle task unit test ( #1096 )
...
* 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 <ptaksoren@gmail.com>
1 year ago
Soren Ptak
d73470e936
Update the formatting bot ( #1095 )
1 year ago
kar-rahul-aws
f1472b138f
Fix build issue in FreeRTOS+TCP QEMU demo when DHCP enabled ( #1092 )
...
* Fix build issue in QEMU demo when DHCP enabled
1 year ago
Tony Josi
10269777fa
Update TCP socket wrappers to use debug logging level from config files ( #1091 )
1 year ago
kar-rahul-aws
d1d78528a2
Remove CORTEX_M3_MPS2_QEMU_GCC demo ( #1089 )
...
* Remove CORTEX_M3_MPS2_QEMU_GCC demo
2 years ago
kar-rahul-aws
58765d6b4c
Fix duration of TimerMode Task in WIN32-MingW Demo ( #1084 )
...
* Reduce duration of prvDemonstrateChangingTimerReloadMode Task
* Apply same change in WIN32-MingW Demo
* Add changes to Posix_GCC Demo
2 years ago
wuliyong
8104777681
RISC-V-Qemu-virt_GCC: correct configCPU_CLOCK_HZ define ( #1086 )
...
* 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 <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
Gaurav-Aggarwal-AWS
99f5b80ae4
Install FreeRTOS trap handler ( #1087 )
...
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 <aggarg@amazon.com>
2 years ago
Soren Ptak
3a2f6646f0
Use CI-CD-Github-Actions for spelling and formatting, add in the bot 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.
2 years ago
Paul Bartell
537007d96c
Remove WolfSSL-FIPS-Ready source code and Demo
...
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.
2 years ago
Paul Bartell
79180cde2d
Use alternate mirrors for glib and libslirp dependencies ( #1078 )
...
* glib: Use github mirror of glib repository
* Use qemu gitlab mirror of libslirp repository
2 years ago
kar-rahul-aws
4e2a02323b
Fix ATMega port demos ( #1060 )
...
* Fix ATMEGA port demos
* Remove GCC folder from proj file
2 years ago
ActoryOu
20b6c13c07
Apply compile option change on RP2040 ( #1064 )
...
* Update kernel and community-supported-demos submodule pointer to apply compile option change on RP2040
* Update manifest
* Update +TCP submodule pointer
* Revert "Update +TCP submodule pointer"
This reverts commit d090230eef
.
---------
Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
2 years ago
Gaurav-Aggarwal-AWS
38a57333ed
Fix unit test for Kernel PR #760 ( #1075 )
...
* Fix unit test for Kernel PR #760
* Update kernel submodule pointer
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
kar-rahul-aws
80db00d98b
Add uxQueueGetQueueLength API in queue unit tests ( #1074 )
...
* Add uxQueueGetQueueLength API in queue unit tests
for code coverage
* Update Submodule pointer for Kernel V10.6.1
Signed-off-by: kar-rahul-aws <karahulx@amazon.com>
2 years ago
dependabot[bot]
0948c5eab6
Bump gitpython from 3.1.30 to 3.1.32 in /.github/scripts/common ( #1070 )
...
Bumps [gitpython](https://github.com/gitpython-developers/GitPython ) from 3.1.30 to 3.1.32.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases )
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES )
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.30...3.1.32 )
---
updated-dependencies:
- dependency-name: gitpython
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
2 years ago
kar-rahul-aws
21f7947ab1
Make unit tests backward compatible ( #1073 )
...
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
chinglee-iot
8e76c2d220
Update the readme document in utilities folder ( #979 )
...
* mbedtls is removed in this folder. Update the readme.txt accordingly.
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2 years ago
chinglee-iot
ed2717767a
Posix demo use heap_3 in cmake ( #1068 )
2 years ago
Gaurav-Aggarwal-AWS
7b15146706
Fix warnings and update ReadMe ( #1067 )
...
Fix warnings and update ReadMe
Also, make the demo output comprehensible.
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
Tony Josi
eefb87aa0d
fix the implementation of gmtime_r in IPv6 demo ( #1066 )
2 years ago
ActoryOu
9a9e6236a1
Update FreeRTOS-Kernel path in IPv6 demo project ( #1065 )
...
* Update FreeRTOS-Kernel path in IPv6 demo project
* Add IPv6 demo in CI flow.
2 years ago
ActoryOu
9389770c1a
Update echo server tool link in IPv6 demo ( #1063 )
2 years ago
ActoryOu
b1d2de487b
Update libslirp network interface API and +TCP submodule pointer ( #1062 )
...
* Update posix demo for +TCP update.
* Update Libslirp name & +TCP submodule pointer
* Update manifest
---------
Co-authored-by: Monika Singh <moninom@amazon.com>
2 years ago
Monika Singh
acd5dd09b4
Update FreeRTOS-Plus-TCP Submodule Pointer ( #1061 )
...
* Update branch
* Update readme
* Update TCP submodule pointer
* Update manifest
* Update file names
2 years ago
Gaurav-Aggarwal-AWS
405b518f61
Update submodule pointers for demos ( #1051 )
...
Update submodule pointers for demos
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
kar-rahul-aws
5861ac4d7a
Update MPU Demos for Kernel V10.6.0 ( #1057 )
...
Update MPU Demos for Kernel V10.6.0
2 years ago
Gaurav-Aggarwal-AWS
1cf219a80b
Enable Werror for Posix Demo Coverage Test target ( #1059 )
...
Enable Werror for Posix Demo Coverage Test target
Werror cannot be enabled for the non coverage test because tracelyzer
code generates warnings in that target.
Also add "Build Posix_GCC Demo for Coverage Test" in the PR checks to
catch warnings from kernel code in PR checks.
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago