11- Feature Name: Embedded Discovery Book Triage
22- Start Date: 2024-05-21
3- - RFC PR: (leave this empty)
3+ - RFC PR: # 759
44- Rust Issue: (leave this empty)
55
66# Summary
@@ -13,24 +13,35 @@ Embedded Discovery Book becomes the current active working version.
1313[ motivation ] : #motivation
1414
1515Right now there are two "official" versions of the Embedded
16- Discovery Book (EDB). The older and slightly more complete
17- version is the original STM32 Embedded Discovery Book
18- (EDB-STM) for the STM 32F303VC Discovery Board. The newer
19- version is the BBC micro: bit Embedded Discovery Book
20- (EDB-MB), which covers both the micro: bit v1 (MB1) and the
21- micro: bit v2 (MB2).
16+ Discovery Book (EDB) in a single repo. The older and
17+ slightly more complete version is the original STM32
18+ Embedded Discovery Book
19+ ([ EDB-STM] ( https://docs.rust-embedded.org/discovery/f3discovery/ ) )
20+ for the [ STM 32F303VC Discovery
21+ Board] ( https://www.st.com/en/evaluation-tools/stm32f3discovery.html ) . The
22+ newer version is the BBC micro: bit Embedded Discovery Book
23+ ([ EDB-MB] ( https://docs.rust-embedded.org/discovery/microbit/ ) ),
24+ which covers both the micro: bit v1.5
25+ ([ MB1] ( https://tech.microbit.org/hardware/1-5-revision/ ) )
26+ and the micro: bit v2.2X
27+ ([ MB2] ( https://tech.microbit.org/hardware/ ) ). (There are
28+ also v1.00 and v2.00 Microbit boards, but the differences in
29+ minor revisions are pretty negligible; EDB-MB ignores them.)
2230
2331EDB-STM is not well-maintained. The underlying hardware was
2432not easily available during the pandemic. Further, there are
25- reports that the IMU used in current versions of the STM
26- 32F303VC Discovery Board has been upgraded, meaning work
27- would be needed to distinguish the old and new boards and
28- update EDB-STM for the new board. What would happen
29- to the docs for the old board is questionable.
33+ [ reports] ( https://github.com/rubberduck203/stm32f3-discovery/issues/42 )
34+ that the IMU used in current versions of the STM 32F303VC
35+ Discovery Board has been upgraded, meaning work would be
36+ needed to distinguish the old and new boards and update
37+ EDB-STM for the new board. What would happen to the docs for
38+ the old board is questionable.
3039
3140Having both MB1 and MB2 in EDB-MB is confusing. Futher, MB1
3241is no longer readily available, and there appear to be very
33- few of them in the wild.
42+ few of them in the wild. There are no known advantages to
43+ working with an MB1 over an MB2, and both boards are very
44+ cheap.
3445
3546Finally, the EDB-MB also needs both some maintenance and an
3647ongoing maintenance plan and infrastructure.
@@ -46,34 +57,40 @@ plan.
4657
47581 . Deprecate EDB-STM.
4859
49- * Close all open issues with either fixes or WONTFIX tags
60+ * Close all open EDB-STM issues with either fixes or WONTFIX tags
5061 and an explanation.
5162
52- * Close all open PRs by either accepting or rejecting
53- them with an explanation.
63+ * Close all open EDB-STM PRs by either accepting or
64+ rejecting them with an explanation.
5465
55- * Clearly mark the repository as deprecated in the
56- README; clearly mark the Book as deprecated on the
66+ 2 . Do a minimum-effort split of the EDB repo into three book
67+ repos: EDB-STM, EDB-MB1 and EDB-MB2.
68+
69+ * Fork the EDB repo to create a separate EDB-STM repo. In
70+ this repo, remove the MB book and examples.
71+
72+ * Clearly mark EDB-STM as deprecated in the
73+ README; clearly mark EDB-STM as deprecated on the
5774 first page; post a single open issue explaining the
5875 deprecation. Provide clear instructions on where to go
5976 for current information.
6077
61- 2 . Do a minimum-effort split of EDB-MB into two books: one
62- for MB1 and one for MB2.
63-
64- * Fork the EDB-MB repo to create a separate MB1 repo. In
65- this repo, remove all MB2 material and patch all
66- example code to be MB1-specific.
78+ * Fork the EDB repo to create a separate EDB-MB1 repo. In
79+ this repo, remove the STM book and examples; remove all
80+ MB2 material and patch all example code to be
81+ MB1-specific.
6782
6883 * Go through the same steps with the new EDB-MB1 repo
69- that were gone through with STM. Note that there will
70- be no initial open issues or PRs in the EDB-MB1 repo
71- because of the fork: this is as desired.
84+ that were gone through with EDB-STM.
7285
73- * The EDB-MB repo now becomes the EDB-MB2 repo. Remove
74- all MB1 material and patch all example code to be
75- MB2-specific. Try to close as many issues and PRs as
76- are easily feasible.
86+ * The EDB repo now becomes the EDB-MB2 repo. Remove the
87+ STM book and examples. Remove all MB1 material and
88+ patch all example code to be MB2-specific. Try to close
89+ as many issues and PRs as are easily feasible.
90+
91+ * Note that after the split the new EDB-STM and EDB-MB1
92+ repos will not have issues or PRs available. This is as
93+ it should be.
7794
78953 . Do as direct a port as possible of EDB-STM content
7996 "missing" from EDB-MB2. EDB-MB2 should cover all major
0 commit comments