|
| 1 | +# Embedded Working Group Meeting 2024-01-23 |
| 2 | + |
| 3 | +* [Coordination Repository] |
| 4 | +* Meetings: Tuesday 8pm Europe/Berlin time |
| 5 | +* [Join the Chat] |
| 6 | +* Today's date: 2024-01-23 |
| 7 | +* [Nominated issues](https://github.com/search?q=org%3Arust-embedded+label%3Anominated+is%3Aopen&type=Issues) |
| 8 | +* [IRC logs] |
| 9 | + |
| 10 | +[Coordination Repository]: https://github.com/rust-embedded/wg |
| 11 | +[Join the Chat]: https://matrix.to/#/#rust-embedded:matrix.org |
| 12 | +[IRC logs]: https://libera.irclog.whitequark.org/rust-embedded/2024-01-23 |
| 13 | + |
| 14 | +## Attendance |
| 15 | + |
| 16 | +Write your GH username or Matrix handle here! |
| 17 | + |
| 18 | +* adamgreig |
| 19 | +* GrantM11235 |
| 20 | +* jannic |
| 21 | +* therealprof |
| 22 | +* bartmassey |
| 23 | +* eldruin |
| 24 | +* mabez |
| 25 | +* elpiel |
| 26 | +* newAM |
| 27 | + |
| 28 | +## Agenda |
| 29 | + |
| 30 | +* Announcements |
| 31 | + * svdtools 0.3.9 released |
| 32 | +* Embedded HAL |
| 33 | + * ADC/voltmeter/ammeter traits https://github.com/rust-embedded/embedded-hal/pull/569 |
| 34 | + * Having volts and amps seems a bit arbitrary; should we also have temperature and light level and etc etc? |
| 35 | + * There might be some value in such a set of traits but it doesn't seem like they belong in e-h |
| 36 | + * Probably the original plan of an ADC trait is a better fit for embedded-hal, but there are design questions to resolve |
| 37 | + * SPI sharing with fallible CS pins https://github.com/rust-embedded/embedded-hal/issues/573 |
| 38 | + * Perhaps the whole shared bus could be poisoned to reduce the runtime overhead |
| 39 | + * But given the rarity of requiring fallible pins and not being able to just wrap them in a panicking wrapper, perhaps option 1 remains the best option for e-h-bus, with users requiring more sophisticated sharing/error handling able to roll their own |
| 40 | + * @GrantM11235 to write a PR |
| 41 | +* svd2rust |
| 42 | + * Safe/unsafe writers https://github.com/rust-embedded/svd2rust/pull/788 |
| 43 | +* Continue last week's discussion on interrupt macro syntax across crates |
| 44 | + |
| 45 | +## Last Week's Minutes |
| 46 | + |
| 47 | +* Announcements |
| 48 | + * embedded-hal v1.0.0 released! :tada: |
| 49 | + * risc-v releases: risc-v 0.11, riscv-rt 0.12, riscv-pac 0.1, riscv-semihosting 0.1 |
| 50 | + * linux-embedded-hal 0.4 was released with embedded-hal updated to 1.0 |
| 51 | +* Commonality between cortex-m and riscv interrupt macros |
| 52 | + * Could we unify the interrupt-declaring syntax? |
| 53 | + * Currently riscv-rt just has the user export a suitably-named symbol, which would also work for c-m-rt |
| 54 | + * But this doesn't permit the &static mut transform, or ensure that the method can't be called except by hardware as an interrupt, and doesn't check the function type signature |
| 55 | + * We could recommend this for c-m-rt |
| 56 | + * Could c-m-rt's interrupt macro take the interrupt name as an (optional?) argument, so the function could then be named arbitrarily instead? |
| 57 | + * avr-device requires the chip name be passed to the interrupt macro, so couldn't immediately work with this syntax, but maybe could be refactored later to support it |
| 58 | + * What about exception macros (e.g. when used to provide the exceptionframe in a hardfault on c-m-rt) or the entry macro (which also provides the static mut transform)? |
| 59 | + * TBC |
0 commit comments