mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-08-09 22:53:44 +00: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.
Script to setup the AWS resources through command line
This script automates the process of Prerequisites and the configuring the files aws_iot_demo_profile.h to connect to AWS IoT.
Make sure you have aws cli configured on your machine with access_key, secret_key and region.
Open the file configure.json and fill in the following details:
- FreeRTOS_source_dir : The path of the FreeRTOS directory. By default, this is set to the top level of this repo (../..).
- thing_name : Name of the thing you want to create
Options to use with the script
- To setup your Thing, and update credentials file, type the command:
python SetupAWS.py setup - To cleanup the Thing you created with the script, and revert changes in credentials file, type the command:
python SetupAWS.py cleanup - To only create thing, certificate and policy, type the command:
python SetupAWS.py prereq - To update the files
aws_iot_demo_profile.hwith thing name and the certificate keys, type the commandpython SetupAWS.py update_creds - To delete the thing, certificate and policy created by the script, type the command:
python SetupAWS.py delete_prereq - To revert the changes in the file
aws_iot_demo_profile.h, type the command:python SetupAWS.py cleanup_creds - To list your certificates, type the command:
python SetupAWS.py list_certificates - To list your policies, type the command:
python SetupAWS.py list_policies - To list your things, type the command:
python SetupAWS.py list_things