Commit 0ed4dec
committed
Add warning when we failed to emit padding at the start of a union
This currently triggers for the atsamd21 for these fields:
```
WARNING: field Some(Ident("pmux1_1")) has different offset 177 than its
union container 176
WARNING: field Some(Ident("pmux1_2")) has different offset 178 than its
union container 176
```
the issue there is that we're missing `derivedFrom` support for
registers, and once implemented, that issue goes away.1 parent 50fe8e8 commit 0ed4dec
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
| |||
0 commit comments