PD Buddy Sink Firmware
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

board.chcfg 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--PD Buddy ChibiOS board configuration-->
  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>3.0.x</hal_version>
  10. </configuration_settings>
  11. <board_name>PD Buddy</board_name>
  12. <board_id>PD_BUDDY</board_id>
  13. <board_functions></board_functions>
  14. <subtype>STM32F072xB</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=""
  21. Type="PushPull"
  22. Speed="Minimum"
  23. Resistor="PullUp"
  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="USB_DM"
  109. Type="PushPull"
  110. Speed="Minimum"
  111. Resistor="Floating"
  112. Level="High"
  113. Mode="Input"
  114. Alternate="0" />
  115. <pin12
  116. ID="USB_DP"
  117. Type="PushPull"
  118. Speed="Minimum"
  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="LED"
  141. Type="PushPull"
  142. Speed="Maximum"
  143. Resistor="Floating"
  144. Level="Low"
  145. Mode="Output"
  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="BUTTON"
  175. Type="PushPull"
  176. Speed="Minimum"
  177. Resistor="Floating"
  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="OUT_CTRL"
  215. Type="PushPull"
  216. Speed="Minimum"
  217. Resistor="Floating"
  218. Level="Low"
  219. Mode="Output"
  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="SCL"
  231. Type="OpenDrain"
  232. Speed="Maximum"
  233. Resistor="Floating"
  234. Level="High"
  235. Mode="Alternate"
  236. Alternate="1" />
  237. <pin11
  238. ID="SDA"
  239. Type="OpenDrain"
  240. Speed="Maximum"
  241. Resistor="Floating"
  242. Level="High"
  243. Mode="Alternate"
  244. Alternate="1" />
  245. <pin12
  246. ID="INT_N"
  247. Type="PushPull"
  248. Speed="High"
  249. Resistor="Floating"
  250. Level="Low"
  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" ></pin13>
  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="Maximum"
  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=""
  345. Type="PushPull"
  346. Speed="Minimum"
  347. Resistor="PullUp"
  348. Level="High"
  349. Mode="Input"
  350. Alternate="0" ></pin8>
  351. <pin9
  352. ID=""
  353. Type="PushPull"
  354. Speed="Minimum"
  355. Resistor="PullUp"
  356. Level="High"
  357. Mode="Input"
  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=""
  393. Type="PushPull"
  394. Speed="Minimum"
  395. Resistor="PullUp"
  396. Level="High"
  397. Mode="Input"
  398. Alternate="0" />
  399. <pin15
  400. ID=""
  401. Type="PushPull"
  402. Speed="Minimum"
  403. Resistor="PullUp"
  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. <GPIOE>
  539. <pin0 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  540. Level="High" Mode="Input" Alternate="0" />
  541. <pin1 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  542. Level="High" Mode="Input" Alternate="0" />
  543. <pin2 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  544. Level="High" Mode="Input" Alternate="0" />
  545. <pin3 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  546. Level="High" Mode="Input" Alternate="0" />
  547. <pin4 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  548. Level="High" Mode="Input" Alternate="0" />
  549. <pin5 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  550. Level="High" Mode="Input" Alternate="0" />
  551. <pin6 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  552. Level="High" Mode="Input" Alternate="0" />
  553. <pin7 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  554. Level="High" Mode="Input" Alternate="0" />
  555. <pin8 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  556. Level="High" Mode="Input" Alternate="0" />
  557. <pin9 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  558. Level="High" Mode="Input" Alternate="0" />
  559. <pin10 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  560. Level="High" Mode="Input" Alternate="0" />
  561. <pin11 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  562. Level="High" Mode="Input" Alternate="0" />
  563. <pin12 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  564. Level="High" Mode="Input" Alternate="0" />
  565. <pin13 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  566. Level="High" Mode="Input" Alternate="0" />
  567. <pin14 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  568. Level="High" Mode="Input" Alternate="0" />
  569. <pin15 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
  570. Level="High" Mode="Input" Alternate="0" />
  571. </GPIOE>
  572. <GPIOF>
  573. <pin0
  574. ID=""
  575. Type="PushPull"
  576. Speed="Minimum"
  577. Resistor="PullUp"
  578. Level="High"
  579. Mode="Input"
  580. Alternate="0" />
  581. <pin1
  582. ID=""
  583. Type="PushPull"
  584. Speed="Minimum"
  585. Resistor="PullUp"
  586. Level="High"
  587. Mode="Input"
  588. Alternate="0" />
  589. <pin2
  590. ID=""
  591. Type="PushPull"
  592. Speed="Minimum"
  593. Resistor="PullUp"
  594. Level="High"
  595. Mode="Input"
  596. Alternate="0" />
  597. <pin3
  598. ID=""
  599. Type="PushPull"
  600. Speed="Minimum"
  601. Resistor="PullUp"
  602. Level="High"
  603. Mode="Input"
  604. Alternate="0" />
  605. <pin4
  606. ID=""
  607. Type="PushPull"
  608. Speed="Minimum"
  609. Resistor="PullUp"
  610. Level="High"
  611. Mode="Input"
  612. Alternate="0" />
  613. <pin5
  614. ID=""
  615. Type="PushPull"
  616. Speed="Minimum"
  617. Resistor="PullUp"
  618. Level="High"
  619. Mode="Input"
  620. Alternate="0" />
  621. <pin6
  622. ID=""
  623. Type="PushPull"
  624. Speed="Minimum"
  625. Resistor="PullUp"
  626. Level="High"
  627. Mode="Input"
  628. Alternate="0" />
  629. <pin7
  630. ID=""
  631. Type="PushPull"
  632. Speed="Minimum"
  633. Resistor="PullUp"
  634. Level="High"
  635. Mode="Input"
  636. Alternate="0" />
  637. <pin8
  638. ID=""
  639. Type="PushPull"
  640. Speed="Minimum"
  641. Resistor="PullUp"
  642. Level="High"
  643. Mode="Input"
  644. Alternate="0" />
  645. <pin9
  646. ID=""
  647. Type="PushPull"
  648. Speed="Minimum"
  649. Resistor="PullUp"
  650. Level="High"
  651. Mode="Input"
  652. Alternate="0" />
  653. <pin10
  654. ID=""
  655. Type="PushPull"
  656. Speed="Minimum"
  657. Resistor="PullUp"
  658. Level="High"
  659. Mode="Input"
  660. Alternate="0" />
  661. <pin11
  662. ID=""
  663. Type="PushPull"
  664. Speed="Minimum"
  665. Resistor="PullUp"
  666. Level="High"
  667. Mode="Input"
  668. Alternate="0" />
  669. <pin12
  670. ID=""
  671. Type="PushPull"
  672. Speed="Minimum"
  673. Resistor="PullUp"
  674. Level="High"
  675. Mode="Input"
  676. Alternate="0" />
  677. <pin13
  678. ID=""
  679. Type="PushPull"
  680. Speed="Minimum"
  681. Resistor="PullUp"
  682. Level="High"
  683. Mode="Input"
  684. Alternate="0" />
  685. <pin14
  686. ID=""
  687. Type="PushPull"
  688. Speed="Minimum"
  689. Resistor="PullUp"
  690. Level="High"
  691. Mode="Input"
  692. Alternate="0" />
  693. <pin15
  694. ID=""
  695. Type="PushPull"
  696. Speed="Minimum"
  697. Resistor="PullUp"
  698. Level="High"
  699. Mode="Input"
  700. Alternate="0" />
  701. </GPIOF>
  702. </ports>
  703. </board>