Template:OS Overview HowTo Column MX8M: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 8: Line 8:
{{#vardefine:HARDWARE_NAME|{{#var:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}}}
{{#vardefine:HARDWARE_NAME|{{#var:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}}}
{{#vardefine:MACHINE_NAME|{{#var:MACHINE_NAME|imx8mn-var-som}}}}
{{#vardefine:MACHINE_NAME|{{#var:MACHINE_NAME|imx8mn-var-som}}}}
{{#vardefine:SOC_FAMILY|{{#var:SOC_FAMILY|imx8m}}}}


Initialize variables to simplify logic in How-to list
Initialize variables to simplify logic in How-to list
Line 16: Line 17:
-->{{#vardefine:IS_MINI_OR_NANO|{{#ifexpr: {{#rpos: {{#var:MACHINE_NAME}} | imx8mn-var-som}} >= 0 or {{#rpos: {{#var:MACHINE_NAME}} | imx8mm-var-dart}} >= 0 | 1 | 0}}}}    <!-- create boolean if mini or nano for som rev url
-->{{#vardefine:IS_MINI_OR_NANO|{{#ifexpr: {{#rpos: {{#var:MACHINE_NAME}} | imx8mn-var-som}} >= 0 or {{#rpos: {{#var:MACHINE_NAME}} | imx8mm-var-dart}} >= 0 | 1 | 0}}}}    <!-- create boolean if mini or nano for som rev url
-->{{#vardefine:YOCTO_SUPPORT_OV5640|{{#ifexpr: {{#rpos: {{#var:MACHINE_NAME}} | imx93-var-som}} >= 0 | no | yes}}}}    <!-- imx93 does not support YOCTO_SUPPORT_OV5640
-->{{#vardefine:YOCTO_SUPPORT_OV5640|{{#ifexpr: {{#rpos: {{#var:MACHINE_NAME}} | imx93-var-som}} >= 0 | no | yes}}}}    <!-- imx93 does not support YOCTO_SUPPORT_OV5640
-->{{#vardefine:GUIDE_PREFIX|{{#switch:SOC_FAMILY
-->{{#vardefine:GUIDE_PREFIX|{{#switch:{{#var:SOC_FAMILY}}
         |imx9=IMX9
         |imx9=MX9
         |#default=DART-MX8M
         |#default=DART-MX8M
         }}
         }}
Line 29: Line 30:
IS MINI OR NANO: {{#var:IS_MINI_OR_NANO}}<br>
IS MINI OR NANO: {{#var:IS_MINI_OR_NANO}}<br>
DISPLAY_NAME: {{#var:DISPLAY_NAME}}<br>
DISPLAY_NAME: {{#var:DISPLAY_NAME}}<br>
SOC_FAMILY: {{#var:SOC_FAMILY}}<br>
GUIDE_PREFIX: {{#var:GUIDE_PREFIX}}<br>
GUIDE_PREFIX: {{#var:GUIDE_PREFIX}}<br>
-->{{SoftBox
-->{{SoftBox

Revision as of 17:38, 20 January 2023