zephyr/tests/ztest
Sebastian Bøe 878a0f050e ld: Put 'sizeof(struct device)' in the generated offsets header
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>
2018-09-18 16:23:40 +02:00
..
include ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
src coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
test tests: rename test entry functions 2018-08-31 15:11:39 -04:00
CMakeLists.txt
Kconfig tests: kconfig: Remove redundant 'default n' properties 2018-06-22 15:11:58 -04:00