Commit Graph

2770 Commits

Author SHA1 Message Date
Archit Aggarwal
dfd17c928b Update naming for MQTT in ChangeLog for 200717_LTS_development_snapshot (#151) 2020-07-16 17:53:34 -07:00
RichardBarry
319dd912ca Update the readme files to be correct for the upcoming LTS snapshot z… (#141)
* Update the readme files to be correct for the upcoming LTS snapshot zip file - noting the differences between the Beta1 and Beta2 directories.
2020-07-16 17:52:37 -07:00
Archit Aggarwal
1b17e9ebf7 Add changelog file for V200717_LTS_development_snapshot releas (#149)
* Add changelog file for V200717_LTS_development_snapshot releas

* Minor punctuation changes from review comments

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>

* More Changelog improvements based on review comments

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
2020-07-16 13:07:10 -07:00
Muneeb Ahmed
7e3193f537 Sync MQTT from fcac5b8f of CSDK development (#150) 2020-07-15 17:32:19 -07:00
Muneeb Ahmed
e3c8583d60 Rename Transport Implementation and minor fixes (#145)
* Rename transport interface files

* Rename plaintext transport functions

* Address comments

* Add socket send timeout

* Set socket options after connection
2020-07-15 14:59:31 -07:00
Archit Aggarwal
0e789d21d5 Update hard-coded external Moqsuitto server cert to latest (#147) 2020-07-15 09:25:46 -07:00
leegeth
ba170799ca Update plain text demo to use local broker (#142) 2020-07-15 09:03:54 -07:00
leegeth
5ee5e2a95d Update main.c logs to use logging stack (#146) 2020-07-14 16:33:10 -07:00
Archit Aggarwal
ede4005182 Remove duplicated default config code, and documentation for new macros in FreeRTOS+TCP (#143) 2020-07-14 14:46:52 -07:00
Aniruddha Kanhere
d915a7816f Add changes from 2225-2227 amazon-FreeRTOS (#134) (#140) 2020-07-14 09:30:02 -07:00
leegeth
6a8cdcdf3c MQTT Lightweight demo (#119) 2020-07-13 17:00:12 -07:00
Archit Aggarwal
28e0db8b3b Add support for new MQTT in memory estimator tool (#138)
* Add support for new MQTT in memory estimator tool

* Fix issues in generating memory estimate report for MQTT Beta2 library

* Update supported libraries' list in README for mqtt-beta1 and mqtt-beta libraries

* Add beta1 suffix for light-mqtt library in README
2020-07-13 11:01:11 -07:00
Tiangang Song
9db0f87358 Sync OTA from latest AFR 202007 release (#137) 2020-07-10 16:06:40 -07:00
Gary Wicker
47ced49201 Count only A records in DNS resolution logic (#135) 2020-07-10 15:36:31 -07:00
Muneeb Ahmed
b98b75e312 Add transport interface and MQTT plaintext demo (#130)
* Add transport interface for FreeRTOS

* Add MQTT plaintext demo
2020-07-10 12:19:57 -07:00
Archit Aggarwal
5399d97814 Port fix for QoS 0 Sync Network disconnection issue (#125) 2020-07-08 22:05:01 -07:00
Muneeb Ahmed
2ee9fe649e Update MQTT files for network context (#133)
* Update MQTT files for network context

* Add transport interface header

* Update include path for lightweight demo
2020-07-08 19:11:13 -07:00
Joshua Yan
265d9d78d7 Update Mbed TLS to version v2.16.7 (#129)
* Update submodule pointer to be on v2.16.7 of Mbed TLS
* Update config file licenses
* Update readme.txt to include information on what Mbed TLS license the repo uses
2020-07-07 18:06:24 -07:00
Archit Aggarwal
c5b6d727cf Update uncrustify.cfg to match aws/amazon-freertos style (#128)
* Remove uncrustify config for assignment operator alignment to match aws/aws-iot-embedded-c-device-sdk and aws/amazon-freertos configs; re-format files
2020-07-07 15:02:52 -07:00
leegeth
d67f2ad963 MQTT Beta2 demo support files. (#115)
Co-authored-by: Archit Aggarwal <architag@amazon.com>
2020-07-07 12:21:33 -07:00
leegeth
88851d326b Sync MQTT library files from C-SDK (#126)
This sync is based on commit ID e00212ecdec3e48a95842299435e5de72440c065
from C-SDK development branch.
2020-07-07 12:20:10 -07:00
Archit Aggarwal
ad6ccfd0e7 Add execute permission to uncrustify file (#127) 2020-07-07 09:37:08 -07:00
alfred gedeon
6669a6f9bf Style: uncrustify FreeRTOS-Plus files (#120)
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
2020-07-06 15:28:33 -07:00
Tiangang Song
aa3fcbcb62 Fix return type of _establishMqttConnection (#112)
* Fix return type of _establishMqttConnection

* Fix document in OTA demo

* Fix build failures on microchip

* Add a log message in OTA demo
2020-07-01 16:24:37 -07:00
Muneeb Ahmed
57df8b8210 Copy MQTT files from 10174c4d of CSDK development (#111)
* Copy MQTT files from 6d4e47f3 of CSDK development

* Change case

* Update MQTT to commit a4ad8baf

* Update MQTT to commit 10174c4d
2020-06-30 16:57:50 -07:00
Carl Lundin
0bcbf43fee Sync PKCS #11 changes. (#113) 2020-06-30 16:54:25 -07:00
Archit Aggarwal
d95edc9733 Rename FreeRTOS-IoT-Libraries directory (#109)
* Rename both Demo/FreeRTOS-IoT-Libraries and Source/FreeRTOS_IoT_Libraries directories to FreeRTOS-IoT-Libraries-LTS-Beta1

* Rename directories within IDE project and source files

* Remove backup files pushed to remote accidentally

* Remaining directory name replacements in file texts
2020-06-30 15:07:32 -07:00
Tiangang Song
67aeced8b8 Sync OTA library from AFR 202007.00 release to lts-development (#91)
* Sync OTA library from AFR 202006.00 release

* Support suspend and resume in OTA demo

* Sync OTA library from AFR 202007.00 release

* Update OTA config files for other projects

* In OTA demo, block thread if fail to activate image

* Disable downgrade in OTA by default

* Update OTA demo config to match from AFR

* Add an idle hook to OTA demo to prevent 100% CPU

* Fix OTA config format and a mistake from last commit
2020-06-26 12:08:05 -07:00
Muneeb Ahmed
1f46e79f02 Sync Keep Alive fix from C-SDK (#100) 2020-06-22 14:24:32 -07:00
Aniruddha Kanhere
1c7c31e7a6 Update the TCP lib (#94) 2020-06-18 14:55:48 -07:00
Carl Lundin
fe3c62e476 Update PKCS #11 in LTS development branch. (#95) 2020-06-18 14:06:06 -07:00
Joshua Yan
8d14d06cca Submodule mbedTLS v2.16.6 (#93)
* Prepare for submoduling mbedTLS

* Add mbedTLS v2.16.6 as a submodule
2020-06-18 12:47:11 -07:00
Gaurav-Aggarwal-AWS
2acb08be81 Add support for generating JSON report (#81)
Add support for generating JSON report

Passing -g option will generate a JSON file containing size information
about all the libraries.

It also adds the support to patch source code before calculating size and
revert the patch afterwards. This should ideally be not needed as we should
be able to control all the configurations via config files. OTA currently defines
the logging level in a header file as opposed to taking it from a config file.
As a result, we need to patch the header file before calculating the size as
we want to turn off logging while calculating size. Later when logging
level is moved to a config file, it will not be needed and we will turn
off logging in the header file contained with the memory estimator tool.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-06-05 13:10:51 -07:00
Gaurav-Aggarwal-AWS
91068f0862 Add the memory estimator tool (#69)
* Add the memory estimator tool

This tool helps in determining the memory estimates for FreeRTOS
libraries.

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

* Address review feedback

1. Make the tool python3 compatible - The output read from a process is
bytes array and needs to be decoded as 'utf-8' before doing any string
like operations.
2. Make the script runnable from any directory.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-05-26 12:34:47 -07:00
Cobus van Eeden
dc491debe7 LTS-development-snapshot-202002.00
LTS development changes have Source, Demo, and dependencies added for FreeRTOS-IoT-Libraries. These libraries are using FreeRTOS kernel, FreeRTOS-Plus-TCP, and FreeRTOS-Plus-Trace of V10.3.0 tag. FreeRTOS_Plus_TCP and FreeRTOS_Plus_Trace are as used as is, but a few changes are made to FreeRTOS as listed below.

    Removed FreeRTOS/Demo.
    Updated FreeRTOS/readme.txt to remove mentions about the demos.
    Removed FreeRTOS/links_to_doc_pages_for_the_demo_projects.url file as there are no demos present.
V200218_LTS_development_snapshot
2020-02-18 17:35:31 -08:00
RichardBarry
c2a98127ac Minor wording changes in the 'previous releases' section of the readme.me file. (#17) 2020-02-16 13:19:53 -08:00
Yuhui.Zheng
24c772d143 Submodule kernel directory. (#16)
* Removing FreeRTOS/Source in readiness for submoduling.

* Submoduling kernel.

* README.md update due to submoduling.

When releasing, please follow these steps:
1. in local directory, clean directory and check "git status" shows "nothing to commit, working tree clean" for ALL subdirectories.
2. copy source code and instructions only to an empty folder. Git related should not be in this folder -- this covers .git, .gitignore, .github, .gitmodules, gitmessages, ......
3. zip the folder from step 2. (create both .zip and .7z)
4. attach .zip and .7z to the release. (e.g. attach these two in new release -- https://github.com/FreeRTOS/FreeRTOS/releases/new)
5. PLEASE download both, unzip, diff with your local git repo. (should not see any difference other than git related.) And, sanity check a couple of projects.
2020-02-14 12:47:01 -08:00
Rashed Talukder
c3f8b91652 Update readme. Fixed typos and cli commands (#14) 2020-02-13 17:47:14 -08:00
Julian Poidevin
4723b825f2 Fixed wrong git clone SSH command (#13)
Replaced bad https URL with proper SSH URL
2020-02-13 17:43:36 -08:00
RichardBarry
fc819b8217 Correct the xTimerCreate() documentation which said NULL was returned if the timer period was passed into the function as 0, whereas that is not the case. (#15)
Add a note to the documentation for both the xTimerCreate() and xTimerCreateStatic() functions that the timer period must be greater than 0.
2020-02-13 17:42:22 -08:00
Rashed Talukder
1c711ab530 Updated contributions guidelines (#12) 2020-02-12 23:00:18 -08:00
Cobus van Eeden
84fcc0d531 Updates to Markdown files and readme.txt (#11) 2020-02-12 15:05:06 -08:00
Cobus van Eeden
4b53196b71 Adding Contributions.md (#8) 2020-02-11 18:23:08 -08:00
Richard Barry
9c0c37ab9b Added back some TCP/IP stack port layer files. 2020-02-07 21:51:48 +00:00
Richard Barry
7cf721ccf7 2020-02-07 21:49:55 +00:00
Yuhui.Zheng
589dd9f149 Update version number in readiness for V10.3.0 release. Sync SVN with reviewed release candidate. 2020-02-07 20:14:50 +00:00
Yuhui.Zheng
f988394e0d Fix spelling issues. 2020-02-07 19:19:47 +00:00
Richard Barry
28efb5449c Add "is inside interrupt" function to MPU ports.
Make clock setup functions weak symbols in ARMv8-M ports.
Update Cortex-M33 ports to use an interrupt mask in place of globally disabling interrupts, as per the other Cortex-M ports.
2020-02-07 01:56:25 +00:00
Richard Barry
8e5addee1e Update TCP to last release versions in preparation for kernel V10.3.0 release. 2020-02-06 22:45:37 +00:00
Richard Barry
7bea399061 Update libraries and sundry check-ins ready for the V10.3.0 kernel release. 2020-02-06 18:52:35 +00:00