1<?xml version="1.0" encoding="utf-8"?>
2
3
4<!--****************************************************************************
5* \file csd_intrinsic-1.0.cypersonality
6* \version 1.0
7*
8* \brief
9* Intrinsic CSD personality description file.
10*
11********************************************************************************
12* \copyright
13* Copyright 2018-2022 Cypress Semiconductor Corporation
14* SPDX-License-Identifier: Apache-2.0
15*
16* Licensed under the Apache License, Version 2.0 (the "License");
17* you may not use this file except in compliance with the License.
18* You may obtain a copy of the License at
19*
20*     http://www.apache.org/licenses/LICENSE-2.0
21*
22* Unless required by applicable law or agreed to in writing, software
23* distributed under the License is distributed on an "AS IS" BASIS,
24* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25* See the License for the specific language governing permissions and
26* limitations under the License.
27*****************************************************************************-->
28
29<Personality id="mxs40csd_intrinsic" name="CSD Intrinsic" intrinsic="true" version="1.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7">
30  <Dependencies>
31    <IpBlock name="mxcsdv2" />
32    <Resource name="csd\.csd" />
33  </Dependencies>
34  <ExposedMembers/>
35  <Parameters>
36    <ParamString id="cfgFileName" name="cfgFileName" group="External Tools" default="design.cycapsense" visible="false" editable="false" desc="" />
37    <ParamString id="cfgFilePath" name="cfgFilePath" group="External Tools" default="`${cy_design_path() . &quot;/&quot; . cfgFileName}`" visible="false" editable="false" desc="" />
38    <ParamBool id="csdUsed" name="csdUsed" group="Internal" default="`${isBlockUsed(&quot;csd[0].csd[0]&quot;)}`" visible="false" editable="false" desc="" />
39  </Parameters>
40  <DRCs />
41  <ConfigFirmware>
42    <ConfigTool value="`${cy_tools_path(&quot;capsense-configurator&quot;) . &quot;/capsense-configurator-cli&quot;}`" include="`${csdUsed ? !getExposedMember(&quot;csd[0].csd[0]&quot;, &quot;CapSenseEnable&quot;) : true}`">
43      <Arg value="`${&quot;--config=&quot; . cfgFilePath}`" />
44      <Arg value="`${&quot;--clean&quot;}`" />
45    </ConfigTool>
46  </ConfigFirmware>
47</Personality>
48