3180 Commits

Author SHA1 Message Date
434eeadf9f Add new demo submodules to manifest.yml (#630) 2021-06-21 17:12:33 -07:00
5e596c2e32 Add new submodules for port demo contribution (#628)
Adds two new submodules for community and partner supported ports demos.
2021-06-21 10:42:23 -07:00
5a41846f05 Add authentication support to coreSNTP demo (#625)
Update the coreSNTP demo to showcase use of symmetric key algorithm of authentication scheme for securing SNTP communication between client and server.
The demo uses the AES-128-CMAC algorithm for the generating Message Authentication Code for the client on sending the SNTP time request to server as well as validating the server response received by verifying if the payload present authentication code can be generated. Use of an authentication mechanism in SNTP communication protects against server spoofing attacks as well as man-in-the-middle attacks of server response modification.

The demo uses corePKCS11 library for the AES-CMAC operations. Also, the demo adds functionality of generating random number, using corePKCS11, for sending as a parameter to the Sntp_SendTimeRequest API.

Note: For symmetric key based security mechanism to be protective against malicious, it is IMPORTANT to securely pre-share the symmetric key between client and server.
2021-06-16 10:22:06 -07:00
f771faef4a Add unauthenticated mode demo for coreSNTP library for time synchronization (#621)
Add the FreeRTOS/coreSNTP library as a submodule (along with manifest.yaml file update) and add a demo project to showcase use of the coreSNTP library for having a SNTP client daemon in the system for periodically synchronizing system time with the internet to maintain Coordinated Univeral Time (UTC) in a device. This demo maintains UTC time of system in RAM, thereby, representing systems without a Real-Time Clock (RTC) module in the device.

Note: This demo shows use of coreSNTP library for SNTP communication with NTP/SNTP time servers in non-authenticated mode (i.e. without any security mechanism payload beyond the standard 48 bytes of NTP packet exchange between client-server).
2021-06-10 13:42:42 -07:00
6881522370 Demo: fix trace vs coverage options, add option no trace on enter 2021-06-09 16:08:24 -07:00
b6624fa44d Remove or rework assumptions in queue proofs (#603)
This commit is paired with another to queue.c in the kernel.  To
accomodate changes in newer versions of CBMC, the
--pointer-overflow-check is removed.
2021-06-04 15:42:14 -04:00
d9ddcc0134 Add Lexicon word 2021-06-02 11:00:10 -07:00
9904e571f9 Remove extra Makefile print 2021-06-02 11:00:10 -07:00
b0e693e88b Demo: exit 1 on error exit 2 on Ctrl_C 2021-06-02 11:00:10 -07:00
e84fc19966 Make full demo exit on error 2021-06-02 11:00:10 -07:00
aed7209b7a Bump urllib3 from 1.26.4 to 1.26.5 in /.github/scripts/common (#617)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:29:22 -07:00
f37753da06 Update unit tests to match changes in queue.c (#614) 2021-06-01 15:33:43 -04:00
ea798d0612 Update release scripts to handle new "<DEVELOPMENT BRANCH>" version tags. (#615)
Add support for setting the main branch version number in task.h from within the github auto release workflow.
2021-05-28 07:22:30 -07:00
0c0333985b Run unctustify, fix some Readme wording 2021-05-27 20:07:54 -07:00
a2029c781c Enable profiling for the linux port 2021-05-27 20:07:54 -07:00
784fb8c157 Bump urllib3 from 1.26.3 to 1.26.4 in /.github/scripts/common
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.4.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 17:54:39 -07:00
e78feebe7b Allow pip to determine the correct version of colorama and requests 2021-05-27 17:38:55 -07:00
5136a30399 Test: Mask unit test warning (#592)
* Test: Mask unit test warning

* Fix Unit Test Bug

* Unit Test: Add setters and getters for xMaskAssertAndAbort

* Fix Warning

* Update Makefile
2021-05-27 16:26:31 -07:00
459a6cbb4c Update header_checker.py to support python and assembly files.
Add support for checking and verifying SPDX license identifiers.
2021-05-27 15:59:21 -07:00
3c4049c8f7 Update kernel HEAD (#611) 2021-05-27 14:37:41 -07:00
803016a27a Updated demo_config.h and include paths for OTA demos (#605)
Co-authored-by: Jason Carroll <czjaso@amazon.com>
2021-05-27 10:48:03 -07:00
5d3ec8031f deprecating the mcf5235 demos (#609) 2021-05-26 16:37:01 -07:00
c134a58115 Fix missed variable rename (#600) 2021-05-17 14:31:42 -07:00
4ad4c7679e Clean up commits. (#596) 2021-05-17 09:42:53 -07:00
db1f4542e5 Let vAssertCalled() produce some logging to stdout (#598) 2021-05-14 12:17:47 -07:00
1bc759d413 Aws only files spell check (#593)
* Added spell check

* All words

* Add a missing word

* Fix header checks

* Fix header checks v1

* Fix header check v2

* Updated freertos link in header

* Fixed afr link in the header

* Fix last of header checks

* Update the spell check script to check amazon licensed files only

* Fixed paths and added comments

* Try with modified repo

* Add inplace substitute option to sed

* Use official repo as the spell checker source

* Add vendor file to the ignored list

Co-authored-by: root <root@ip-172-31-5-28.us-west-2.compute.internal>
2021-05-13 16:07:56 -07:00
e117bdcd17 Add CI check for verifying manifest.yml (#590) 2021-05-07 15:15:00 -07:00
420a821514 Add some hyperlinks for the recently concluded FreeRTOS 202104.00 release (#588) 2021-05-06 13:09:09 -07:00
c1a1bd9774 fix versioning of header checks (#587) 2021-05-04 10:27:09 -07:00
971a6e1d22 Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
04f0f68f61 OTA Demos (#573)
This change adds the OTA demos and required dependencies and helper components .
* Add demos , configs and project files
* Add subscription manager
* Add HTTP utils
* Submodules the OTA LTS 3.0 Library.
* Add OTA pal
2021-04-26 12:43:57 -07:00
43bd42db27 Rename MQTT Agent structs and files (#576) 2021-04-26 11:29:50 -07:00
1fe418dc9f Remove unecessary file (#495) 2021-04-21 18:00:07 -07:00
82036163f9 Update release script to upload doxygen artifact for release-candidate branch (#571) 2021-04-21 20:05:37 -04:00
6b0c4ea233 Update release.py to support passing branch parameter (#570) 2021-04-21 16:39:42 -07:00
fd9c1eb7a5 Automate doxygen ZIP creation with GitHub Action (#568)
Automate creation of doxygen ZIP output by using the custom doxygen GitHub Action, that has been updated to generate ZIP artifact in PR
2021-04-21 13:52:01 -07:00
1e2f99a11b Add feature to set credentials using buffer in MQTT_Mutual_Auth_wolfSSL demo (#522)
* Add feature to set credentials using buffer
* Change instructions for giving credential data via buffer
2021-04-21 11:09:43 -07:00
9f10725bee Minor update to the UART write function in the IAR/QEMU/MPS2 demo (#535)
* Minor update to the UART write function in the IAR/QEMU/MPS2 demo project.  Now the function checks to ensure there is space in the Tx buffer before writing to the buffer - although this does not appear to be necessary in QEMU it is more correct.

* Update main.c

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2021-04-20 21:04:29 -07:00
5ac8279c1b Change Shadow submodule to point to LTS release tag (#567) 2021-04-20 18:32:30 -07:00
ef6194a7ce Replace multithreading demo with MQTT Agent (#563)
* Update MQTT agent submodule

* Copy MQTT agent demo files

* Remove other demos from connection manager

* Update demo config and uncrustify

* Update readme files

* Fix headers
2021-04-20 17:27:10 -07:00
7a695784bc Add queue.c CMock unit test (#552)
* Disregard coverage data without a function_name field set

* Fix calling make on subdirectories

* Undefine FORTIFY_SOURCE when running without ENABLE_SANITIZERS

* Add queue and semaphore unit tests

* Update FreeRTOS-Kernel submodule revision
2021-04-20 15:45:52 -07:00
53af0ec62e Revert "Add test for timer start delayed past expiration (#557)" (#566)
This reverts commit 9c911990164abb4939d08fc3ebeccc5f2199c6cb.
2021-04-17 15:50:15 -07:00
9c91199016 Add test for timer start delayed past expiration (#557)
Co-authored-by: Dan Good <49254594+dan4thewin@users.noreply.github.com>
Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
2021-04-17 15:02:47 -07:00
2560a50a7b prune .git from versioning search (#561)
Co-authored-by: Archit Aggarwal <architag@amazon.com>
2021-04-16 18:11:38 -07:00
999e81e721 Bump submodules of Kernel and AWS libraries (#564) 2021-04-16 16:11:05 -07:00
4249f5ce11 Update README cloning instructions to set core.symlinks for Windows (#556)
* Update README cloning instructions to set core.symlinks for Windows

* Add purpose
2021-04-14 10:08:39 -07:00
5440581dcd Fix typo in History.txt (#559) 2021-04-13 17:39:33 -07:00
cd75d5607f Relocate History.txt and fix an typo (#558) 2021-04-13 16:52:26 -07:00
f2bcfb3866 Add test for backlogged auto-reload timer (#553)
* Add test for backlogged auto-reset timer

Must call vTimerDemoIncludeBacklogTests() to activate.

* Fix little style issues

- Update to new header
- Add parentheses (style)
- Remove trailing space accidentally introduced

* Don't verify full clearing of backlog

The timer task should be free to process the stop request without a
specific requirement to work through the backlog of callbacks for the
stopped timer.  The timer task should be allowed to cancel the entire
backlog, part of it, or none of it.  In other words, once the
application sends the stop request, it should not depend on receiving
any more callbacks, even backlogged ones.

The only requirement here is that the timer stop as requested.

Co-authored-by: Joseph Julicher <jjulicher@mac.com>
Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
2021-04-12 16:39:17 -07:00
1f47a22b23 Add MQTT Agent submodule (#551)
* Add MQTT Agent submodule

* Add MQTT agent platform files

Co-authored-by: abhidixi11 <44424462+abhidixi11@users.noreply.github.com>
Co-authored-by: Joseph Julicher <jjulicher@mac.com>
2021-04-09 11:17:06 -07:00