board.chcfg 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- STM32L1xx board Template -->
  3. <board
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32l1xx_board.xsd">
  6. <configuration_settings>
  7. <templates_path>resources/gencfg/processors/boards/stm32l1xx/templates</templates_path>
  8. <output_path>..</output_path>
  9. <hal_version>5.0.x</hal_version>
  10. </configuration_settings>
  11. <board_name>ST STM32L-Discovery</board_name>
  12. <board_id>ST_STM32L_DISCOVERY</board_id>
  13. <board_functions></board_functions>
  14. <subtype>STM32L152xB</subtype>
  15. <clocks
  16. HSEFrequency="0"
  17. HSEBypass="true"
  18. LSEFrequency="32768"
  19. LSEBypass="false"
  20. />
  21. <ports>
  22. <GPIOA>
  23. <pin0
  24. ID="BUTTON"
  25. Type="PushPull"
  26. Speed="Minimum"
  27. Resistor="Floating"
  28. Level="High"
  29. Mode="Input"
  30. Alternate="0" />
  31. <pin1
  32. ID=""
  33. Type="PushPull"
  34. Speed="Minimum"
  35. Resistor="PullUp"
  36. Level="High"
  37. Mode="Input"
  38. Alternate="0" ></pin1>
  39. <pin2
  40. ID=""
  41. Type="PushPull"
  42. Speed="Minimum"
  43. Resistor="PullUp"
  44. Level="High"
  45. Mode="Input"
  46. Alternate="0" />
  47. <pin3
  48. ID=""
  49. Type="PushPull"
  50. Speed="Minimum"
  51. Resistor="PullUp"
  52. Level="High"
  53. Mode="Input"
  54. Alternate="0" />
  55. <pin4
  56. ID=""
  57. Type="PushPull"
  58. Speed="Minimum"
  59. Resistor="PullUp"
  60. Level="High"
  61. Mode="Input"
  62. Alternate="0" ></pin4>
  63. <pin5
  64. ID=""
  65. Type="PushPull"
  66. Speed="Minimum"
  67. Resistor="PullUp"
  68. Level="High"
  69. Mode="Input"
  70. Alternate="0" />
  71. <pin6
  72. ID=""
  73. Type="PushPull"
  74. Speed="Minimum"
  75. Resistor="PullUp"
  76. Level="High"
  77. Mode="Input"
  78. Alternate="0" />
  79. <pin7
  80. ID=""
  81. Type="PushPull"
  82. Speed="Minimum"
  83. Resistor="PullUp"
  84. Level="High"
  85. Mode="Input"
  86. Alternate="0" />
  87. <pin8
  88. ID=""
  89. Type="PushPull"
  90. Speed="Minimum"
  91. Resistor="PullUp"
  92. Level="High"
  93. Mode="Input"
  94. Alternate="0" />
  95. <pin9
  96. ID=""
  97. Type="PushPull"
  98. Speed="Minimum"
  99. Resistor="PullUp"
  100. Level="High"
  101. Mode="Input"
  102. Alternate="0" />
  103. <pin10
  104. ID=""
  105. Type="PushPull"
  106. Speed="Minimum"
  107. Resistor="PullUp"
  108. Level="High"
  109. Mode="Input"
  110. Alternate="0" />
  111. <pin11
  112. ID=""
  113. Type="PushPull"
  114. Speed="Minimum"
  115. Resistor="PullUp"
  116. Level="High"
  117. Mode="Input"
  118. Alternate="0" />
  119. <pin12
  120. ID=""
  121. Type="PushPull"
  122. Speed="Minimum"
  123. Resistor="PullUp"
  124. Level="High"
  125. Mode="Input"
  126. Alternate="0" />
  127. <pin13
  128. ID="JTAG_TMS"
  129. Type="PushPull"
  130. Speed="Maximum"
  131. Resistor="PullUp"
  132. Level="High"
  133. Mode="Alternate"
  134. Alternate="0" />
  135. <pin14
  136. ID="JTAG_TCK"
  137. Type="PushPull"
  138. Speed="Maximum"
  139. Resistor="PullDown"
  140. Level="High"
  141. Mode="Alternate"
  142. Alternate="0" />
  143. <pin15
  144. ID="JTAG_TDI"
  145. Type="PushPull"
  146. Speed="Maximum"
  147. Resistor="PullUp"
  148. Level="High"
  149. Mode="Alternate"
  150. Alternate="0" />
  151. </GPIOA>
  152. <GPIOB>
  153. <pin0
  154. ID=""
  155. Type="PushPull"
  156. Speed="Minimum"
  157. Resistor="PullUp"
  158. Level="High"
  159. Mode="Input"
  160. Alternate="0" />
  161. <pin1
  162. ID=""
  163. Type="PushPull"
  164. Speed="Minimum"
  165. Resistor="PullUp"
  166. Level="High"
  167. Mode="Input"
  168. Alternate="0" />
  169. <pin2
  170. ID="BOOT1"
  171. Type="PushPull"
  172. Speed="Maximum"
  173. Resistor="Floating"
  174. Level="High"
  175. Mode="Input"
  176. Alternate="0" />
  177. <pin3
  178. ID="JTAG_TDO"
  179. Type="PushPull"
  180. Speed="Maximum"
  181. Resistor="Floating"
  182. Level="High"
  183. Mode="Alternate"
  184. Alternate="0" />
  185. <pin4
  186. ID="JTAG_TRST"
  187. Type="PushPull"
  188. Speed="Maximum"
  189. Resistor="PullUp"
  190. Level="High"
  191. Mode="Alternate"
  192. Alternate="0" />
  193. <pin5
  194. ID=""
  195. Type="PushPull"
  196. Speed="Minimum"
  197. Resistor="PullUp"
  198. Level="High"
  199. Mode="Input"
  200. Alternate="0" />
  201. <pin6
  202. ID="LED4"
  203. Type="PushPull"
  204. Speed="Maximum"
  205. Resistor="Floating"
  206. Level="Low"
  207. Mode="Output"
  208. Alternate="0" />
  209. <pin7
  210. ID="LED3"
  211. Type="PushPull"
  212. Speed="Maximum"
  213. Resistor="Floating"
  214. Level="Low"
  215. Mode="Output"
  216. Alternate="0" />
  217. <pin8
  218. ID=""
  219. Type="PushPull"
  220. Speed="Minimum"
  221. Resistor="PullUp"
  222. Level="High"
  223. Mode="Input"
  224. Alternate="0" />
  225. <pin9
  226. ID=""
  227. Type="PushPull"
  228. Speed="Minimum"
  229. Resistor="PullUp"
  230. Level="High"
  231. Mode="Input"
  232. Alternate="0" />
  233. <pin10
  234. ID=""
  235. Type="PushPull"
  236. Speed="Minimum"
  237. Resistor="PullUp"
  238. Level="High"
  239. Mode="Input"
  240. Alternate="0" />
  241. <pin11
  242. ID=""
  243. Type="PushPull"
  244. Speed="Minimum"
  245. Resistor="PullUp"
  246. Level="High"
  247. Mode="Input"
  248. Alternate="0" />
  249. <pin12
  250. ID=""
  251. Type="PushPull"
  252. Speed="Minimum"
  253. Resistor="PullUp"
  254. Level="High"
  255. Mode="Input"
  256. Alternate="0" />
  257. <pin13
  258. ID=""
  259. Type="PushPull"
  260. Speed="Minimum"
  261. Resistor="PullUp"
  262. Level="High"
  263. Mode="Input"
  264. Alternate="0" />
  265. <pin14
  266. ID=""
  267. Type="PushPull"
  268. Speed="Minimum"
  269. Resistor="PullUp"
  270. Level="High"
  271. Mode="Input"
  272. Alternate="0" />
  273. <pin15
  274. ID=""
  275. Type="PushPull"
  276. Speed="Minimum"
  277. Resistor="PullUp"
  278. Level="High"
  279. Mode="Input"
  280. Alternate="0" />
  281. </GPIOB>
  282. <GPIOC>
  283. <pin0
  284. ID=""
  285. Type="PushPull"
  286. Speed="Minimum"
  287. Resistor="PullUp"
  288. Level="High"
  289. Mode="Input"
  290. Alternate="0" />
  291. <pin1
  292. ID=""
  293. Type="PushPull"
  294. Speed="Minimum"
  295. Resistor="PullUp"
  296. Level="High"
  297. Mode="Input"
  298. Alternate="0" />
  299. <pin2
  300. ID=""
  301. Type="PushPull"
  302. Speed="Minimum"
  303. Resistor="PullUp"
  304. Level="High"
  305. Mode="Input"
  306. Alternate="0" />
  307. <pin3
  308. ID=""
  309. Type="PushPull"
  310. Speed="Minimum"
  311. Resistor="PullUp"
  312. Level="High"
  313. Mode="Input"
  314. Alternate="0" />
  315. <pin4
  316. ID=""
  317. Type="PushPull"
  318. Speed="Minimum"
  319. Resistor="PullUp"
  320. Level="High"
  321. Mode="Input"
  322. Alternate="0" />
  323. <pin5
  324. ID=""
  325. Type="PushPull"
  326. Speed="Minimum"
  327. Resistor="PullUp"
  328. Level="High"
  329. Mode="Input"
  330. Alternate="0" />
  331. <pin6
  332. ID=""
  333. Type="PushPull"
  334. Speed="Minimum"
  335. Resistor="PullUp"
  336. Level="High"
  337. Mode="Input"
  338. Alternate="0" />
  339. <pin7
  340. ID=""
  341. Type="PushPull"
  342. Speed="Minimum"
  343. Resistor="PullUp"
  344. Level="High"
  345. Mode="Input"
  346. Alternate="0" />
  347. <pin8
  348. ID=""
  349. Type="PushPull"
  350. Speed="Minimum"
  351. Resistor="PullUp"
  352. Level="High"
  353. Mode="Input"
  354. Alternate="0" />
  355. <pin9
  356. ID=""
  357. Type="PushPull"
  358. Speed="Minimum"
  359. Resistor="PullUp"
  360. Level="High"
  361. Mode="Input"
  362. Alternate="0" />
  363. <pin10
  364. ID=""
  365. Type="PushPull"
  366. Speed="Minimum"
  367. Resistor="PullUp"
  368. Level="High"
  369. Mode="Input"
  370. Alternate="0" />
  371. <pin11
  372. ID=""
  373. Type="PushPull"
  374. Speed="Minimum"
  375. Resistor="PullUp"
  376. Level="High"
  377. Mode="Input"
  378. Alternate="0" />
  379. <pin12
  380. ID=""
  381. Type="PushPull"
  382. Speed="Minimum"
  383. Resistor="PullUp"
  384. Level="High"
  385. Mode="Input"
  386. Alternate="0" />
  387. <pin13
  388. ID=""
  389. Type="PushPull"
  390. Speed="Minimum"
  391. Resistor="PullUp"
  392. Level="High"
  393. Mode="Input"
  394. Alternate="0" />
  395. <pin14
  396. ID="OSC32_IN"
  397. Type="PushPull"
  398. Speed="Maximum"
  399. Resistor="Floating"
  400. Level="High"
  401. Mode="Input"
  402. Alternate="0" />
  403. <pin15
  404. ID="OSC32_OUT"
  405. Type="PushPull"
  406. Speed="Maximum"
  407. Resistor="Floating"
  408. Level="High"
  409. Mode="Input"
  410. Alternate="0" />
  411. </GPIOC>
  412. <GPIOD>
  413. <pin0
  414. ID=""
  415. Type="PushPull"
  416. Speed="Minimum"
  417. Resistor="PullUp"
  418. Level="High"
  419. Mode="Input"
  420. Alternate="0" />
  421. <pin1
  422. ID=""
  423. Type="PushPull"
  424. Speed="Minimum"
  425. Resistor="PullUp"
  426. Level="High"
  427. Mode="Input"
  428. Alternate="0" />
  429. <pin2
  430. ID=""
  431. Type="PushPull"
  432. Speed="Minimum"
  433. Resistor="PullUp"
  434. Level="High"
  435. Mode="Input"
  436. Alternate="0" />
  437. <pin3
  438. ID=""
  439. Type="PushPull"
  440. Speed="Minimum"
  441. Resistor="PullUp"
  442. Level="High"
  443. Mode="Input"
  444. Alternate="0" />
  445. <pin4
  446. ID=""
  447. Type="PushPull"
  448. Speed="Minimum"
  449. Resistor="PullUp"
  450. Level="High"
  451. Mode="Input"
  452. Alternate="0" />
  453. <pin5
  454. ID=""
  455. Type="PushPull"
  456. Speed="Minimum"
  457. Resistor="PullUp"
  458. Level="High"
  459. Mode="Input"
  460. Alternate="0" />
  461. <pin6
  462. ID=""
  463. Type="PushPull"
  464. Speed="Minimum"
  465. Resistor="PullUp"
  466. Level="High"
  467. Mode="Input"
  468. Alternate="0" />
  469. <pin7
  470. ID=""
  471. Type="PushPull"
  472. Speed="Minimum"
  473. Resistor="PullUp"
  474. Level="High"
  475. Mode="Input"
  476. Alternate="0" />
  477. <pin8
  478. ID=""
  479. Type="PushPull"
  480. Speed="Minimum"
  481. Resistor="PullUp"
  482. Level="High"
  483. Mode="Input"
  484. Alternate="0" />
  485. <pin9
  486. ID=""
  487. Type="PushPull"
  488. Speed="Minimum"
  489. Resistor="PullUp"
  490. Level="High"
  491. Mode="Input"
  492. Alternate="0" />
  493. <pin10
  494. ID=""
  495. Type="PushPull"
  496. Speed="Minimum"
  497. Resistor="PullUp"
  498. Level="High"
  499. Mode="Input"
  500. Alternate="0" />
  501. <pin11
  502. ID=""
  503. Type="PushPull"
  504. Speed="Minimum"
  505. Resistor="PullUp"
  506. Level="High"
  507. Mode="Input"
  508. Alternate="0" />
  509. <pin12
  510. ID=""
  511. Type="PushPull"
  512. Speed="Minimum"
  513. Resistor="PullUp"
  514. Level="High"
  515. Mode="Input"
  516. Alternate="0" />
  517. <pin13
  518. ID=""
  519. Type="PushPull"
  520. Speed="Minimum"
  521. Resistor="PullUp"
  522. Level="High"
  523. Mode="Input"
  524. Alternate="0" />
  525. <pin14
  526. ID=""
  527. Type="PushPull"
  528. Speed="Minimum"
  529. Resistor="PullUp"
  530. Level="High"
  531. Mode="Input"
  532. Alternate="0" />
  533. <pin15
  534. ID=""
  535. Type="PushPull"
  536. Speed="Minimum"
  537. Resistor="PullUp"
  538. Level="High"
  539. Mode="Input"
  540. Alternate="0" />
  541. </GPIOD>
  542. <GPIOE>
  543. <pin0
  544. ID=""
  545. Type="PushPull"
  546. Speed="Minimum"
  547. Resistor="PullUp"
  548. Level="High"
  549. Mode="Input"
  550. Alternate="0" />
  551. <pin1
  552. ID=""
  553. Type="PushPull"
  554. Speed="Minimum"
  555. Resistor="PullUp"
  556. Level="High"
  557. Mode="Input"
  558. Alternate="0" />
  559. <pin2
  560. ID=""
  561. Type="PushPull"
  562. Speed="Minimum"
  563. Resistor="PullUp"
  564. Level="High"
  565. Mode="Input"
  566. Alternate="0" />
  567. <pin3
  568. ID=""
  569. Type="PushPull"
  570. Speed="Minimum"
  571. Resistor="PullUp"
  572. Level="High"
  573. Mode="Input"
  574. Alternate="0" />
  575. <pin4
  576. ID=""
  577. Type="PushPull"
  578. Speed="Minimum"
  579. Resistor="PullUp"
  580. Level="High"
  581. Mode="Input"
  582. Alternate="0" />
  583. <pin5
  584. ID=""
  585. Type="PushPull"
  586. Speed="Minimum"
  587. Resistor="PullUp"
  588. Level="High"
  589. Mode="Input"
  590. Alternate="0" />
  591. <pin6
  592. ID=""
  593. Type="PushPull"
  594. Speed="Minimum"
  595. Resistor="PullUp"
  596. Level="High"
  597. Mode="Input"
  598. Alternate="0" />
  599. <pin7
  600. ID=""
  601. Type="PushPull"
  602. Speed="Minimum"
  603. Resistor="PullUp"
  604. Level="High"
  605. Mode="Input"
  606. Alternate="0" />
  607. <pin8
  608. ID=""
  609. Type="PushPull"
  610. Speed="Minimum"
  611. Resistor="PullUp"
  612. Level="High"
  613. Mode="Input"
  614. Alternate="0" />
  615. <pin9
  616. ID=""
  617. Type="PushPull"
  618. Speed="Minimum"
  619. Resistor="PullUp"
  620. Level="High"
  621. Mode="Input"
  622. Alternate="0" />
  623. <pin10
  624. ID=""
  625. Type="PushPull"
  626. Speed="Minimum"
  627. Resistor="PullUp"
  628. Level="High"
  629. Mode="Input"
  630. Alternate="0" />
  631. <pin11
  632. ID=""
  633. Type="PushPull"
  634. Speed="Minimum"
  635. Resistor="PullUp"
  636. Level="High"
  637. Mode="Input"
  638. Alternate="0" />
  639. <pin12
  640. ID=""
  641. Type="PushPull"
  642. Speed="Minimum"
  643. Resistor="PullUp"
  644. Level="High"
  645. Mode="Input"
  646. Alternate="0" />
  647. <pin13
  648. ID=""
  649. Type="PushPull"
  650. Speed="Minimum"
  651. Resistor="PullUp"
  652. Level="High"
  653. Mode="Input"
  654. Alternate="0" />
  655. <pin14
  656. ID=""
  657. Type="PushPull"
  658. Speed="Minimum"
  659. Resistor="PullUp"
  660. Level="High"
  661. Mode="Input"
  662. Alternate="0" />
  663. <pin15
  664. ID=""
  665. Type="PushPull"
  666. Speed="Minimum"
  667. Resistor="PullUp"
  668. Level="High"
  669. Mode="Input"
  670. Alternate="0" />
  671. </GPIOE>
  672. <GPIOH>
  673. <pin0
  674. ID="OSC_IN"
  675. Type="PushPull"
  676. Speed="Maximum"
  677. Resistor="Floating"
  678. Level="High"
  679. Mode="Input"
  680. Alternate="0"></pin0>
  681. <pin1
  682. ID="OSC_OUT"
  683. Type="PushPull"
  684. Speed="Maximum"
  685. Resistor="Floating"
  686. Level="High"
  687. Mode="Input"
  688. Alternate="0" />
  689. <pin2
  690. ID=""
  691. Type="PushPull"
  692. Speed="Minimum"
  693. Resistor="PullUp"
  694. Level="High"
  695. Mode="Input"
  696. Alternate="0" />
  697. <pin3
  698. ID=""
  699. Type="PushPull"
  700. Speed="Minimum"
  701. Resistor="PullUp"
  702. Level="High"
  703. Mode="Input"
  704. Alternate="0" />
  705. <pin4
  706. ID=""
  707. Type="PushPull"
  708. Speed="Minimum"
  709. Resistor="PullUp"
  710. Level="High"
  711. Mode="Input"
  712. Alternate="0" />
  713. <pin5
  714. ID=""
  715. Type="PushPull"
  716. Speed="Minimum"
  717. Resistor="PullUp"
  718. Level="High"
  719. Mode="Input"
  720. Alternate="0" />
  721. <pin6
  722. ID=""
  723. Type="PushPull"
  724. Speed="Minimum"
  725. Resistor="PullUp"
  726. Level="High"
  727. Mode="Input"
  728. Alternate="0" />
  729. <pin7
  730. ID=""
  731. Type="PushPull"
  732. Speed="Minimum"
  733. Resistor="PullUp"
  734. Level="High"
  735. Mode="Input"
  736. Alternate="0" />
  737. <pin8
  738. ID=""
  739. Type="PushPull"
  740. Speed="Minimum"
  741. Resistor="PullUp"
  742. Level="High"
  743. Mode="Input"
  744. Alternate="0" />
  745. <pin9
  746. ID=""
  747. Type="PushPull"
  748. Speed="Minimum"
  749. Resistor="PullUp"
  750. Level="High"
  751. Mode="Input"
  752. Alternate="0" />
  753. <pin10
  754. ID=""
  755. Type="PushPull"
  756. Speed="Minimum"
  757. Resistor="PullUp"
  758. Level="High"
  759. Mode="Input"
  760. Alternate="0" />
  761. <pin11
  762. ID=""
  763. Type="PushPull"
  764. Speed="Minimum"
  765. Resistor="PullUp"
  766. Level="High"
  767. Mode="Input"
  768. Alternate="0" />
  769. <pin12
  770. ID=""
  771. Type="PushPull"
  772. Speed="Minimum"
  773. Resistor="PullUp"
  774. Level="High"
  775. Mode="Input"
  776. Alternate="0" />
  777. <pin13
  778. ID=""
  779. Type="PushPull"
  780. Speed="Minimum"
  781. Resistor="PullUp"
  782. Level="High"
  783. Mode="Input"
  784. Alternate="0" />
  785. <pin14
  786. ID=""
  787. Type="PushPull"
  788. Speed="Minimum"
  789. Resistor="PullUp"
  790. Level="High"
  791. Mode="Input"
  792. Alternate="0" />
  793. <pin15
  794. ID=""
  795. Type="PushPull"
  796. Speed="Minimum"
  797. Resistor="PullUp"
  798. Level="High"
  799. Mode="Input"
  800. Alternate="0" />
  801. </GPIOH>
  802. </ports>
  803. </board>