RealThread_SAMD21A.yaml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. ---
  2. vendor: Microchip
  3. dvendor: Microchip
  4. name: ATSAMD21
  5. version: 0.1.1
  6. yaml_version: 1
  7. type: Chip_Support_Packages
  8. family_name: ATSAMD21
  9. series:
  10. description: |-
  11. Microchip' SAMD21 series of mainstream MCUs covers the needs of a large variety of applications in the industrial, medical and consumer markets. High performance with first-class peripherals and low-power, low-voltage operation is paired with a high level of integration at accessible prices with a simple architecture and easy-to-use tools.
  12. Typical applications include motor drives and application control, medical and handheld equipment, industrial applications, PLCs, inverters, printers, and scanners, alarm systems, video intercom, HVAC and home audio equipment.
  13. - 5 V-tolerant I/Os
  14. - Timer with quadrature (incremental) encoder input
  15. - 96-bit unique ID
  16. series_name: ATSAMD21
  17. peripheral: {}
  18. sub_series:
  19. - sub_series_name: ATSAMD21A
  20. chips:
  21. - chip_name: ATSAMD21E17A
  22. peripheral: {}
  23. memory:
  24. - id: IROM1
  25. start: '0x00000000'
  26. size: '0x00020000'
  27. default: '1'
  28. - id: IRAM1
  29. start: '0x20000000'
  30. size: '0x00004000'
  31. init: '0'
  32. default: '1'
  33. cpu_info:
  34. max_clock: '48000000'
  35. svd:
  36. file: debug\svd\ATSAMD21E17A.svd
  37. compiler:
  38. gcc:
  39. entry_point: entry
  40. link_script: linkscripts\samd21e17a_flash.ld
  41. marco:
  42. - __SAMD21E17A__
  43. files:
  44. - libraries\include\sam.h
  45. - libraries\include\samd21e17a.h
  46. - libraries\include\pio\samd21e17a.h
  47. - libraries\include\component
  48. - libraries\include\instance
  49. - libraries\gcc\gcc\startup_samd21e17a.c
  50. - libraries\gcc\system_samd21e17a.c
  51. armcc:
  52. entry_point: none
  53. link_script: none
  54. marco: []
  55. files: []
  56. iarcc:
  57. entry_point: none
  58. link_script: none
  59. marco: []
  60. files: []
  61. - chip_name: ATSAMD21E18A
  62. peripheral: {}
  63. memory:
  64. - id: IROM1
  65. start: '0x00000000'
  66. size: '0x00040000'
  67. default: '1'
  68. - id: IRAM1
  69. start: '0x20000000'
  70. size: '0x00008000'
  71. init: '0'
  72. default: '1'
  73. cpu_info:
  74. max_clock: '48000000'
  75. svd:
  76. file: debug\svd\ATSAMD21E18A.svd
  77. compiler:
  78. gcc:
  79. entry_point: entry
  80. link_script: linkscripts\samd21e18a_flash.ld
  81. marco:
  82. - __SAMD21E18A__
  83. files:
  84. - libraries\include\sam.h
  85. - libraries\include\samd21e18a.h
  86. - libraries\include\pio\samd21e18a.h
  87. - libraries\include\component
  88. - libraries\include\instance
  89. - libraries\gcc\gcc\startup_samd21e18a.c
  90. - libraries\gcc\system_samd21e18a.c
  91. armcc:
  92. entry_point: none
  93. link_script: none
  94. marco: []
  95. files: []
  96. iarcc:
  97. entry_point: none
  98. link_script: none
  99. marco: []
  100. files: []
  101. - chip_name: ATSAMD21J18A
  102. peripheral: {}
  103. memory:
  104. - id: IROM1
  105. start: '0x00000000'
  106. size: '0x00040000'
  107. default: '1'
  108. - id: IRAM1
  109. start: '0x20000000'
  110. size: '0x00008000'
  111. init: '0'
  112. default: '1'
  113. cpu_info:
  114. max_clock: '48000000'
  115. svd:
  116. file: debug\svd\ATSAMD21J18A.svd
  117. compiler:
  118. gcc:
  119. entry_point: entry
  120. link_script: linkscripts\samd21j18a_flash.ld
  121. marco:
  122. - __SAMD21J18A__
  123. files:
  124. - libraries\include\sam.h
  125. - libraries\include\samd21j18a.h
  126. - libraries\include\pio\samd21j18a.h
  127. - libraries\include\component
  128. - libraries\include\instance
  129. - libraries\gcc\gcc\startup_samd21j18a.c
  130. - libraries\gcc\system_samd21j18a.c
  131. armcc:
  132. entry_point: none
  133. link_script: none
  134. marco: []
  135. files: []
  136. iarcc:
  137. entry_point: none
  138. link_script: none
  139. marco: []
  140. files: []
  141. docs:
  142. - file: Documents\SAM_D21_DA1_Family_DataSheet_DS40001882F.pdf
  143. title: SAMD21 Family Datasheet
  144. project_type:
  145. bare_metal:
  146. function_map:
  147. clk_init: none
  148. uart_init: none
  149. putc: none
  150. sysTick: none
  151. marco:
  152. - SOC_FAMILY_SAMD21
  153. - SOC_SERIES_SAMD21
  154. source_files:
  155. - drivers\baremetal
  156. rtt_nano:
  157. function_map:
  158. clk_init: none
  159. uart_init: none
  160. putc: none
  161. getc: none
  162. sysTick: none
  163. heap_init: none
  164. marco:
  165. - SOC_FAMILY_SAMD21
  166. - SOC_SERIES_SAMD21
  167. source_files:
  168. - drivers\nano
  169. rtt:
  170. function_map:
  171. rt_hw_board_init;: none
  172. rt_hw_serial_register: none
  173. rt_hw_pin_register: none
  174. heap_init: none
  175. marco:
  176. - SOC_FAMILY_SAMD21
  177. - SOC_SERIES_SAMD21
  178. source_files:
  179. - drivers\rtt
  180. source_files:
  181. file:
  182. - libraries\CMSIS\Include
  183. - libraries\include\system_samd21.h
  184. cpu_info:
  185. core: cortex-m0plus
  186. fpu: '0'
  187. mpu: '0'
  188. endian: Little-endian
  189. ui:
  190. uart:
  191. default_value: UART3
  192. prompt_message_en: select one uart as console output interface
  193. prompt_message_zh: 选择一个串口作为控制台信息输出接口
  194. tx_pin:
  195. default_value: PA22
  196. prompt_message_en: 'set the tx pin name of the console device interface, the
  197. value should be with a format"P+[port name][pin number]",eg. PA9,PB6 '
  198. prompt_message_zh: 设置控制台设备的数据发送引脚的名称, 名称应该具有以下格式“P+[端口名称][端口编号]”, 比如:PA9, PB6
  199. rx_pin:
  200. default_value: PA23
  201. prompt_message_en: 'set the rx pin name of the console device interface, the
  202. value should be with a format"P+[port name][pin number]", eg. PA10, PB7 '
  203. prompt_message_zh: 设置控制台设备的数据发送引脚的名称,名称应该具有以下格式“P+[端口名称][端口编号]”, 比如:PA9, PB6