* 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
* Remove uncrustify config for assignment operator alignment to match aws/aws-iot-embedded-c-device-sdk and aws/amazon-freertos configs; re-format files
* 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
* 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
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>
* 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>
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.