# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

TestBeds:
    # A test bed for esp32 where pw_rpc will find a CHIP device
    - Name: ESP32TestBed
      Controllers:
          PigweedDevice:
              - device_tty: /dev/ttyUSB1
                baud: 115200
                platform_module: esp32_firmware_utils
                platform_args:
                    - "application": "chip-pigweed-app.bin"
                      "parttool": None
                      "port": "/dev/ttyUSB0"
                      "baud": "921600"
                      "before": "default_reset"
                      "after": "hard_reset"
                      "flash_mode": "dio"
                      "flash_freq": "40m"
                      "flash_size": "2MB"
                      "compress": "y"
                      "bootloader": "bootloader/bootloader.bin"
                      "partition": "partitions.bin"
                      "partition_offset": "0x8000"
                      "application_offset": "0x10000"
