zephyr/tests
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
..
application_development cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
benchmarks Kconfig: Use new preprocessor syntax for env. variables 2018-09-11 19:17:25 -04:00
bluetooth coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
boards coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
booting/stub cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
cmsis_rtos_v1 tests/cmsis_rtos_v1: Introduce negative tests for mailQ 2018-09-11 09:03:03 -04:00
compliance
crypto coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
drivers coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
include tests: include: Add implementation of timestamp_serialize() 2018-08-20 06:51:25 -07:00
kernel coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
lib coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
misc/test_build cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
net coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
posix tests: posix: Test realtime clock 2018-09-11 09:21:52 -04:00
power tracing: remove stray event_logger code 2018-09-05 16:05:08 -04:00
shell cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
subsys tests: subsys: logging: log_core fix with inplace process 2018-09-18 14:56:10 +02:00
unit cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
ztest ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
CMakeLists.txt
Kconfig Kconfig: Use the first default with a satisfied condition 2018-08-10 12:38:28 -07:00