boards.io

musca

Inheritance

  1. musca
  2. base

Extended by (3)

Key facts

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

Deploy methods

musca

Boot methods

musca minimal cmsis-dap

Overridable variables (3)

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
action_timeout_power_off35
action_timeout_reset_device60
action_timeout_pdu_reboot60

Fixed settings (1)

VariableValue
kernel_start_message''
{# device_type: 'musca' #}

{% set action_timeout_power_off = action_timeout_power_off | default(35) %}
{% set action_timeout_reset_device = action_timeout_reset_device | default(60) %}
{% set action_timeout_pdu_reboot = action_timeout_pdu_reboot | default(60) %}
{% set kernel_start_message = '' %}

{% extends 'base.jinja2' %}

{% block body %}
{# ID_SERIAL_SHORT #}
board_id: '{{ board_id }}'
usb_vendor_id: '{{ usb_vendor_id | default('0d28') }}'
usb_product_id: '{{ usb_product_id | default('0204') }}'

actions:
  deploy:
    methods:
      musca:
        # ID_SERIAL value (not ID_SERIAL_SHORT)
        id_serial: '{{ id_serial }}'
{% if flasher_deploy_commands %}
      flasher:
        commands: {{ flasher_deploy_commands|yaml_quote }}
{% endif %}
  boot:
    connections:
      serial:
    methods:
      musca:
      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.