board.chcfg 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- STM32L0xx board Template -->
  3. <board
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32l0xx_board.xsd">
  6. <configuration_settings>
  7. <templates_path>resources/gencfg/processors/boards/stm32l0xx/templates</templates_path>
  8. <output_path>..</output_path>
  9. <hal_version>5.0.x</hal_version>
  10. </configuration_settings>
  11. <board_name>STMicroelectronics STM32 Nucleo64-L053R8</board_name>
  12. <board_id>ST_NUCLEO64_L053R8</board_id>
  13. <board_functions></board_functions>
  14. <subtype>STM32L053xx</subtype>
  15. <clocks HSEFrequency="8000000" HSEBypass="true" LSEFrequency="32768"
  16. LSEBypass="false" LSEDrive="3 High Drive (default)" />
  17. <ports>
  18. <GPIOA>
  19. <pin0
  20. ID="ARD_A0 ACD1_IN0"
  21. Type="PushPull"
  22. Level="High"
  23. Speed="Maximum"
  24. Resistor="PullUp"
  25. Mode="Input"
  26. Alternate="0" />
  27. <pin1
  28. ID="ARD_A1 ACD1_IN1"
  29. Type="PushPull"
  30. Level="High"
  31. Speed="Maximum"
  32. Resistor="PullUp"
  33. Mode="Input"
  34. Alternate="0" />
  35. <pin2
  36. ID="ARD_D1 USART2_TX"
  37. Type="PushPull"
  38. Level="High"
  39. Speed="High"
  40. Resistor="Floating"
  41. Mode="Alternate"
  42. Alternate="4" />
  43. <pin3
  44. ID="ARD_D0 USART2_RX"
  45. Type="PushPull"
  46. Level="High"
  47. Speed="High"
  48. Resistor="Floating"
  49. Mode="Alternate"
  50. Alternate="4"/>
  51. <pin4
  52. ID="ARD_A2 ACD1_IN4"
  53. Type="PushPull"
  54. Level="High"
  55. Speed="Maximum"
  56. Resistor="PullUp"
  57. Mode="Input"
  58. Alternate="0" />
  59. <pin5
  60. ID="LED_GREEN ARD_D13"
  61. Type="PushPull"
  62. Level="Low"
  63. Speed="Maximum"
  64. Resistor="Floating"
  65. Mode="Output"
  66. Alternate="0" />
  67. <pin6
  68. ID="ARD_D12"
  69. Type="PushPull"
  70. Level="High"
  71. Speed="Maximum"
  72. Resistor="PullUp"
  73. Mode="Input"
  74. Alternate="0" />
  75. <pin7
  76. ID="ARD_D11"
  77. Type="PushPull"
  78. Level="High"
  79. Speed="Maximum"
  80. Resistor="PullUp"
  81. Mode="Input"
  82. Alternate="0" />
  83. <pin8
  84. ID="ARD_D7"
  85. Type="PushPull"
  86. Level="High"
  87. Speed="Maximum"
  88. Resistor="PullUp"
  89. Mode="Input"
  90. Alternate="0" />
  91. <pin9
  92. ID="ARD_D8"
  93. Type="PushPull"
  94. Level="High"
  95. Speed="Maximum"
  96. Resistor="PullUp"
  97. Mode="Input"
  98. Alternate="0" />
  99. <pin10
  100. ID="ARD_D2"
  101. Type="PushPull"
  102. Level="High"
  103. Speed="Maximum"
  104. Resistor="PullUp"
  105. Mode="Input"
  106. Alternate="0" />
  107. <pin11
  108. ID=""
  109. Type="PushPull"
  110. Level="High"
  111. Speed="Maximum"
  112. Resistor="PullUp"
  113. Mode="Input"
  114. Alternate="0" />
  115. <pin12
  116. ID=""
  117. Type="PushPull"
  118. Level="High"
  119. Speed="Maximum"
  120. Resistor="PullUp"
  121. Mode="Input"
  122. Alternate="0" />
  123. <pin13
  124. ID="SWDIO"
  125. Type="PushPull"
  126. Level="High"
  127. Speed="Maximum"
  128. Resistor="PullUp"
  129. Mode="Alternate"
  130. Alternate="0" />
  131. <pin14
  132. ID="SWCLK"
  133. Type="PushPull"
  134. Level="High"
  135. Speed="Maximum"
  136. Resistor="PullDown"
  137. Mode="Alternate"
  138. Alternate="0" />
  139. <pin15
  140. ID=""
  141. Type="PushPull"
  142. Level="High"
  143. Speed="Maximum"
  144. Resistor="PullUp"
  145. Mode="Input"
  146. Alternate="0" />
  147. </GPIOA>
  148. <GPIOB>
  149. <pin0
  150. ID="ARD_A3 ACD1_IN8"
  151. Type="PushPull"
  152. Level="High"
  153. Speed="Maximum"
  154. Resistor="PullUp"
  155. Mode="Input"
  156. Alternate="0" />
  157. <pin1
  158. ID=""
  159. Type="PushPull"
  160. Level="High"
  161. Speed="Maximum"
  162. Resistor="PullUp"
  163. Mode="Input"
  164. Alternate="0" />
  165. <pin2
  166. ID=""
  167. Type="PushPull"
  168. Level="High"
  169. Speed="Maximum"
  170. Resistor="PullUp"
  171. Mode="Input"
  172. Alternate="0" />
  173. <pin3
  174. ID="SWO ARD_D3"
  175. Type="PushPull"
  176. Level="High"
  177. Speed="Maximum"
  178. Resistor="PullUp"
  179. Mode="Alternate"
  180. Alternate="0" />
  181. <pin4
  182. ID="ARD_D5"
  183. Type="PushPull"
  184. Level="High"
  185. Speed="Maximum"
  186. Resistor="PullUp"
  187. Mode="Input"
  188. Alternate="0" />
  189. <pin5
  190. ID="ARD_D4"
  191. Type="PushPull"
  192. Level="High"
  193. Speed="Maximum"
  194. Resistor="PullUp"
  195. Mode="Input"
  196. Alternate="0" />
  197. <pin6
  198. ID="ARD_D10"
  199. Type="PushPull"
  200. Level="High"
  201. Speed="Maximum"
  202. Resistor="PullUp"
  203. Mode="Input"
  204. Alternate="0" />
  205. <pin7
  206. ID=""
  207. Type="PushPull"
  208. Level="High"
  209. Speed="Maximum"
  210. Resistor="PullUp"
  211. Mode="Input"
  212. Alternate="0" />
  213. <pin8
  214. ID="ARD_D15"
  215. Type="PushPull"
  216. Level="High"
  217. Speed="Maximum"
  218. Resistor="PullUp"
  219. Mode="Input"
  220. Alternate="0" />
  221. <pin9
  222. ID="ARD_D14"
  223. Type="PushPull"
  224. Level="High"
  225. Speed="Maximum"
  226. Resistor="PullUp"
  227. Mode="Input"
  228. Alternate="0" />
  229. <pin10
  230. ID="ARD_D6"
  231. Type="PushPull"
  232. Level="High"
  233. Speed="Maximum"
  234. Resistor="PullUp"
  235. Mode="Input"
  236. Alternate="0" />
  237. <pin11
  238. ID=""
  239. Type="PushPull"
  240. Level="High"
  241. Speed="Maximum"
  242. Resistor="PullUp"
  243. Mode="Input"
  244. Alternate="0" />
  245. <pin12
  246. ID=""
  247. Type="PushPull"
  248. Level="High"
  249. Speed="Maximum"
  250. Resistor="PullUp"
  251. Mode="Input"
  252. Alternate="0" />
  253. <pin13
  254. ID=""
  255. Type="PushPull"
  256. Level="High"
  257. Speed="Maximum"
  258. Resistor="PullUp"
  259. Mode="Input"
  260. Alternate="0" />
  261. <pin14
  262. ID=""
  263. Type="PushPull"
  264. Level="High"
  265. Speed="Maximum"
  266. Resistor="PullUp"
  267. Mode="Input"
  268. Alternate="0" />
  269. <pin15
  270. ID=""
  271. Type="PushPull"
  272. Level="High"
  273. Speed="Maximum"
  274. Resistor="PullUp"
  275. Mode="Input"
  276. Alternate="0" />
  277. </GPIOB>
  278. <GPIOC>
  279. <pin0
  280. ID="ARD_A5 ACD1_IN10"
  281. Type="PushPull"
  282. Level="High"
  283. Speed="Maximum"
  284. Resistor="PullUp"
  285. Mode="Input"
  286. Alternate="0" />
  287. <pin1
  288. ID="ARD_A4 ACD1_IN11"
  289. Type="PushPull"
  290. Level="High"
  291. Speed="Maximum"
  292. Resistor="PullUp"
  293. Mode="Input"
  294. Alternate="0" />
  295. <pin2
  296. ID=""
  297. Type="PushPull"
  298. Level="High"
  299. Speed="Maximum"
  300. Resistor="PullUp"
  301. Mode="Input"
  302. Alternate="0" />
  303. <pin3
  304. ID=""
  305. Type="PushPull"
  306. Level="High"
  307. Speed="Maximum"
  308. Resistor="PullUp"
  309. Mode="Input"
  310. Alternate="0" />
  311. <pin4
  312. ID=""
  313. Type="PushPull"
  314. Level="High"
  315. Speed="Maximum"
  316. Resistor="PullUp"
  317. Mode="Input"
  318. Alternate="0" />
  319. <pin5
  320. ID=""
  321. Type="PushPull"
  322. Level="High"
  323. Speed="Maximum"
  324. Resistor="PullUp"
  325. Mode="Input"
  326. Alternate="0" />
  327. <pin6
  328. ID=""
  329. Type="PushPull"
  330. Level="High"
  331. Speed="Maximum"
  332. Resistor="PullUp"
  333. Mode="Input"
  334. Alternate="0" />
  335. <pin7
  336. ID="ARD_D9"
  337. Type="PushPull"
  338. Level="High"
  339. Speed="Maximum"
  340. Resistor="PullUp"
  341. Mode="Input"
  342. Alternate="0" />
  343. <pin8
  344. ID=""
  345. Type="PushPull"
  346. Level="High"
  347. Speed="Maximum"
  348. Resistor="PullUp"
  349. Mode="Input"
  350. Alternate="0" />
  351. <pin9
  352. ID=""
  353. Type="PushPull"
  354. Level="High"
  355. Speed="Maximum"
  356. Resistor="PullUp"
  357. Mode="Input"
  358. Alternate="0" />
  359. <pin10
  360. ID=""
  361. Type="PushPull"
  362. Level="High"
  363. Speed="Maximum"
  364. Resistor="PullUp"
  365. Mode="Input"
  366. Alternate="0" />
  367. <pin11
  368. ID=""
  369. Type="PushPull"
  370. Level="High"
  371. Speed="Maximum"
  372. Resistor="PullUp"
  373. Mode="Input"
  374. Alternate="0" />
  375. <pin12
  376. ID=""
  377. Type="PushPull"
  378. Level="High"
  379. Speed="Maximum"
  380. Resistor="PullUp"
  381. Mode="Input"
  382. Alternate="0" />
  383. <pin13
  384. ID="BUTTON"
  385. Type="PushPull"
  386. Level="High"
  387. Speed="Maximum"
  388. Resistor="Floating"
  389. Mode="Input"
  390. Alternate="0" />
  391. <pin14
  392. ID="OSC32_IN"
  393. Type="PushPull"
  394. Level="High"
  395. Speed="Maximum"
  396. Resistor="Floating"
  397. Mode="Input"
  398. Alternate="0" />
  399. <pin15
  400. ID="OSC32_OUT"
  401. Type="PushPull"
  402. Level="High"
  403. Speed="Maximum"
  404. Resistor="Floating"
  405. Mode="Input"
  406. Alternate="0" />
  407. </GPIOC>
  408. <GPIOD>
  409. <pin0
  410. ID=""
  411. Type="PushPull"
  412. Speed="Maximum"
  413. Resistor="PullUp"
  414. Level="High"
  415. Mode="Input"
  416. Alternate="0" />
  417. <pin1
  418. ID=""
  419. Type="PushPull"
  420. Speed="Maximum"
  421. Resistor="PullUp"
  422. Level="High"
  423. Mode="Input"
  424. Alternate="0" />
  425. <pin2
  426. ID=""
  427. Type="PushPull"
  428. Speed="Maximum"
  429. Resistor="PullUp"
  430. Level="High"
  431. Mode="Input"
  432. Alternate="0" />
  433. <pin3
  434. ID=""
  435. Type="PushPull"
  436. Speed="Maximum"
  437. Resistor="PullUp"
  438. Level="High"
  439. Mode="Input"
  440. Alternate="0" />
  441. <pin4
  442. ID=""
  443. Type="PushPull"
  444. Speed="Maximum"
  445. Resistor="PullUp"
  446. Level="High"
  447. Mode="Input"
  448. Alternate="0" />
  449. <pin5
  450. ID=""
  451. Type="PushPull"
  452. Speed="Maximum"
  453. Resistor="PullUp"
  454. Level="High"
  455. Mode="Input"
  456. Alternate="0" />
  457. <pin6
  458. ID=""
  459. Type="PushPull"
  460. Speed="Maximum"
  461. Resistor="PullUp"
  462. Level="High"
  463. Mode="Input"
  464. Alternate="0" />
  465. <pin7
  466. ID=""
  467. Type="PushPull"
  468. Speed="Maximum"
  469. Resistor="PullUp"
  470. Level="High"
  471. Mode="Input"
  472. Alternate="0" />
  473. <pin8
  474. ID=""
  475. Type="PushPull"
  476. Speed="Maximum"
  477. Resistor="PullUp"
  478. Level="High"
  479. Mode="Input"
  480. Alternate="0" />
  481. <pin9
  482. ID=""
  483. Type="PushPull"
  484. Speed="Maximum"
  485. Resistor="PullUp"
  486. Level="High"
  487. Mode="Input"
  488. Alternate="0" />
  489. <pin10
  490. ID=""
  491. Type="PushPull"
  492. Speed="Maximum"
  493. Resistor="PullUp"
  494. Level="High"
  495. Mode="Input"
  496. Alternate="0" />
  497. <pin11
  498. ID=""
  499. Type="PushPull"
  500. Speed="Maximum"
  501. Resistor="PullUp"
  502. Level="High"
  503. Mode="Input"
  504. Alternate="0" />
  505. <pin12
  506. ID=""
  507. Type="PushPull"
  508. Speed="Maximum"
  509. Resistor="PullUp"
  510. Level="High"
  511. Mode="Input"
  512. Alternate="0" />
  513. <pin13
  514. ID=""
  515. Type="PushPull"
  516. Speed="Maximum"
  517. Resistor="PullUp"
  518. Level="High"
  519. Mode="Input"
  520. Alternate="0" />
  521. <pin14
  522. ID=""
  523. Type="PushPull"
  524. Speed="Maximum"
  525. Resistor="PullUp"
  526. Level="High"
  527. Mode="Input"
  528. Alternate="0" />
  529. <pin15
  530. ID=""
  531. Type="PushPull"
  532. Speed="Maximum"
  533. Resistor="PullUp"
  534. Level="High"
  535. Mode="Input"
  536. Alternate="0" />
  537. </GPIOD>
  538. <GPIOH>
  539. <pin0
  540. ID="OSC_IN"
  541. Type="PushPull"
  542. Speed="Maximum"
  543. Resistor="Floating"
  544. Level="High"
  545. Mode="Input"
  546. Alternate="0" />
  547. <pin1
  548. ID="OSC_OUT"
  549. Type="PushPull"
  550. Speed="Maximum"
  551. Resistor="Floating"
  552. Level="High"
  553. Mode="Input"
  554. Alternate="0" />
  555. <pin2
  556. ID=""
  557. Type="PushPull"
  558. Speed="Maximum"
  559. Resistor="PullUp"
  560. Level="High"
  561. Mode="Input"
  562. Alternate="0" />
  563. <pin3
  564. ID=""
  565. Type="PushPull"
  566. Speed="Maximum"
  567. Resistor="PullUp"
  568. Level="High"
  569. Mode="Input"
  570. Alternate="0" />
  571. <pin4
  572. ID=""
  573. Type="PushPull"
  574. Speed="Maximum"
  575. Resistor="PullUp"
  576. Level="High"
  577. Mode="Input"
  578. Alternate="0" />
  579. <pin5
  580. ID=""
  581. Type="PushPull"
  582. Speed="Maximum"
  583. Resistor="PullUp"
  584. Level="High"
  585. Mode="Input"
  586. Alternate="0" />
  587. <pin6
  588. ID=""
  589. Type="PushPull"
  590. Speed="Maximum"
  591. Resistor="PullUp"
  592. Level="High"
  593. Mode="Input"
  594. Alternate="0" />
  595. <pin7
  596. ID=""
  597. Type="PushPull"
  598. Speed="Maximum"
  599. Resistor="PullUp"
  600. Level="High"
  601. Mode="Input"
  602. Alternate="0" />
  603. <pin8
  604. ID=""
  605. Type="PushPull"
  606. Speed="Maximum"
  607. Resistor="PullUp"
  608. Level="High"
  609. Mode="Input"
  610. Alternate="0" />
  611. <pin9
  612. ID=""
  613. Type="PushPull"
  614. Speed="Maximum"
  615. Resistor="PullUp"
  616. Level="High"
  617. Mode="Input"
  618. Alternate="0" />
  619. <pin10
  620. ID=""
  621. Type="PushPull"
  622. Speed="Maximum"
  623. Resistor="PullUp"
  624. Level="High"
  625. Mode="Input"
  626. Alternate="0" />
  627. <pin11
  628. ID=""
  629. Type="PushPull"
  630. Speed="Maximum"
  631. Resistor="PullUp"
  632. Level="High"
  633. Mode="Input"
  634. Alternate="0" />
  635. <pin12
  636. ID=""
  637. Type="PushPull"
  638. Speed="Maximum"
  639. Resistor="PullUp"
  640. Level="High"
  641. Mode="Input"
  642. Alternate="0" />
  643. <pin13
  644. ID=""
  645. Type="PushPull"
  646. Speed="Maximum"
  647. Resistor="PullUp"
  648. Level="High"
  649. Mode="Input"
  650. Alternate="0" />
  651. <pin14
  652. ID=""
  653. Type="PushPull"
  654. Speed="Maximum"
  655. Resistor="PullUp"
  656. Level="High"
  657. Mode="Input"
  658. Alternate="0" />
  659. <pin15
  660. ID=""
  661. Type="PushPull"
  662. Speed="Maximum"
  663. Resistor="PullUp"
  664. Level="High"
  665. Mode="Input"
  666. Alternate="0" />
  667. </GPIOH>
  668. </ports>
  669. </board>