board.chcfg 14 KB

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