Просмотр исходного кода

Returned description of M380 Warning in PackChk.exe.
Minor clarification about inheritance of <description> attribute.

Vladimir Marchenko 5 лет назад
Родитель
Сommit
098cf8406f

+ 1 - 1
CMSIS/DoxyGen/Pack/src/devices_schema.txt

@@ -1174,7 +1174,7 @@ Multiple elements are allowed. The last occurrence in the hierarchy determines t
 
 \section element_description /package/devices/family/.../description
 
-Brief description of the element. Can occur on various levels. Should only contain the unique features of the device. Number
+Brief description of the element. Can occur on various levels and gets inherited from upper level if not defined in the element. Should only contain the unique features of the element. Number
 of bullet points should not exceed ten. To create a detailed feature list use the \ref element_feature instead.
 
 \b Example

+ 3 - 3
CMSIS/DoxyGen/Pack/src/pack_check.txt

@@ -477,11 +477,11 @@ The messages in this category are issued by PackChk during package validation. T
   <td>There are no examples found for the board \em 'BOARD'.
   <br>Provide examples. Refer to \ref element_example.</td>
 </tr>
-<!-- /* not used*/
 <tr><td>M380</td> <td>WARNING</td> <td>No description found for [\em 'VENDOR'] 'MCU'</td>
-  <td> </td>
+  <td>No description was found for the device \em 'MCU' from \em 'VENDOR'.
+  <br>Use \token{description} attribute to provide information about the device, its subfamily, or family. Refer to \ref element_description.
+  </td>
 </tr>
--->
 <tr><td>M381</td> <td>WARNING</td> <td>Vendor names are not equal: '[\em 'VENDOR'] \em 'MCU', MCU '[\em 'VENDOR2'] \em 'MCU2', see Line \em 'LINE'</td>
   <td>Vendor name specified in the \token{Dvendor} attribute for the \token{\<mountedDevice>} tag does not match the actual device vendor name.
   <br>Verify and correct vendor name. Refer to \ref element_board_mountedDevice.</td>