Commit Graph

106 Commits (2dcc47ecbab427a7800682713e3f06ae5bdd9ca4)

Author SHA1 Message Date
Gaurav-Aggarwal-AWS 66de13ce1b
Update FreeRTOS-Kernel submodule pointer (#1316)
Update FreeRTOS-Kernel submodule pointer

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 month ago
Tony Josi a3c047d22f
Update FreeRTOS+TCP to latest version V4.3.1 (#1305)
Update FreeRTOS+TCP to latest version V4.3.1
1 month ago
Gaurav-Aggarwal-AWS 6aa244f6fe
Update Community-Supported-Demos submodule pointer (#1303)
* Update Community-Supported-Demos submodule pointer

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 months ago
Tony Josi a3a526569f
Enable release from forks (#1299)
* Enable release from forks

* Update Kernel submodule pointer

* Update manifest file

---------

Co-authored-by: Rahul Kar <karahulx@amazon.com>
2 months ago
Ian Thompson b3e6cff1f2
Xtensa Demos updated and moved to Partner-Supported submodules (#1281)
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 <ianst@cadence.com>
4 months ago
chinglee-iot 9febcedd91
Add async core yield test for SMP (#1247)
Add async core yield test for SMP

Add async core yield test for SMP to verify set core affinity
  implementation
5 months ago
Gaurav-Aggarwal-AWS 5f52d71cee
Update kernel submodule pointer (#1239)
* Update kernel submodule pointer

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

* Update manifest

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

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
6 months ago
chinglee-iot 6518cb153d
Update cellular comm interface to generate interrupt from windows thread (#1221)
* Make use of vPortGenerateSimulatedInterruptFromWindowsThread to generate interrupt from windows thread
9 months ago
chinglee-iot 66b0b0a5a0
Update corePKCS11 submodule pointer (#1208)
* Update corePKCS11 submodule pointer
* Fix corePKCS11 MQTT mutual authenticated demo
* Sync with other demo to wait for network up.
* Fix compiler warning.
10 months ago
chinglee-iot dd4789cdba
Update kernel submodule for vTaskSuspendAll change (#1207)
* Update kernel submodule pointer for vTaskSuspendAll change
10 months ago
Soren Ptak 4592acca4c
Update Cortex R4F and Cortex R5F MPU Demos (#1200)
* Set configUSE_EVENT_GROUPS to 0 in the CORTEX_MPU_R4/5F Demos.
* Update the FreeRTOS-Kernel submodule to use the latest FreeRTOS-Kernel.
10 months ago
wat 076430b2ab
[WIN32-MingW Demo] TickType_t width is defined based on compiler type.(32bit/64bit) (#1199)
* [WIN32-MingW Demo] Add tick type width definition based on compiler type.(32bit/64bit)
32bit TickType_t is used if compiler is MinGW32. 64bit TickType_t is used if compiler is MinGW64.

Reason of change: Before this change, 32bit TickType_t is always used in MinGW demo. It is inefficient  for 64bit compiler. In addition, MinGW64 reported warnings for the cast operation between TickType_t and (void *) pointer because of different width. 64bit TickType_t should be used instead of 32bit if compiler is 64bit.

* [WIN32-MingW Demo] Change printf() format specifiers from %u to %llu.

Reason of change: %u specifier corrupts 64bit tick count because it supports only 32bit value. %llu can be used for both of 64bit value and 32bit value.(After casting to 64bit)

* [WIN32-MingW Demo] Change type of some variables from uint32_t to UBaseType_t.

Reason of change: These variables are cast to/from pointer type in existing codes. 64bit compiler(MinGW64) reports warnings for the cast operations between uint32_t and pointer type. UBaseType_t solves those warnings because it has same width as pointer type on both of MinGW32 and MinGW64.

* [WIN32-MingW Demo] Change type of some variables from uint32_t to UBaseType_t.

Same change as previous commit is applied to source codes which are built only on Debug configuration.

* [WIN32-MingW Demo] Add brackets to the condition in #if statement. Behavior is not changed. Reason of change is to follow coding style guide of FreeRTOS.

* Update "FreeRTOS/Source" submodule(FreeRTOS-kernel) to #1008.

* [WIN32-MingW Demo] Change type of one more variable from uint32_t to UBaseType_t.

Additional modification for solving compiler warnings for the cast operation on MinGW64.

* Update FreeRTOS-kernel submodule version in manifest.yml.

* Modify prefix of variables to follow coding style guide.

* Code review suggestions

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

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: ActoryOu <ousc@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
10 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 5be0af160b
Update kernel submodule for task notify change (#1182) 12 months ago
chinglee-iot b31b3d4eb3
Update kernel submodule to address vTaskDelete and vTaskSuspend change (#1179) 12 months ago
chinglee-iot 457ca860c1
Update kernel submodule for vTaskEndScheduler and vTaskDelete unit test (#1169) 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
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 527ee9a799
Update kernel submodule for unit test (#1159)
* Update kernel submodule for 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
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
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
chinglee-iot 4bad7a6ba4
Update cellular interface submodule pointer (#1141) 1 year ago
chinglee-iot 0857bd7b72
Update submodule for kernel and community demos (#1134) 1 year ago
chinglee-iot 831035a00f
Update kernel submodule pointer for get idle task handle (#1129) 1 year ago
chinglee-iot 24eed82bee
Update kernel submodule (#1117) 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
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
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 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.
1 year 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>
1 year 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>
1 year 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>
1 year 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
Xiaodong Li 792efb4bb7
Create GitHub workflows to execute the WinSim demos with libslirp network interface implemented in FreeRTOS+TCP VS Static Project (#1054)
* Add libslirp to the existing FreeRTOS+TCP static project

* Update demos to run with libslirp

* Add ipconfigUSE_LIBSLIRP

* Call developer command prompt and update meson build options

---------

Co-authored-by: Xiaodong Li <xiaodonn@amazon.com>
2 years ago
chinglee-iot f776f5ee4a
Move demos in Community-Supported to Community-Supported-Demos (#1053)
* Move demos in Community-Supported to Community-Supported-Demos
* Update RP2040 CI workflow path
2 years ago
chinglee-iot 6eb8fc5f51
Merge SMP demos from FreeRTOS-SMP-Demos (#1046)
* Merge RP2040 and XMOS AICORE SMP demos to main branch from FreeRTOS-SMP-Demos
* Update the common test for SMP demos
* Update the kernel submodule
2 years ago
Xiaodong Li e39bb188dd
Implement libslirp for FreeRTOS_Plus_TCP_Echo_Posix demo (#1026)
* Update freertos-plus-tcp-echo-posix git workflow to include echo server setup with port 5000, update Ubuntu runner version to 22.04, install glib and libslirp, and add git run action with TRACE_ON_ENTER=0 which disables trace output saved msg

* Update ipconfigNETWORK_MTU to 1500, ipconfigBUFFER_PADDING on 64-bit platforms, and FreeRTOS-Plus-TCP submodule libslirp version number in backend file

* Format code, update lexicon.txt and create ReadMe

---------

Co-authored-by: Xiaodong Li <xiaodonn@amazon.com>
2 years ago
kar-rahul-aws 6682dbbc5b
Update submodule pointer for Kernel V10.6.0 (#1037)
* Update submodule pointer for Kernel V10.6.0

* Update commit hash

* Fix failed CBMC proofs

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

* Update manifest.yml

* Update hash commit to match submodule

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago
Tony Josi 3be041eacb
Fix TCP echo posix demo warnings (#1031)
* fix warnings

* update naming

* updating +TCP to latest

* review comments fix
2 years ago
Monika Singh 301ed5881b
Merging IPv6 demo changes to main (#1028)
* Add IPv6 Demo (#937)

* Add demo changes

* Update kernel and library paths

* Update main.c

* Run uncrustify

* Fix spell checker

* CI check file headers update

* Add IPv6/v4 UDP echo server with zero copy/non-zero copy versions

* Add VS proj file changes to include the UDP echo sample code

* readme update

---------

Co-authored-by: Tony Josi <tonyjosi@amazon.com>

* Update Backward Compatibility Flag (#954)

* Update Backward Compatibility Flag

* Update FreeRTOS_GetUDPPayloadBuffer_ByIPType

* Update FreeRTOS_IPStart to FreeRTOS_IPInit_Multi

* Update Application APIs

* Remove ipconfigCOMPATIBLE_WITH_SINGLE

* Update Static Lib files (#956)

* Update Static Lib files

* making vApplicationIPNetworkEventHook backward compatible in demos

* Update CI check file headers

---------

Co-authored-by: Tony Josi <tonyjosi@amazon.com>

* Add WinPCap NetworkInterface Changes (#958)

* Update winpcap network interface

* Run uncrustify

* Update function to include NetworkInterface_t parameters

* Adding compatibility for xApplicationDNSQueryHook with latest dev branch for old demos (#957)

* adding compatibility for xApplicationDNSQueryHook with latest dev branch

* adding tcp echo server source

* removing unused sub demos

* fix build issues (#969)

* Update demo to latest +TCP dev/IPv6_integration (#978)

* remove macro namings

* rename sin_addr to sin_address.ulIP_IPv4 for ipv6 demo

* replace in6addr_any with FreeRTOS_in6addr_any

* replace mainCREATE_UDP_ECHO_SERVER_TASK with mainCREATE_UDP_ECHO_TASKS_SINGLE

* handle removal of sin_addr macro to sin_address.ulIP_IPv4

* updating +TCP repo to latest dev/IPv6_integration

* minor update to more clear code

* more sin_addr to sin_address.ulIP_IPv4 replacements

* fix makefiles for qemu and posix demos

* review feedback changes

* Update FreeRTOS-Plus-TCP for RC2

* Change from PR (#994)

* Update FreeRTOS-Plus-TCP for RC2

* Update copyright

* Ignore WinPCap for files header check failure.

* Update checker

* Update manifest

* Point manifest to latest commit

* Fix Spell-checker

* Update doxygen

* Update xApplicationDHCPHook for backward compatibility  (#999)

* Update xApplicationDHCPHook for backward compatability

* Update IPv6

* Update VisualStudio Static Project files

* Update pxEndPoint error (#1002)

* Update IPv6 demo ReadMe (#1004)

* Update ReadMe

* Update setup requirement

* Update UDP demo info

* Update comment

* TCP demo changes post build separation (#1011)

* adding sin_family to dest adddr for FreeRTOS_sendto

* updating FreeRTOS_bind to input sin_family post build separation changes

* updating FreeRTOS_connect to input sin_family post build separation changes

* minor fix

* updating copyright year

* updating file headers

* updating +TCP submodule

* updating file headers

* updating file headers

* updating manifest file to have latest +TCP submodule hash

* Fix issue with posix demo while running with ipconfigIPv4_BACKWARD_COMPATIBLE enabled for +TCP stack (#1027)

* Update the submodule pointer to IPv6 main

* Update manifest with latest TCP commit

* Update file checker exception

* Ignore Visual studio project file from file header checker

---------

Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2 years ago
Aniruddha Kanhere 1277ba1661
Revert "Remove coroutines (#874)" (#1019)
* Revert "Remove coroutines (#874)"

This reverts commit 569c78fd8c.

* Update freertos Kernel submodule to latest head

* Remove temporary files

* Fix MingW demos and spell check

* Fix manifest version; fix headers

* Add ignore files and paths to core-checker.py

* Fix copyright in remaining files

* Fix PR check build failure

1. Remove defining `inline` in Makefile. This was causing build
   warnings.
2. Ensure that the linker removed unused functions from various
   compilation units.
3. Update the linker script so that all the functions are correctly
   placed in FLASH section.

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
Paul Bartell 11ebab0488 Update FreeRTOS-Kernel Source submodule 2 years ago
Gaurav-Aggarwal-AWS 89ccc1da50
Update multiple submodules (#981)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2 years ago