Skip to content

Seeed-Studio/SenseCAP-Watcher-Firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SenseCAP Watcher

Introduction

The project provides basic SDK for the SenseCAP Watcher, as well as the examples for getting started. It is based on the ESP-IDF.

Getting Started

Install ESP IDF

Follow instructions in this guide ESP-IDF - Get Started to setup the built toolchain used by SSCMA examples. Currently we're using the latest version v5.2.1.

Clone and Setup the Repository

  1. Clone our repository.

    git clone https://github.com/Seeed-Studio/SenseCAP-Watcher
  2. Go to SenseCAP-Watcher folder.

    cd SenseCAP-Watcher
  3. Fetch the submodules.

    git submodule update --init

Build and Run Examples

  1. Go to examples folder and list all available examples.

    cd examples && \
    ls
  2. Choose a <demo> and enter its folder.

    cd '<demo>'
  3. Generate build config using ESP-IDF.

    # set build target
    idf.py set-target esp32s3
  4. Build the demo firmware.

    idf.py build
  5. Flash the demo firmware to device and Run.

    To flash (the target serial port may vary depend on your operating system, please replace /dev/ttyACM0 with your device serial port).

    idf.py --port /dev/ttyACM0 flash
    

    Monitor the serial output.

    idf.py --port /dev/ttyACM0 monitor
    

Tip

  • Use Ctrl+] to exit monitor.

  • The previous two commands can be combined.

    idf.py --port /dev/ttyACM0 flash monitor

Contributing

  • If you find any issue in using these examples, or wish to submit an enhancement request, please use the raise a Issue or submit a Pull Request.

License

This project is released under the Apache 2.0 license.