Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 104) sorted by relevance

12345

/Zephyr-latest/lib/libc/minimal/include/
Dassert.h22 #ifndef assert
23 #define assert(test) __ASSERT_NO_MSG(test) macro
26 #ifndef assert
27 #define assert(test) ((void)0)
/Zephyr-latest/modules/hal_nordic/nrf_802154/serialization/platform/
Dnrf_802154_spinel_response_notifier.c60 assert(ret == 0); in nrf_802154_spinel_response_notifier_lock_before_request()
63 assert(awaited_property == AWAITED_PROPERTY_NONE); in nrf_802154_spinel_response_notifier_lock_before_request()
100 assert(p_notify_buff_free == &notify_buff); in nrf_802154_spinel_response_notifier_free()
107 assert(ret == 0); in nrf_802154_spinel_response_notifier_free()
116 assert(notify_buff.free); in nrf_802154_spinel_response_notifier_property_notify()
121 assert(data_len <= sizeof(notify_buff.buff.data)); in nrf_802154_spinel_response_notifier_property_notify()
/Zephyr-latest/tests/drivers/build_all/counter/boards/
Darty_a7_designstart_fpga_cortex_m1.overlay15 xlnx,gen0-assert = <0x1>;
16 xlnx,gen1-assert = <0x1>;
18 xlnx,trig0-assert = <0x1>;
19 xlnx,trig1-assert = <0x1>;
/Zephyr-latest/tests/drivers/build_all/pwm/boards/
Darty_a7_designstart_fpga_cortex_m1.overlay15 xlnx,gen0-assert = <0x1>;
16 xlnx,gen1-assert = <0x1>;
18 xlnx,trig0-assert = <0x1>;
19 xlnx,trig1-assert = <0x0>;
/Zephyr-latest/soc/espressif/common/
Desp_heap_runtime.c36 assert(ESP_HEAP_RUNTIME_MAX_SIZE > 65535); in esp_heap_runtime_init()
38 assert(ESP_HEAP_RUNTIME_MAX_SIZE > 51200); in esp_heap_runtime_init()
40 assert(ESP_HEAP_RUNTIME_MAX_SIZE > 40960); in esp_heap_runtime_init()
/Zephyr-latest/tests/ztest/error_hook/
DREADME.txt1 Title: A common fatal error and assert fail handler
6 code writing for fatal and assert handler for error case testing. They can
40 (b) Usage for dealing with assert fail:
53 If you use none of them, you can still define your own fatal or assert handler
60 This test verifies if the common fatal error and assert fail handler works.
64 - To call a function then giving the condition to trigger the assert fail,
65 then catch it by the assert handler.
79 an assert fail then catch it.
104 Caught assert failed
177 Caught assert failed
/Zephyr-latest/tests/net/mocks/
DCMakeLists.txt4 assert.c
/Zephyr-latest/boards/snps/hsdk/support/
Dopenocd.cfg60 $_TARGETNAME2 configure -event reset-assert "arc_common_reset $_TARGETNAME2"
75 $_TARGETNAME3 configure -event reset-assert "arc_common_reset $_TARGETNAME3"
91 $_TARGETNAME4 configure -event reset-assert "arc_hs_reset $_TARGETNAME4"
106 $_TARGETNAME1 configure -event reset-assert "arc_common_reset $_TARGETNAME1"
/Zephyr-latest/boards/snps/hsdk4xd/support/
Dopenocd.cfg60 $_TARGETNAME2 configure -event reset-assert "arc_common_reset $_TARGETNAME2"
75 $_TARGETNAME3 configure -event reset-assert "arc_common_reset $_TARGETNAME3"
91 $_TARGETNAME4 configure -event reset-assert "arc_hs_reset $_TARGETNAME4"
106 $_TARGETNAME1 configure -event reset-assert "arc_common_reset $_TARGETNAME1"
/Zephyr-latest/tests/bluetooth/host/
DCMakeLists.txt6 host_mocks/assert.c
/Zephyr-latest/drivers/reset/
Dreset_intel_socfpga.c41 static void reset_intel_soc_update(const struct device *dev, uint32_t id, bool assert) in reset_intel_soc_update() argument
51 if (assert ^ !config->active_low) { in reset_intel_soc_update()
Dreset_rpi_pico.c87 static int reset_rpi_update(const struct device *dev, uint32_t id, uint8_t assert) in reset_rpi_update() argument
103 if (assert ^ config->active_low) { in reset_rpi_update()
/Zephyr-latest/tests/ztest/fail/
DKconfig8 bool "Add a failed assert in the after phase"
11 bool "Add a failed assert in the teardown phase"
/Zephyr-latest/subsys/testsuite/boards/unit_testing/unit_testing/
Dunit_testing_defconfig10 # unit testing only build a fraction of code, and hence assert may fail linking.
/Zephyr-latest/boards/shields/x_nucleo_bnrg2a1/
Dx_nucleo_bnrg2a1.overlay24 reset-assert-duration-ms = <6>;
/Zephyr-latest/boards/shields/x_nucleo_wb05kn1/
Dx_nucleo_wb05kn1_spi.overlay25 reset-assert-duration-ms = <6>;
/Zephyr-latest/boards/common/
Desp32.board.cmake14 assert(ESP_IDF_PATH "ESP_IDF_PATH is not set")
/Zephyr-latest/tests/lib/acpi/unit/
DCMakeLists.txt10 add_library(mock_assert STATIC src/assert.c)
/Zephyr-latest/cmake/toolchain/gnuarmemb/
Dgeneric.cmake4 assert( GNUARMEMB_TOOLCHAIN_PATH "GNUARMEMB_TOOLCHAIN_PATH is not set")
/Zephyr-latest/subsys/zbus/
DKconfig74 bool "Zbus assert mock for test purposes."
77 …enabled, _ZBUS_ASSERT returns -EFAULT instead of assert. It makes it more straightforward to test …
/Zephyr-latest/doc/hardware/peripherals/
Dreset.rst11 control over their reset input signals, including the ability to assert,
/Zephyr-latest/cmake/toolchain/espressif/
Dtarget.cmake4 assert( ESPRESSIF_TOOLCHAIN_PATH "ESPRESSIF_TOOLCHAIN_PATH is not set")
/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c355 assert(config->dest_data_size == config->source_data_size); in dma_mcux_lpc_configure()
362 assert(block_config->source_gather_interval == in dma_mcux_lpc_configure()
614 assert(block_config->source_address == ROUND_UP(block_config->source_address, width)); in dma_mcux_lpc_configure()
615 assert(block_config->dest_address == ROUND_UP(block_config->dest_address, width)); in dma_mcux_lpc_configure()
668 assert(block_config->source_address == in dma_mcux_lpc_configure()
670 assert(block_config->dest_address == in dma_mcux_lpc_configure()
768 assert(src == ROUND_UP(src, data->width)); in dma_mcux_lpc_reload()
769 assert(dst == ROUND_UP(dst, data->width)); in dma_mcux_lpc_reload()
/Zephyr-latest/cmake/toolchain/armclang/
Dgeneric.cmake4 assert(ARMCLANG_TOOLCHAIN_PATH "ARMCLANG_TOOLCHAIN_PATH is not set")
/Zephyr-latest/lib/os/
DCMakeLists.txt27 zephyr_sources(assert.c)

12345