summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update README.md202012.00-LTS202012.00Joseph Julicher2020-12-151-0/+4
|
* [AUTO][RELEASE]: Bump file header version to "202012.00"Joseph Julicher2020-12-151317-1317/+1317
|
* [AUTO][RELEASE]: Bump submodules per manifest.yml for V202012.00Joseph Julicher2020-12-158-0/+0
|
* [AUTO][RELEASE]: Bump file header version to "202012.00"Joseph Julicher2020-12-1574-74/+74
|
* Update manifest.ymlJoseph Julicher2020-12-151-1/+1
|
* Update manifest.ymlJoseph Julicher2020-12-151-1/+1
|
* Update manifest.ymlJoseph Julicher2020-12-151-2/+2
|
* History and manifest updates (#480)Joseph Julicher2020-12-152-3/+39
|
* Update FreeRTOS-Plus-TCP (#479)Cobus van Eeden2020-12-141-0/+0
|
* Move mbedtls tag to v2.25.0Carl Lundin2020-12-141-0/+0
|
* Fix pkcs11 demo build.Carl Lundin2020-12-142-4/+0
|
* Stack fix (#475)Sukhmani Minhas2020-12-141-7/+2
|
* Re-add missing license files caused by PR #471 and fix patches (#477)Carl Lundin2020-12-142-3/+5
| | | | * Re-add missing license files caused by PR #471. * Fix proof patch.
* Update submodule pointers (#476)Archit Gupta2020-12-143-0/+0
|
* Move kernel submodule to latest (#474)Cobus van Eeden2020-12-131-0/+0
|
* Update submodules of CSDK libraries (#473)Oscar Michael Abrina2020-12-137-0/+0
|
* Delete HTTP demo task upon completion (#472)Oscar Michael Abrina2020-12-125-0/+5
| | | Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
* Fix CBMC patches. (#471)Carl Lundin2020-12-123-24/+12
| | | * Fix CBMC patches.
* Clean up demo project files (#468)Archit Gupta2020-12-1234-894/+1491
|
* Fix build failure in STM32 Discovery MPU Projects (#449)Gaurav-Aggarwal-AWS2020-12-1211-35/+27
| | | | | | | | * Fix build failure in STM32 Discovery MPU Projects Privileged data region size needs to be increased because heap is now placed in this region. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Add reference to Labs to Readme.md (#466)Cobus van Eeden2020-12-121-0/+7
|
* Split networking from posix and qemu mps2 demos (#455)alfred gedeon2020-12-1249-405/+10136
| | | Split networking from posix and qemu mps2 demos
* Autorelease/manifest (#469)David Chalco2020-12-114-142/+192
| | | new release flow
* Add links to the MQTT agent in the non-agent mqtt demos (#470)RichardBarry2020-12-1118-16/+160
| | | | Add URL file links to the MQTT agent documentation page. Add comment blocks into each demo that also point toward the MQTT agent documentation to ensure users are aware the agent method exists.
* Update mbedtls to v2.24.0 (#465)Carl Lundin2020-12-1125-162/+21
| | | | | | | | * Set mbedtls submodule tag to v2.24.0 * Update projects Co-authored-by: Oscar Michael Abrina <abrinao@amazon.com> Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
* Remove uIP TCP/IP stack and related demos (#467)Ming Yue2020-12-111373-431027/+22
| | | | | | | * Remove uIP TCP/IP stack. * Remove demos that uses uIP. * Update Demo ReadMe.txt files.
* Map errors from FreeRTOS+TCP to mbedTLS and make read non-blocking when ↵Oscar Michael Abrina2020-12-115-23/+128
| | | | | | | | | | | | requesting start of frame (#452) From the FreeRTOS documentation, pdFREERTOS_ERRNO_ENOSPC means that timeout occurred before any data could be sent or received. - In the plaintext transport-interface implementation, we would directly return `-pdFREERTOS_ERRNO_ENOSPC`. However, an error like this can occur when the TCP buffer is full, so this ought to be retriable. Libraries that consume the transport interface interpret a return value of 0 to mean that send/recv can be invoked again to get the data. As such, we should appropriately set the return value as 0 when the status is `-pdFREERTOS_ERRNO_ENOSPC`. - In the mbedTLS port, we would directly return whatever `FreeRTOS_send` or `FreeRTOS_recv` returns. However, sometimes, the return value can be an error. In such cases, we ought to map an error from FreeRTOS+TCP to an equivalent error in mbedTLS. In the case of `-pdFREERTOS_ERRNO_ENOSPC`, we map that to `MBEDTLS_ERR_SSL_TIMEOUT`. When the mbedTLS transport-interface send/recv wrapper sees that value, it appropriately returns 0, so that the library can retry the send/recv. I've verified that when the mbedTLS port returns an error, that same error is returned by `mbedtls_ssl_write` & `mbedtls_ssl_read`. - The TCP socket may have a receive block time. If bytesToRecv is greater than 1 then a frame is likely already part way through reception and blocking to wait for the desired number of bytes to be available is the most efficient thing to do. If bytesToRecv is 1 then this may be a speculative call to read to find the start of a new frame, in which case blocking is not desirable as it could block an entire protocol agent task for the duration of the read block time and therefore negatively impact performance. So if bytesToRecv is 1 then don't call recv unless it is known that bytes are already available. Co-authored-by: abhidixi11 <44424462+abhidixi11@users.noreply.github.com> Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
* Add comment about handling S3 request limits to S3 download demos (#462)Sukhmani Minhas2020-12-115-5/+19
| | | | - Adding a comment to the top of S3 download and multi-threaded download demo source code files, to explain how to handle S3 request limits. This is done to prevent users from treating this case as a bug. - Increasing ipconfigTCP_RX_BUFFER_LENGTH to 5000, as was done recently for other demos.
* Update comments about NetworkContext definition (#461)Oscar Michael Abrina2020-12-1119-20/+136
| | | | | Small change that simply specifies why the NetworkContext must be defined by each compilation unit along with details on how to include it to your project. Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
* Moved definition of ucBufferStorage out of if macro. (#459)Pascal2020-12-101-11/+9
| | | | * Moved definition of ucBufferStorage out of if macro. If ucBufferStorage is only defined when configSUPPORT_STATIC_ALLOCATION ist set to 1, compilation will fail in cases where it is set to 0 or not defined (because it defaults to 0, as described in the documenation).
* Update demos to use version macro from coreMQTT (#460)Archit Aggarwal2020-12-107-24/+30
| | | Update demos to use the MQTT_LIBRARY_VERSION macro for the coreMQTT version they report in their metrics
* Update MQTT config for Keep Alive demo that uses dummy timer (#457)Archit Aggarwal2020-12-092-5/+39
| | | The MQTT library has been updated with the MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_RETRY_TIMEOUT_MS configurations which should be set to zero when using a dummy timer function to avoid possibility of infinite loop when retrying failed transport send/receive calls. As the MQTT Keep Alive demo uses a dummy timer function, this PR updates the demo configuration to set these timeouts to zero.
* Remove duplicate WinBase.h and Windows.h. (#458)Ming Yue2020-12-092-0/+0
|
* Update kernel submodule pointer to version 47338393f (#456)Cobus van Eeden2020-12-083-20/+13
| | | | | | | * Update kernel submodule pointer to version 47338393f * Fix patches. Co-authored-by: Carl Lundin <lundinc@amazon.com>
* Move corePKCS11 forward and update to latest core_pkcs11.h (#441)Carl Lundin2020-12-0715-39/+108
| | | | | | | | | * Move corePKCS11 forward. * Update licenses. * strip NULL terminator. * Add threading_alt.h * Use github link. Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
* Fix FreeRTOS+TCP submodule pointer (#453)Archit Gupta2020-12-071-0/+0
| | | | | The FreeRTOS+TCP submodule pointer was set to a commit not in main, which also lacked commits in main, which ended up causing build failures for defender demo.
* Update HTTP demo project files (#451)Sukhmani Minhas2020-12-076-38/+82
| | | | | * Update project filters * Address inaccurate retry count
* Update Kernel head (#444)alfred gedeon2020-12-041-0/+0
|
* Replace GPL with FreeRTOS license in MbedTLS demo config files (#447)Sukhmani Minhas2020-12-048-319/+159
| | | Since we own mbedtls_config.h files, updating the GPL to use the FreeRTOS license instead.
* Change all occurrences of broker to server in coreHTTP demos folder. (#445)SarenaAWS2020-12-043-3/+3
|
* Update readme.txt (#446)yngki2020-12-042-4/+7
| | | | | | | | | | | * Update readme.txt * Update readme.txt * Update readme.txt * Update check-header.py Co-authored-by: Joseph Julicher <jjulicher@mac.com>
* Port S3 multi-threaded download demo from C-SDK (#436)Sukhmani Minhas2020-12-049-0/+3409
| | | Adding demo to demonstrate the use of pre-signed URLs to connect and download from a S3 bucket. Sends multiple GET requests synchronously to download a file in chunks using range headers. Uses a request and response task in addition to the main HTTP servicing task.
* Qemu mps2 networking (#439)alfred gedeon2020-12-0325-516/+8119
| | | | | | * Demo: Add Support for netwroking in Qemu for MPS2 AN385 * Add tcp echo client * Add steps to Readme
* Adds error messages for AWS demo mqtt helpers + misc fixes (#440)Archit Gupta2020-12-034-29/+31
| | | | | Switch MQTT helpers to logging error message instead of error code. Adds time parameter to xProccessLoop so defender demo does not wait extra time. Fixes some incorrect returns in metrics_collector.c
* Update WindowsTargetPlatformVersion to 10.0 (#442)Oscar Michael Abrina2020-12-032-2/+2
| | | CI only supports 10.0, so this change is required for CI to build this demo correctly on Visual Studio.
* Move WolfSSL to ThirdParty and Submodule code (#433)Carl Lundin2020-12-03635-747564/+487
| | | | | | | | | | | * Submodule wolfSSL and move wolfSSL and WolfSSL-FIPS-Ready to ThirdParty folder. * Update VS studio project. * Update FIPS project settings. * Update FIPS demo readme. * Add md to ignored file extensions.
* Add retries to demos in case of a failure. (#435)leegeth2020-12-026-499/+986
|
* Port S3 Upload Demo from C-SDK (#417)Sukhmani Minhas2020-12-029-0/+3065
| | | Adding demo to use script-generated pre-signed URLs to establish a TLS connection and upload a small file to an S3 bucket using a single PUT request, and then verify the upload by obtaining the file size from S3 and comparing it to the size of the local file.
* Port S3 Download Demo from C-SDK (#416)Sukhmani Minhas2020-12-029-0/+3023
| | | Adding demo to use script-generated pre-signed URLs to establish a TLS connection and synchronously download a file from an S3 bucket, with multiple GET requests.
* Add UDP demo running FreeRTOS+TCP (#425)Aniruddha Kanhere2020-12-0219-9/+3105
| | | | | | | | | | | | | | | * Add FreeRTOS+TCP UDP only demo. * Update folder name and remove old one * Update the network interface to be used. * Update headers * Update header * Header update and folder name correction * Remove WinPCap folder