zephyr/tests/benchmarks
Pavel Hübner 104714394f kernel: Introduce K_MEM_SLAB_DEFINE_STATIC
As the already existing macro K_MEM_SLAB_DEFINE results in
two variable definitions, the preceding static modifier leads to
a seemingly working solution, though linkage conflicts will occur
when the same memory slab name is used across multiple modules.

The new K_MEM_SLAB_DEFINE_STATIC macro duplicates the functionality of
K_MEM_SLAB_DEFINE with the difference that the static keywords are
internally prepended before both variable definitions.

The implementation has been tested on my Zephyr project (the build
issue faded out). The documentation has been updated altogether
with all incorrect occurences of static K_MEM_SLAB_DEFINE.

Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
2021-11-07 05:36:48 -05:00
..
app_kernel cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
cmsis_dsp tests: basicmath: Migrate to new ztest register functionality 2021-10-28 16:57:51 -04:00
data_structure_perf cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
footprints tests: use common PM action callback naming 2021-11-03 20:27:18 -04:00
latency_measure tests: benchmarks: latency_measure: fix potential div by zero 2021-09-08 10:28:58 -04:00
mbedtls tests: mbedtls: Follow changes in mbedTLS 3.0 version 2021-10-07 14:02:40 -05:00
sched cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
sys_kernel kernel: Introduce K_MEM_SLAB_DEFINE_STATIC 2021-11-07 05:36:48 -05:00