3194 Commits

Author SHA1 Message Date
3fd635b39e [P3] Submodule pointer update to LTS Libraries (#640)
* moved submodule to backoff v1.0.1

* move corehttp module to latest commit

* move coremqtt module to latest commit

* move coremqtt Agent module to latest commit

* move coreSNTP Agent module to latest commit

* move coreJSON Agent module to latest commit

* move corePKCS11 Agent module to latest commit

* Reverting coreHttp to previous commit

* Updating coreHttp pointer after fix
2021-07-14 12:10:35 -07:00
693a9994b0 Add static to a variable in Qemu mps2 demo (#646) 2021-07-14 10:05:22 -07:00
d663850e1b Demo: Exit on Error with Qemu MPS2 Full Demo (#642) 2021-07-13 21:13:31 -07:00
141070a2eb Demo: Run uncrustify on quemu mps2 demo (#643) 2021-07-12 18:04:36 -07:00
25e73f2e75 RP2040 Demo (#618)
* Fix code to match comment; idle prioriry task should not block to yield, as then it will hardly run at all (bug affects SMP tests)

* Add RP2040 Demo - can be used for 'main' or 'smp' branch of FreeRTOS_Kernel

* move to latest main/ of FreeRTOS-Kernel

* move RP2040 demos into Community-Supported

* Update whitespace issue

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>

* Add SMP to lexicon

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2021-07-09 09:32:42 -07:00
bec88bfe41 Update the size of privileged data section (#639)
This is needed because FreeRTOS heap is now placed in the privileged
data section.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-07-07 13:14:40 -07:00
6ef5c92233 Updated device-shadow submodule to support named shadow, and updated demo to use named shadow (#636) 2021-07-07 11:15:33 -07:00
d1c84a324a Template Project for existing FreeRTOS port (#637)
* Partner demo changes

* Adding template folder

* readme addition to partner supported folder

* updating license

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2021-07-01 12:36:31 -07:00
b8bcbf2a40 Fix data copy address error (#634) 2021-06-29 10:18:00 -07:00
a14f136596 Doc: Add new lines 2021-06-28 17:07:24 -07:00
449ad960e2 Doc: Improve debugging doc with Qemu demo 2021-06-28 17:07:24 -07:00
e66c4a93ee Fix data copy address error (#632)
* Fix data copy address error

Co-authored-by: Jinping Wu <jinping.wu@verisilicon.com>
2021-06-28 14:19:26 -07:00
ac5bf3b934 Update coreSNTP submodule and coreSNTP demo (#631)
Update the coreSNTP submodule to the latest commit. Also, make updates to the coreSNTP demo for the new changes in the SNTP library which include the following:

1. Update to the type for packet size from size_t to uint16_t for parameters in the transport and authentication interfaces.
2. Change in the call to Sntp_SendTimeRequest API to pass the new blockTimeMs parameter added to the API.
3. Update to the clock-offfset type from int32_t to int64_t for representing information in milliseconds. To accommodate this update in the SntpSetTime_t interface, the mathematical model for representing system clock has been updated to store slew rate as milliseconds/second (instead of second/second). This change improves the accuracy of the WinSim demo time correction (because the milliseconds of time difference between server and client time is corrected over the entire polling interval which makes a significant difference!).

This PR also adds demo config macros for setting the block time values passed to the Sntp_SendTimeRequest and Sntp_ReceiveTimeResponse APIs.
2021-06-25 12:19:00 -07:00
4c4a0ab755 Fix Bug from Issue #565 (#629)
Co-authored-by: Victor <vfernandez@maccorobotics.com>
Co-authored-by: Paul Bartell <pbartell@amazon.com>
Co-authored-by: Shivangi <66447522+gshvang@users.noreply.github.com>
2021-06-21 17:39:10 -07:00
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