Commit ffa88b0
committed
spi-api: don't silently hide config errors
This build script was throwing away any failure to parse global config,
which means that e.g. misspelling "DIV256" would instead get you
unrelated compile errors in apparently unrelated crates, since code
generation would just switch off.
This appears to have been done because the lpc55 code was depending on
this crate, and it of course doesn't _have_ an stm32h7 global SPI config
stanza in its config TOML.
I broke that dependency in an earlier commit, so now I'm making the code
generation mandatory with error reporting.1 parent 8a0f3fa commit ffa88b0
1 file changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
0 commit comments