Skip to content

Infineon/AWS_IoT_Publish_Subscribe_Code_Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This repository is deprecated. Use the Mbed OS example available here - https://github.com/ARMmbed/mbed-os-example-aws

Introduction

This repository contains the code examples and demos for PSOC6 MCU family of devices bundled with connectivity. Additional PSoC 6-related code examples are available in other repos. See all examples at Code Examples for Modus Toolbox.

Instructions to build AWS IoT and GreenGrass publisher/subscriber code examples

  1. clone the desired code examples repository

     git clone git@github.com:cypresssemiconductorco/AWS_IoT_Publish_Subscribe_Code_Examples.git
    
  2. Change to the application folder (for instance publisher)

  3. prepare the cloned working directory for mbed

     mbed config root .
    
  4. pull the necessary libraries and its dependencies. This will pull mbed-os, AWS_Iot_Client library and its internal 3rd party dependencies

     mbed deploy
    
  5. Configure the AWS parameters such as Thing name, certificates, private key etc. per the user's AWS account

  6. build the publisher app (.hex binary)

     mbed compile -t GCC_ARM -m CY8CPROTO_062_4343W  
    

The instructions for the other AWS code examples are similar.