Browse Source

no message

BJQX-ZHENGCHAO\Zhengchao 2 years ago
parent
commit
fe1eaa410e
2 changed files with 18 additions and 5 deletions
  1. 17 2
      config/Base.xdm
  2. 1 3
      config/Uart.xdm

+ 17 - 2
config/Base.xdm

@@ -33,7 +33,7 @@
                 <d:var name="OsIfDevErrorDetect" type="BOOLEAN" value="false">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
-                <d:var name="OsIfUseSystemTimer" type="BOOLEAN" value="false"/>
+                <d:var name="OsIfUseSystemTimer" type="BOOLEAN" value="true"/>
                 <d:var name="OsIfUseCustomTimer" type="BOOLEAN" value="false">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
@@ -47,7 +47,22 @@
                   <d:ctr name="OsIfBaremetalType" type="IDENTIFIABLE"/>
                 </d:chc>
                 <d:lst name="OsIfEcucPartitionRef"/>
-                <d:lst name="OsIfCounterConfig" type="MAP"/>
+                <d:lst name="OsIfCounterConfig" type="MAP">
+                  <d:ctr name="OsIfCounterConfig_0" type="IDENTIFIABLE">
+                    <d:ref name="OsIfCounterEcucPartitionRef" type="REFERENCE" 
+                           value="ASPath:/EcuC/EcuC/EcucPartitionCollection_0/EcucPartition_0">
+                      <a:a name="ENABLE" value="false"/>
+                    </d:ref>
+                    <d:ref name="OsIfSystemTimerClockRef" type="REFERENCE" 
+                           value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART0_CLK">
+                      <a:a name="ENABLE" value="true"/>
+                    </d:ref>
+                    <d:ref name="OsIfOsCounterRef" type="REFERENCE" 
+                           value="ASPath:/Os/Os/OsCounter_0">
+                      <a:a name="ENABLE" value="false"/>
+                    </d:ref>
+                  </d:ctr>
+                </d:lst>
               </d:ctr>
               <d:ctr name="CommonPublishedInformation" type="IDENTIFIABLE">
                 <d:var name="ArReleaseMajorVersion" type="INTEGER" value="4">

+ 1 - 3
config/Uart.xdm

@@ -39,9 +39,7 @@
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
                 <d:var name="UartTimeoutMethod" type="ENUMERATION" 
-                       value="OSIF_COUNTER_DUMMY">
-                  <a:a name="IMPORTER_INFO" value="@DEF"/>
-                </d:var>
+                       value="OSIF_COUNTER_SYSTEM"/>
                 <d:var name="UartTimeoutDuration" type="INTEGER" value="500000"/>
                 <d:var name="UartDmaEnable" type="BOOLEAN" value="true"/>
                 <d:var name="UartVersionInfoApi" type="BOOLEAN" value="true">