base-nxp-mcu
base template
This template is not a device-type: it holds the settings shared by the 8 device-types that extend it, directly or not.
Inheritance
- base-nxp-mcu
- base
Inheritance tree
base-nxp-mcu 8 device-types
Device-types extending base-nxp-mcu (8)
| Device type | Vendor | Arch | Through |
|---|---|---|---|
| frdm-imxrt1186 | NXP | arm-m | directly |
| frdm-kw36zj | NXP | arm-m | directly |
| frdm-mcxe31b | NXP | arm-m | directly |
| frdm-mcxn947 | NXP | arm-m | directly |
| mimxrt1170-evk | NXP | arm-m | directly |
| mimxrt1180-evk | NXP | arm-m | directly |
| mimxrt700-evk | NXP | arm-m | directly |
| rw610bga | NXP | arm-m | directly |
{% extends 'base.jinja2' %}
{% set test_character_delay = test_character_delay|default(5) %}
{% set boot_character_delay = boot_character_delay|default(5) %}
{% block body %}
board_id: '{{ board_id|default('0000000000')}}'
usb_vendor_id: '{{ usb_vendor_id|default('0000')}}'
usb_product_id: '{{ usb_product_id|default('0000')}}'
usb_sleep: {{ usb_sleep|default(0) }}
actions:
deploy:
connections:
methods:
image:
parameters:
{% if flasher_deploy_commands %}
flasher:
commands: {{ flasher_deploy_commands|yaml_quote }}
{% endif %}
boot:
connections:
serial:
ssh:
methods:
minimal:
pyocd:
parameters:
command:
{{ pyocd_command|default("pyocd") }}
options:
- load
- -t {{ pyocd_target|default('cortex-m') }}
- -f {{ pyocd_frequency|default('3000000') }}
- -a {{ pyocd_address|default('0x0') }}
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). #}
jlink:
parameters:
command: JLinkExe
address: {{ load_address|default("0x00000000") }}
processor: {{ processor }}
supported_core_types: {{ supported_core_types }}
erase_command: {{ erase_command|default(["erase"]) }}
reset_command: {{ reset_command|default(["r"]) }}
options:
{% filter indent(width=10) -%}
{% block jlink_options %}{% endblock jlink_options %}
{% endfilter %}
{# Next empty line is mandatory (jinja matters). #}
test:
methods:
docker:
# Docker-shell additional command-line options. Can be given as
# a list here, or additional options can be taken from device
# dict vars below (which in turn can be not defined (== null),
# a string, or an inline list of strings).
global_options:
- {{ docker_shell_global_arguments }}
options:
- {{ docker_shell_extra_arguments }}
{% endblock body -%}