boards.io

b-u585i-iot02a

STM32 MCU Arm Cortex-M (MCU)

B-U585I-IOT02A Discovery kit

Inheritance

  1. b-u585i-iot02a
  2. base-stm-mcu
  3. base-flasher
  4. base

Key facts

Vendor
STMicroelectronics
Bootloader family
STM32 MCU
Architecture
Arm Cortex-M (MCU) (guessed from the name)
Connections
serial

Deploy methods

none

Boot methods

minimal cmsis-dap

Overridable variables (1)

Variables set with a default value in this template. They can be overridden from the device dictionary or, for some of them, from the job context.

VariableDefault
device_info[{'board_id': board_id}]
{# device_type: 'b-u585i-iot02a' #}
{% extends 'base-stm-mcu.jinja2' %}

{% set device_info = device_info|default([{'board_id': board_id}]) %}

{% block body %}
{# ID_SERIAL_SHORT #}
board_id: '{{ board_id }}'
usb_vendor_id: '{{ usb_vendor_id | default('0483') }}'
usb_product_id: '{{ usb_product_id | default('374e') }}'

actions:
  deploy:
    methods:
{% if flasher_deploy_commands %}
      flasher:
        commands: {{ flasher_deploy_commands|yaml_quote }}
{% endif %}
  boot:
    connections:
      serial:
    methods:
      minimal:
      cmsis-dap:
        parameters:
          usb_mass_device: '{{ usb_mass_device|default('/notset') }}'
          resets_after_flash: {{ resets_after_flash|default(True) }}
          {# Allow to set any cmsis-dap parameters in a device dict. #}
          {% filter indent(width=10) -%}
          {% block cmsis_dap_params %}{% endblock cmsis_dap_params %}
          {% endfilter %}
          {# Next empty line is mandatory (jinja matters). #}

{% endblock body -%}

Rendered with the default values (no device dictionary), using LAVA's own template environment.