zephyr/tests
Johan Hedberg e405fc41f2 atomic: Add atomic_set_bit_to() API
Several places in the code have constructions like this:

	if (bool_variable) {
		atomic_set_bit(flags, FLAG);
	} else {
		atomic_clear_bit(flags, FLAG);
	}

To reduce the amount of code for such situations, introduce a new
atomic_set_bit_to() helper which lets you condense the above five
lines to a single one:

	atomic_set_bit_to(flags, FLAG, bool_variable);

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-01-25 17:35:44 -05:00
..
application_development
benchmarks kernel: remove k_alert API 2019-01-16 21:34:07 -05:00
bluetooth Bluetooth: tests : Include building the LL split in CI 2019-01-25 11:19:39 +02:00
boards tests: intel_s1000: flash_map: Enable tests for flash_map 2019-01-16 21:22:56 -05:00
booting/stub
cmsis_rtos_v1 tests: Increase the stack size by CONFIG_TEST_EXTRA_STACKSIZE. 2019-01-16 06:12:33 -05:00
cmsis_rtos_v2 tests: cmsis: Disable two cmsis portability tests on x86_64 2019-01-11 15:18:52 -05:00
compliance
coverage tests: coverage: Add Gcov support. 2019-01-16 06:12:33 -05:00
crypto
drivers driver/sensor: use lis2dh as common driver among multiple sensors 2019-01-24 07:26:16 -06:00
include
kernel atomic: Add atomic_set_bit_to() API 2019-01-25 17:35:44 -05:00
lib tests: lib: mem_alloc: esp32 to skip newlib test 2019-01-25 11:20:42 -05:00
misc tests: misc: Add test suite for util.h with tests for COND_CODE_n 2019-01-24 08:40:01 -05:00
net net: http: Remove HTTP client and server APIs 2019-01-25 11:21:20 -05:00
posix tests/posix/common: Correct TEST_EXTRA_STACKSIZE usage 2019-01-11 15:18:52 -05:00
shell
subsys tests: mcuboot: Erase image slot before starting test 2019-01-21 12:00:55 -05:00
unit lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
ztest tests: ztest: Add zassert_mem_equal() 2019-01-25 10:35:39 +02:00
CMakeLists.txt tests: coverage: Add Gcov support. 2019-01-16 06:12:33 -05:00
Kconfig Gcov: Added Kconfig changes needed by Gcov. 2019-01-16 06:12:33 -05:00