Skip to content

Commit afe7ca1

Browse files
bors[bot]japaric
andcommitted
Merge #203
203: add logs and minutes for last meeting r=therealprof a=japaric r? @rust-embedded/all (anyone) Co-authored-by: Jorge Aparicio <[email protected]>
2 parents 04531b6 + e62cc8f commit afe7ca1

File tree

2 files changed

+404
-0
lines changed

2 files changed

+404
-0
lines changed

minutes/2018-09-04.irc.log

+232
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
2018-09-04 20:02:26 ~japaric ok, let's start this meeting!
2+
2018-09-04 20:02:32 ~japaric first two reminders
3+
2018-09-04 20:02:42 ~japaric 1) vote on [RFC] initial Cortex-R team -- https://github.com/rust-embedded/wg/pull/199
4+
2018-09-04 20:02:50 ~japaric if you haven't already
5+
2018-09-04 20:03:03 ~japaric 2) review infrastructure changes (if you are familiar with ops stuff) -- https://github.com/rust-embedded/wg/issues/156#issuecomment-418196668
6+
2018-09-04 20:03:20 -- Mode #rust-embedded [+o ithinuel] by ChanServ
7+
2018-09-04 20:03:24 @ithinuel Hi there
8+
2018-09-04 20:03:35 @ithinuel Sorry for being late
9+
2018-09-04 20:03:39 ~japaric the first item on the agenda is triaging issues that need be done for the milestone
10+
2018-09-04 20:03:44 ~japaric ithinuel: we just started :-)
11+
2018-09-04 20:04:14 ~japaric for the edition milestone**
12+
2018-09-04 20:04:20 ~japaric I have written all the edition issues in the etherpad
13+
2018-09-04 20:04:35 ~japaric along with their current status and how's currently working on them
14+
2018-09-04 20:04:47 ~japaric let's go over each of them
15+
2018-09-04 20:05:02 ~japaric Book: Introduction
16+
2018-09-04 20:05:08 ~japaric the GH link is missing
17+
2018-09-04 20:05:28 ~japaric https://github.com/rust-embedded/book/issues/3
18+
2018-09-04 20:06:03 ~japaric we need someone to work on this
19+
2018-09-04 20:06:10 ~japaric jamesmunns: are you actively working on this one?
20+
2018-09-04 20:06:36 jamesmunns Not actively on the intro
21+
2018-09-04 20:06:59 jamesmunns I marked the sections in progress from me ATM
22+
2018-09-04 20:07:12 ~japaric anyone wants to volunteer to look work on this or look over it?
23+
2018-09-04 20:07:23 ~japaric volunteer to work on this**
24+
2018-09-04 20:07:37 @therealprof I'm such a terrible writer but I'd be happy to proof it.
25+
2018-09-04 20:07:50 jamesmunns Happy to mentor anyone :) This one is partially implemented, but needs some filling out
26+
2018-09-04 20:07:53 @therealprof What about pinging Nicoretti?
27+
2018-09-04 20:08:27 ~japaric therealprof: sgtm, could you ping them?
28+
2018-09-04 20:08:40 ~japaric therealprof: jamesmunns can I assign the issue to you as mentors / reviewers?
29+
2018-09-04 20:08:48 @therealprof Doing it right away.
30+
2018-09-04 20:08:59 jamesmunns Yep, thanks!
31+
2018-09-04 20:09:33 ~japaric alright, thanks
32+
2018-09-04 20:09:39 @korken89 I can also help proof reading
33+
2018-09-04 20:09:59 @korken89 I would like to help write as well, but have a bit too much outside this ATM to dare take on something big
34+
2018-09-04 20:10:07 ~japaric korken89: thanks, I'll add you as a collab so you can review PRs
35+
2018-09-04 20:10:49 ~japaric ok, the next issue is the second chapter about writing the first program
36+
2018-09-04 20:11:02 @ithinuel <- terrible writer but up for proof reading as well
37+
2018-09-04 20:11:04 ~japaric I'll pull in some text from a quickstart PR
38+
2018-09-04 20:11:19 ~japaric so I think that one is good for now
39+
2018-09-04 20:11:32 jamesmunns We may want to ping sekineh, he is working on the CI still, and actively looking at QEMU atm
40+
2018-09-04 20:11:50 ~japaric jamesmunns: +1
41+
2018-09-04 20:12:12 ~japaric I'll ping them
42+
2018-09-04 20:12:21 @therealprof I'd be happy to expand on the quickstart examples if needed.
43+
2018-09-04 20:12:24 jamesmunns Thanks japaric
44+
2018-09-04 20:12:43 ~japaric therealprof: please knock yourself out :-)
45+
2018-09-04 20:13:06 ~japaric ok, issue 3 is about the collections chapter
46+
2018-09-04 20:13:13 ~japaric a draft was merged last week
47+
2018-09-04 20:13:26 ~japaric we have to decide if we want to add something else to the chapter
48+
2018-09-04 20:13:33 ~japaric but we can do that on the issue
49+
2018-09-04 20:13:59 ~japaric next issue (4) is about concurrency
50+
2018-09-04 20:14:13 ~japaric this one is empty; I planned to write about interrupts and critical sections but haven't had the time
51+
2018-09-04 20:14:57 @theJPster I'm quite looking forward to this section :)
52+
2018-09-04 20:15:05 @theJPster It's the bit I've found trickiest about Monotron,.
53+
2018-09-04 20:15:07 @therealprof What's the foundation for that?
54+
2018-09-04 20:15:15 @therealprof RT or RTFM?
55+
2018-09-04 20:15:44 ~japaric unless someone wants to volunteer this probably won't see much progress in the next few weeks
56+
2018-09-04 20:15:50 cja whoops, late
57+
2018-09-04 20:16:11 @adamgreig I might be able to help out with that and a few other sections next week but definitely not this week
58+
2018-09-04 20:16:18 @therealprof Sounds like we have a volunteer. ;)
59+
2018-09-04 20:16:37 ~japaric therealprof: more general than that. I planned to write about when a critical section is needed and where you can use e.g. a spsc lockless queue
60+
2018-09-04 20:16:54 @korken89 japaric: If you want help with core parts of RTFM I can help write there, though I currently do not have experience with the Rust version of RTFM.
61+
2018-09-04 20:16:55 ~japaric I would be writing `unsafe` code that's actually safe
62+
2018-09-04 20:17:06 @therealprof Ah, cool.
63+
2018-09-04 20:17:13 @therealprof Oooh. :-D
64+
2018-09-04 20:17:18 cja Is the issue to work on the doc, or have someone go through it to see if it's consistent/coherent? I recall an issue last week about the OSX side?
65+
2018-09-04 20:17:22 @theJPster Does that include atomics too?
66+
2018-09-04 20:17:47 ~japaric theJPster: I had nothing planned about atomics
67+
2018-09-04 20:17:58 @theJPster I think they're an important part of concurrency
68+
2018-09-04 20:19:06 jamesmunns brb
69+
2018-09-04 20:19:11 ~japaric if someone wants to write about atomics that'd be great :-)
70+
2018-09-04 20:19:11 @therealprof cja: Writing chapters…
71+
2018-09-04 20:19:44 cja apologies, I should have dug in the backlog better
72+
2018-09-04 20:20:01 ~japaric ok, let's move to issue 7 since jamesmunns is afk
73+
2018-09-04 20:20:10 ~japaric tips for C devs
74+
2018-09-04 20:20:12 @korken89 The nice thing about atomics is that they work more or less the same as in normal Rust, only on Cortex-M0 we do not have atomics sadly
75+
2018-09-04 20:20:44 ~japaric no one's working on this atm. Any volunteers for writing this?
76+
2018-09-04 20:21:51 ~japaric one of the topics is about cross compiling to embedded Linux; that should be too hard to cover
77+
2018-09-04 20:21:58 ~japaric shouldn't be**
78+
2018-09-04 20:21:59 @adamgreig I won't have time this week, but probably next week or after I'd be happy to have a go at this and the next one. if anyone else is interested please go ahead though.
79+
2018-09-04 20:22:28 ~japaric adamgreig: thanks
80+
2018-09-04 20:22:36 @therealprof I'm pretty much booked out I'm afraid… (also doing C stuff, grr…)
81+
2018-09-04 20:22:58 ~japaric ok, let's revisit 7 next week
82+
2018-09-04 20:23:07 @theJPster likewise, I'm afraid. Too many conferences!
83+
2018-09-04 20:23:08 jamesmunns (back)
84+
2018-09-04 20:23:23 ~japaric issue 8 is about mixing C and Rust code
85+
2018-09-04 20:23:30 ~japaric no one's working on this atm
86+
2018-09-04 20:23:39 ~japaric adamgreig may be able to work on it starting next week
87+
2018-09-04 20:23:46 ~japaric any other volunteer for writing this?
88+
2018-09-04 20:24:02 jamesmunns I will also ping spacekookie about it, who gave a talk at rustconf about this
89+
2018-09-04 20:24:02 Lumpio- korken89: ...except on Cortex-M3 where LLVM seems to emit incorrect assembly sometimes which I discovered today
90+
2018-09-04 20:24:06 Lumpio- But I can talk about that later
91+
2018-09-04 20:24:24 ~japaric jamesmunns: thanks
92+
2018-09-04 20:24:46 cja japaric: is there a single page with issues for today?
93+
2018-09-04 20:24:47 @ryankurte I might be able to do a little on 8, though some of it is definitely over my head atm.
94+
2018-09-04 20:24:57 @ryankurte s|some|most|g tbqh
95+
2018-09-04 20:24:59 ~japaric cja: https://public.etherpad-mozilla.org/p/embedded-wg
96+
2018-09-04 20:25:16 @korken89 Lumpio-: :o Is there an tracking issue for this?
97+
2018-09-04 20:25:21 cja thank you
98+
2018-09-04 20:25:51 Lumpio- korken89: https://bugs.llvm.org/show_bug.cgi?id=38828 - I just filed it so it's unconfirmed on there but we went over the problem on #llvm and it seems to be an actual bug
99+
2018-09-04 20:26:01 ~japaric ryankurte: I'll assign 8 to you so at least you'll be in the loop
100+
2018-09-04 20:26:21 Lumpio- Might be good to keep in mind while working with atomics on Cortex-M3 for now
101+
2018-09-04 20:26:21 ~japaric ok, let's move on
102+
2018-09-04 20:26:35 ~japaric let's go over issue 5 and 6 now that jamesmunns is back
103+
2018-09-04 20:27:05 ~japaric jamesmunns: I haven't had time to check your PR
104+
2018-09-04 20:27:14 jamesmunns Issue 5 - I slightly mention embedded hal, and how the portability story works, but not much in depth
105+
2018-09-04 20:27:22 jamesmunns maybe the intro page - ish
106+
2018-09-04 20:27:45 awygle I would also like to help review, especially things around portability
107+
2018-09-04 20:27:55 cja As someone new to rust embedded I'm happy to read anything written and provide feedback (being an intended reader, basically), but I'm not much help for writing the chapters myself tus far
108+
2018-09-04 20:28:02 ~japaric I'll review the PR later this week. It'd be good if others reviewed it too
109+
2018-09-04 20:28:21 jamesmunns PR is https://github.com/rust-embedded/book/pull/15 - if anyone wants to take a look :)
110+
2018-09-04 20:28:53 jamesmunns There also used to be a "singletons" chapter, which I have renamed "peripherals"
111+
2018-09-04 20:28:58 jamesmunns (it covers singletons)
112+
2018-09-04 20:29:05 ~japaric ok, I think 5 and 6 should be well covered for this week
113+
2018-09-04 20:29:11 jamesmunns There isn't an issue for that, I should probably make one for that.
114+
2018-09-04 20:29:21 ~japaric jamesmunns: +1
115+
2018-09-04 20:29:38 ~japaric jamesmunns: I have some notes about the global singleton pattern that I want to put into a PR
116+
2018-09-04 20:29:46 awygle Where is the book outline located?
117+
2018-09-04 20:29:48 ~japaric (peripherals are *owned* singletons; not the same thing)
118+
2018-09-04 20:30:01 ~japaric awygle: sidebar https://rust-embedded.github.io/book/
119+
2018-09-04 20:30:17 @korken89 Quick side note, is there a way to see book PRs rendered? Reading raw MD is a bit tedious
120+
2018-09-04 20:30:20 jamesmunns japaric: happy to chat, or look at review comments, just let me know
121+
2018-09-04 20:30:28 jamesmunns
122+
2018-09-04 20:30:29 jamesmunns
123+
2018-09-04 20:30:49 jamesmunns whoops: https://rust-embedded.github.io/book/
124+
2018-09-04 20:30:53 ~japaric korken89: I don't think so
125+
2018-09-04 20:30:58 jamesmunns oh
126+
2018-09-04 20:30:59 jamesmunns prs
127+
2018-09-04 20:31:04 jamesmunns sorry :|
128+
2018-09-04 20:31:06 ~japaric korken89: you can view the rendered markdown in the PR
129+
2018-09-04 20:31:16 @korken89 Just hitting "view" in the Github PR seems to work :)
130+
2018-09-04 20:31:26 ~japaric yeah, that's what I meant
131+
2018-09-04 20:31:28 @therealprof Yes, most of the times.
132+
2018-09-04 20:31:54 ~japaric ok, issue 9 is about the outline of the book
133+
2018-09-04 20:32:14 ~japaric but we need more content to see if we are going to rearrange the chapters or split chapters
134+
2018-09-04 20:32:17 ~japaric so blocked atm
135+
2018-09-04 20:32:47 ~japaric issue 10 is about https://github.com/rust-embedded/book/issues/10
136+
2018-09-04 20:32:54 ~japaric which was not originally planned for the book
137+
2018-09-04 20:32:58 ~japaric but seems useful
138+
2018-09-04 20:33:00 ~japaric ryankurte: ^
139+
2018-09-04 20:33:18 ~japaric in particular I'd like to put OS specific stuff about GDB and OpenOCD there
140+
2018-09-04 20:33:28 ~japaric to not duplicate it in other resources like the book and discovery
141+
2018-09-04 20:33:54 ~japaric thoughts?
142+
2018-09-04 20:34:05 emilgardis I think that's a great idea
143+
2018-09-04 20:34:14 jamesmunns :+1: and link to the book from discovery?
144+
2018-09-04 20:34:40 @korken89 Sounds good
145+
2018-09-04 20:34:43 ~japaric jamesmunns: yes, though I'm not sure if this should go in the book (appendix?) or be a separate mdbook
146+
2018-09-04 20:34:58 @ryankurte I can't remember where but iirc #10/#112 was deemed too much for the book?
147+
2018-09-04 20:35:02 @ryankurte Ahh, ^
148+
2018-09-04 20:35:12 ~japaric I was thinking if more obscure like which OpenOCD .cfg file for this board could live there
149+
2018-09-04 20:35:20 ~japaric in which case it would essentially be like a wiki
150+
2018-09-04 20:35:23 ~japaric but edited via PRs
151+
2018-09-04 20:35:33 ~japaric more obscure stuff**
152+
2018-09-04 20:35:36 jamesmunns Not opposed to using mdbook as a wiki :)
153+
2018-09-04 20:36:03 @therealprof Which board? The F3 disco?
154+
2018-09-04 20:36:53 ~japaric therealprof: I recently worked with a RM42 board (Cortex-R core) OpenOCD didn't work out of the box. Had to look for some "IDs" (DAP_ID, iirc?) online to make it work
155+
2018-09-04 20:37:16 ~japaric the ID was in the data sheet but the value you had to use depended on which revision of the chip you were using
156+
2018-09-04 20:37:35 ~japaric that's the kind of obscure stuff I'm referring to
157+
2018-09-04 20:37:49 @therealprof Ah, yes.
158+
2018-09-04 20:37:52 @adamgreig sounds not especially rust related so +1 on having it not in the book
159+
2018-09-04 20:37:55 @ryankurte I still think it'd be excellent to have a flow-chart esque resource for getting code onto board and debug out. Maybe specific board support (and supported boards) could be it's own book/sub-book/subsection?
160+
2018-09-04 20:37:59 @therealprof Especially since the last release is really old.
161+
2018-09-04 20:38:44 @ryankurte And then the actual support could refer back to the book for more general openocd/jlink/whatever parts?
162+
2018-09-04 20:39:32 emilgardis I think a wiki would be more fitting for specific board support @ryankurte
163+
2018-09-04 20:40:10 ~japaric emilgardis: but this debugging resource would be a wiki in mdbook format
164+
2018-09-04 20:41:18 emilgardis Aha, I suppose that'd work for me
165+
2018-09-04 20:42:04 @ryankurte Yeah, whatever works / the wiki proposal didn't get a lot of love last time / I'm happy with either.
166+
2018-09-04 20:42:04 @ryankurte I'm mostly suggesting that the content here (https://github.com/rust-embedded/book/issues/10#issue-349356813) be separate from specific board support stuff somewhere else.
167+
2018-09-04 20:42:50 ~japaric let's try to make a decision: who's in favor of an additional mdbook that covers the stuff in the above link ^?
168+
2018-09-04 20:43:15 jamesmunns generally :+1:, any reason it is limited to just debugging, vs "embedded wiki powered by mdbook"?
169+
2018-09-04 20:43:28 @korken89 +1
170+
2018-09-04 20:43:28 @adamgreig I don't think it belongs in the main book, happy for it to be its own mdbook, could also be some sort of wiki
171+
2018-09-04 20:43:34 emilgardis +1
172+
2018-09-04 20:43:38 @adamgreig so let's say +1
173+
2018-09-04 20:44:07 @therealprof +1
174+
2018-09-04 20:44:42 posborne +1
175+
2018-09-04 20:44:43 ~japaric jamesmunns: it could be extended into a embedded wiki in the future. I'm trying to get some initial decision right now; we can revisit the wiki idea
176+
2018-09-04 20:44:44 @nastevens Take my vote with a grain of salt, but +1
177+
2018-09-04 20:45:19 ~japaric that sounds like the majority of the present
178+
2018-09-04 20:45:34 ~japaric now, who volunteers for writing this?
179+
2018-09-04 20:46:36 ~japaric they don't have to write the whole thing at once. Starting with a skeleton (see book) is fine.
180+
2018-09-04 20:46:43 @ryankurte I'm happy to work on the New Book (and I think there were others in the thread) ^_^
181+
2018-09-04 20:47:16 @ryankurte What is the status of the debugging section in The Book, then? Separate issue to track what should be included there?
182+
2018-09-04 20:47:18 @korken89 I can help with filling out, but I am a bit pressed for free time right now (and coming 2 weeks)
183+
2018-09-04 20:47:38 ~japaric ryankurte: the issue would be moved into the new repo
184+
2018-09-04 20:48:02 ~japaric ryankurte: I'll make a new repo and add you and /resources as collabs
185+
2018-09-04 20:48:14 @ryankurte I'd still argue for some mention of programming / debugging etc. in the book, but, works for me!
186+
2018-09-04 20:48:19 @therealprof Same. But FWIW I do have a lot of the hardware mentioned in the ticket here.
187+
2018-09-04 20:49:13 DaQue_ I’m really new to rust. Any reason I shouldn’t be able to switch between using Xargo and the new method the nightly is using any time I want. A lot of beginner tutorial stuff still uses Xargo
188+
2018-09-04 20:50:26 ~japaric DaQue_: short version is that you shouldn't use Xargo or follow material that uses Xargo
189+
2018-09-04 20:50:35 ~japaric continuing the triage
190+
2018-09-04 20:50:45 ~japaric next issue is 11, the embedded Rust showcase
191+
2018-09-04 20:50:53 ~japaric the RFC was approved
192+
2018-09-04 20:51:00 DaQue_ Thanks
193+
2018-09-04 20:51:02 ~japaric but still need someone to implement this
194+
2018-09-04 20:51:13 ~japaric any volunteer?
195+
2018-09-04 20:51:42 ~japaric I think the hardest part would be finding a template
196+
2018-09-04 20:51:55 ~japaric or we could start with just a README.md
197+
2018-09-04 20:52:27 @theJPster Yeah I'd keep it simple. Content first, style second.
198+
2018-09-04 20:52:45 @therealprof I really haven't had any time to check out the stuff and won't have for the forseeable future.
199+
2018-09-04 20:52:53 ~japaric theJPster: are you volunteering? :-)
200+
2018-09-04 20:53:15 @theJPster I mean you can write my name down, but I won't get anything done.
201+
2018-09-04 20:53:18 @therealprof I do have some ideas for showcases though.
202+
2018-09-04 20:53:45 ~japaric ok, let's revisit that next week
203+
2018-09-04 20:53:50 @therealprof Just received my Anne Pro 2 and wanted to try the Rust firmware for it.
204+
2018-09-04 20:54:05 ~japaric issue 12, before we run out of time
205+
2018-09-04 20:54:08 emilgardis +1
206+
2018-09-04 20:54:12 ~japaric stable assembly operations
207+
2018-09-04 20:54:17 ~japaric i.e. core::arch::arm
208+
2018-09-04 20:54:30 ~japaric I want to de-milestone / de-prioritize this one
209+
2018-09-04 20:54:45 ~japaric since cortex_m::{asm,register} works on stable w/o gcc
210+
2018-09-04 20:54:53 ~japaric and because I don't have time to push this over the finish line
211+
2018-09-04 20:55:30 @korken89 I'd say it's fine to de-milestone it
212+
2018-09-04 20:55:47 @therealprof +1
213+
2018-09-04 20:55:50 @theJPster cortex-m includes interrupt control, right?
214+
2018-09-04 20:55:59 @therealprof Yep.
215+
2018-09-04 20:56:27 jamesmunns abstain, haven't spent enough time needing asm inline, outside of what cortex_m already offers
216+
2018-09-04 20:56:37 @theJPster I mean, nop, wfi, cpsid/cpsie cover must use cases.
217+
2018-09-04 20:57:01 @adamgreig yes the new prebuilt asm workaround helps a lot
218+
2018-09-04 20:57:06 @theJPster (unless you hand-write your video generation routines, in which case cortex-m is never going to be enough)
219+
2018-09-04 20:57:13 @adamgreig i assume we still really want those intrinsics landed by 2018 itself though
220+
2018-09-04 20:57:15 @therealprof :-D
221+
2018-09-04 20:57:25 @theJPster I'm +1
222+
2018-09-04 20:57:42 ~japaric adamgreig: yeah, but they may not be stable for Rust 2018
223+
2018-09-04 20:58:15 @adamgreig I guess they can land in any old compiler version thereafter though
224+
2018-09-04 20:58:29 @adamgreig 'old' is a bit misleading there, I mean they can be part of the normal updates
225+
2018-09-04 20:58:45 ~japaric editions are decoupled from std / core
226+
2018-09-04 20:58:58 ~japaric so if the intrinsics land in 1.32 they'll be available to both editions
227+
2018-09-04 20:59:01 @adamgreig yes, that's what I was clumsily getting at
228+
2018-09-04 20:59:17 @adamgreig re-prioritising seems fine then
229+
2018-09-04 20:59:21 @adamgreig de-*
230+
2018-09-04 20:59:31 posborne +1
231+
2018-09-04 20:59:54 ~japaric we didn't cover all the issues but the ones that we didn't aren't high priority; we can check them next week
232+
2018-09-04 21:00:07 ~japaric thanks everyone for attending! See you next week

0 commit comments

Comments
 (0)