commit | 882162357c91c21bd0965aae1988074fed9f0ea7 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Tue Oct 11 10:48:00 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Oct 11 18:11:47 2022 +0200 |
tree | 7bca1f81eb913ad56e5ea627d840ec5773c2c251 | |
parent | a6a4400b8621bc618c60561c5bdd90b2e8ce09e0 [diff] |
scripts: build: gen_handles: use Z_DECL_ALIGN Instead of hardcoding alignment size for pass 2 device handles, use Z_DECL_ALIGN. This makes sure gen_handles.py is always in sync with the type defined in device.h. The build assert in device.h can be removed as a result, since we do not hardcode handles size anywhere else. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>