878a0f050e
Rename _DEVICE_STRUCT_SIZE to _DEVICE_STRUCT_SIZEOF. This causes it to be picked by the script 'gen_offset_header.py' and inserted into the header file 'include/generated/offsets.h'. Renaming from x_SIZE to x_SIZEOF will align it's name with the other symbols that denote a sctruct's size, like K_THREAD_SIZEOF. Furthermore, it will allow the symbol to be accessed through a header file define, instead of only as an extern symbol. This is more flexible, and more aligned with the other symbols in offsets. Finally, if we are able to move all of offsets.c symbols into the offsets.h header file we be able to remove offsets.o from the link and thereby simplify the linking process. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
include | ||
src | ||
test | ||
CMakeLists.txt | ||
Kconfig |