boards.io

nucleo-l476rg

NUCLEO-L476RG

Inheritance

  1. nucleo-l476rg
  2. base

Key facts

Vendor
STMicroelectronics
Bootloader family
MCU
Architecture
Arm Cortex-M (MCU) (guessed from the name)
USB vendor ID
0483
USB product ID
374b
Connections
serial, ssh

Deploy methods

image

Boot methods

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, 'usb_vendor_id': usb_vendor_id, 'usb_product_id': usb_product_id}]

Fixed settings (2)

VariableValue
usb_vendor_id'0483'
usb_product_id'374b'
{# device_type: nucleo-l476rg #}
{% extends 'base.jinja2' %}
{% set usb_vendor_id = '0483' %}
{% set usb_product_id = '374b' %}
{% block body %}
board_id: '{{ board_id|default('0000000000') }}'
usb_vendor_id: '{{ usb_vendor_id }}'
usb_product_id: '{{ usb_product_id }}'
usb_sleep: {{ usb_sleep|default(0) }}

actions:
  deploy:
    methods:
      image:
        parameters:

  boot:
    connections:
      serial:
      ssh:
    methods:
      cmsis-dap:
        parameters:
          usb_mass_device: '{{ usb_mass_device|default('/notset') }}'
          resets_after_flash: false
          {# 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 -%}

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

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