* 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
* 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
* 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.
* 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.
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.