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