Commit Graph

106 Commits (202411.00)

Author SHA1 Message Date
Rahul Kar 2ba53c402a
Update history for release [202411.00] ()
* Update history for release [202411.00]

* Update corePKCS11 to v3.6.2

* Update manifest.yml file
Rahul Kar 89c685bb5c
Update version of third party libraries for P3 release ()
* Update User Networking debug command for QEMU Demo

* Fix CI check fails

* Update version of third party libraries for P3 release

* Update submodule pointer for glib

* Update submodule pointer for libslirp

* Update submodule pointer for OTA

* Fix formatting

---------

Co-authored-by: Rohit Madan <rohitmdn@amazon.com>
Monika Singh 6d126f449f
[P3] Update FreeRTOS Cellular Interface demos ()
Monika Singh 8c535099f6
[P3] Update wolfssl to v5.6.4-stable ()
Monika Singh 97af9c0c14
[P3] Update coreMQTT agent ()
Monika Singh 26d0c3041d [P3] Update FreeRTOS cmock to v2.5.3 ()
* Update libraries to LTS version

* Fix doxygen link

* Update cmock to v2.5.3

* Update FreeRTOS/Test/CMock/CMoc
Monika Singh 7ce50582be [P3] Update Partner/Community supported demos ()
Monika Singh af4d9efe43 Update libraries to LTS version
chinglee-iot 66b0b0a5a0
Update corePKCS11 submodule pointer ()
* Update corePKCS11 submodule pointer
* Fix corePKCS11 MQTT mutual authenticated demo
* Sync with other demo to wait for network up.
* Fix compiler warning.
chinglee-iot dd4789cdba
Update kernel submodule for vTaskSuspendAll change ()
* Update kernel submodule pointer for vTaskSuspendAll change
Soren Ptak 4592acca4c
Update Cortex R4F and Cortex R5F MPU Demos ()
* Set configUSE_EVENT_GROUPS to 0 in the CORTEX_MPU_R4/5F Demos.
* Update the FreeRTOS-Kernel submodule to use the latest FreeRTOS-Kernel.
wat 076430b2ab
[WIN32-MingW Demo] TickType_t width is defined based on compiler type.(32bit/64bit) ()
* [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 .

* [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>
Tony Josi 000c005cee
Update +TCP to latest version ()
chinglee-iot 2bb9bca68b
Update kernel submodule pointer for xTaskGetHandle unit test ()
chinglee-iot 5be0af160b
Update kernel submodule for task notify change ()
chinglee-iot b31b3d4eb3
Update kernel submodule to address vTaskDelete and vTaskSuspend change ()
chinglee-iot 457ca860c1
Update kernel submodule for vTaskEndScheduler and vTaskDelete unit test ()
Gaurav-Aggarwal-AWS 3d236bd83d
Add x64 configuration to Win32-MSVC demo ()
Add x64 configuration to Win32-MSVC demo.

This was originally contributed in this PR - 

---------

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>
Soren Ptak 7fc12c29f3
Update FreeRTOS and AWS Library Submodules ()
* Update the AWS and FreeRTOS Library Submodule Pointers
* Update the manifest.yml file for new submodules
chinglee-iot c852aaeeeb
Update kernel submodule for vTaskSuspend change ()
chinglee-iot 527ee9a799
Update kernel submodule for unit test ()
* Update kernel submodule for unit test
Forty-Bot 154dee1c86
Fix msp430_GCC demo application ()
* 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.
Forty-Bot 85ed21bcfb
msp430_GCC: Make interrupts return void ()
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.
Soren Ptak 6b513cb1a2
Use MbedTLS 3.5.1 and Add TLS 1.3 Support to WinSim Demos ()
* 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
chinglee-iot 4bad7a6ba4
Update cellular interface submodule pointer ()
chinglee-iot 0857bd7b72
Update submodule for kernel and community demos ()
chinglee-iot 831035a00f
Update kernel submodule pointer for get idle task handle ()
chinglee-iot 24eed82bee
Update kernel submodule ()
Moral-Hao 55d07daf0a
Add CMock test case for vTaskResume ()
* 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>
chinglee-iot e7d39763db
Add unit test for FreeRTOS SMP ()
* 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>
chinglee-iot 1114e8f39b
Add kernel base priority get unit test ()
* Add uxTaskBasePriorityGet and uxTaskBasePriorityGetFromISR unit test
Anubhav Rawal ddb6e58d0a
Updates FreeRTOS-Plus-Trace to a submodule pointer ()
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.
chinglee-iot d3575643b8
Update for kernel idle task unit test ()
* 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>
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. ()
* 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.
ActoryOu 20b6c13c07
Apply compile option change on RP2040 ()
* 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>
Gaurav-Aggarwal-AWS 38a57333ed
Fix unit test for Kernel PR ()
* Fix unit test for Kernel PR 
* Update kernel submodule pointer
---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
kar-rahul-aws 80db00d98b
Add uxQueueGetQueueLength API in queue unit tests ()
* 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>
ActoryOu b1d2de487b
Update libslirp network interface API and +TCP submodule pointer ()
* Update posix demo for +TCP update.

* Update Libslirp name & +TCP submodule pointer

* Update manifest

---------

Co-authored-by: Monika Singh <moninom@amazon.com>
Monika Singh acd5dd09b4
Update FreeRTOS-Plus-TCP Submodule Pointer ()
* Update branch

* Update readme

* Update TCP submodule pointer

* Update manifest

* Update file names
Gaurav-Aggarwal-AWS 405b518f61
Update submodule pointers for demos ()
Update submodule pointers for demos

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Xiaodong Li 792efb4bb7
Create GitHub workflows to execute the WinSim demos with libslirp network interface implemented in FreeRTOS+TCP VS Static Project ()
* 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>
chinglee-iot f776f5ee4a
Move demos in Community-Supported to Community-Supported-Demos ()
* Move demos in Community-Supported to Community-Supported-Demos
* Update RP2040 CI workflow path
chinglee-iot 6eb8fc5f51
Merge SMP demos from FreeRTOS-SMP-Demos ()
* 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
Xiaodong Li e39bb188dd
Implement libslirp for FreeRTOS_Plus_TCP_Echo_Posix demo ()
* 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>
kar-rahul-aws 6682dbbc5b
Update submodule pointer for Kernel V10.6.0 ()
* 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>
Tony Josi 3be041eacb
Fix TCP echo posix demo warnings ()
* fix warnings

* update naming

* updating +TCP to latest

* review comments fix
Monika Singh 301ed5881b
Merging IPv6 demo changes to main ()
* Add IPv6 Demo ()

* 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 ()

* 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 ()

* 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 ()

* Update winpcap network interface

* Run uncrustify

* Update function to include NetworkInterface_t parameters

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

* adding compatibility for xApplicationDNSQueryHook with latest dev branch

* adding tcp echo server source

* removing unused sub demos

* fix build issues ()

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

* 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 ()

* 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  ()

* Update xApplicationDHCPHook for backward compatability

* Update IPv6

* Update VisualStudio Static Project files

* Update pxEndPoint error ()

* Update IPv6 demo ReadMe ()

* Update ReadMe

* Update setup requirement

* Update UDP demo info

* Update comment

* TCP demo changes post build separation ()

* 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 ()

* 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>
Aniruddha Kanhere 1277ba1661
Revert "Remove coroutines ()" ()
* Revert "Remove coroutines ()"

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