"Application - AWS IoT" 修訂間的差異

出自 flip the world
前往: 導覽搜尋
行 19: 行 19:
 
** cd freertos/tools/aws_config_quick_start  
 
** cd freertos/tools/aws_config_quick_start  
 
** python SetupAWS.py setup  
 
** python SetupAWS.py setup  
* Toolchain version
+
* Toolchain version(5.2.0 is better)
 
<pre>
 
<pre>
 
$ xtensa-esp32-elf-gcc --version
 
$ xtensa-esp32-elf-gcc --version

於 2020年7月7日 (二) 15:03 的修訂

  • Setup your AWS CLI installation
    • sudo apt install awscli
  • Go to IAM service to get the Access keys
    • aws configure
$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json
  • AWS development package - boto3
    • pip install tornado nose
    • pip install boto3
  • Get AWS FreeRTOS
  • Create IoT thing
    • vim freertos/tools/aws_config_quick_start/configure.json
    • cd freertos/tools/aws_config_quick_start
    • python SetupAWS.py setup
  • Toolchain version(5.2.0 is better)
$ xtensa-esp32-elf-gcc --version
xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


  • Reference

https://docs.aws.amazon.com/zh_tw/freertos/latest/userguide/getting_started_espressif.html