Home
last modified time | relevance | path

Searched full:printk (Results 1 – 25 of 951) sorted by relevance

12345678910>>...39

/Zephyr-Core-3.6.0/tests/misc/print_format/src/
Dmain.c11 printk("d%" PRId8 "\n", INT8_C(8)); in main()
12 printk("d%" PRId16 "\n", INT16_C(16)); in main()
13 printk("d%" PRId32 "\n", INT32_C(32)); in main()
14 printk("d%" PRId64 "\n", INT64_C(64)); in main()
16 printk("i%" PRIi8 "\n", INT8_C(8)); in main()
17 printk("i%" PRIi16 "\n", INT16_C(16)); in main()
18 printk("i%" PRIi32 "\n", INT32_C(32)); in main()
19 printk("i%" PRIi64 "\n", INT64_C(64)); in main()
21 printk("o%" PRIo8 "\n", INT8_C(8)); in main()
22 printk("o%" PRIo16 "\n", INT16_C(16)); in main()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/ll/advx/src/
Dmain.c12 #include <zephyr/sys/printk.h>
114 printk("Connected.\n"); in connected()
120 printk("Disconnection failed (err %d).\n", err); in connected()
126 printk("Disconnected.\n"); in disconnected()
141 printk("%s: num_sent = %u\n", __func__, info->num_sent); in sent_cb()
150 printk("%s\n", __func__); in connected_cb()
156 printk("%s\n", __func__); in scanned_cb()
177 printk("\n*Extended Advertising test*\n"); in test_advx_main()
179 printk("Bluetooth initializing..."); in test_advx_main()
184 printk("success.\n"); in test_advx_main()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c11 #include <zephyr/sys/printk.h>
71 printk("Advertiser[%d] %p sent %d\n", bt_le_ext_adv_get_index(adv), in adv_sent_cb()
81 printk("Starting Direction Finding periodic advertising Beacon Demo\n"); in main()
84 printk("Bluetooth initialization..."); in main()
87 printk("failed (err %d)\n", err); in main()
90 printk("success\n"); in main()
92 printk("Advertising set create..."); in main()
95 printk("failed (err %d)\n", err); in main()
98 printk("success\n"); in main()
100 printk("Update CTE params..."); in main()
[all …]
/Zephyr-Core-3.6.0/samples/drivers/spi_flash_at45/src/
Dmain.c28 printk("DataFlash sample on %s\n", CONFIG_BOARD); in main()
40 printk("%s: device not ready.\n", flash_dev->name); in main()
48 printk("Using %s, chip size: %u bytes (page: %u)\n", in main()
52 printk("Reading the first byte of the test region ... "); in main()
55 printk("FAILED\n"); in main()
59 printk("OK\n"); in main()
62 printk("Preparing test content starting with 0x%02X.\n", data); in main()
70 printk("Erasing the whole chip... "); in main()
76 printk("Erasing the test region... "); in main()
82 printk("FAILED\n"); in main()
[all …]
/Zephyr-Core-3.6.0/samples/tfm_integration/psa_protected_storage/src/
Dmain.c9 #include <zephyr/sys/printk.h>
20 printk("Protected Storage sample started.\n"); in main()
21 printk("PSA Protected Storage API Version %d.%d\n", in main()
24 printk("Writing data to UID1: %s\n", TEST_STRING_1); in main()
30 printk("Failed to store data! (%d)\n", status); in main()
39 printk("Failed to get info! (%d)\n", status); in main()
42 printk("Info on data stored in UID1:\n"); in main()
43 printk("- Size: %d\n", uid1_info.size); in main()
44 printk("- Capacity: 0x%2x\n", uid1_info.capacity); in main()
45 printk("- Flags: 0x%2x\n", uid1_info.flags); in main()
[all …]
/Zephyr-Core-3.6.0/samples/net/cellular_modem/src/
Dmain.c57 printk("RSSI %d\n", rssi); in print_cellular_info()
62 printk("IMEI: %s\n", buffer); in print_cellular_info()
67 printk("MODEL_ID: %s\n", buffer); in print_cellular_info()
72 printk("MANUFACTURER: %s\n", buffer); in print_cellular_info()
77 printk("SIM_IMSI: %s\n", buffer); in print_cellular_info()
82 printk("SIM_ICCID: %s\n", buffer); in print_cellular_info()
87 printk("FW_VERSION: %s\n", buffer); in print_cellular_info()
139 printk("Opening UDP socket\n"); in sample_echo_packet()
143 printk("Failed to open socket\n"); in sample_echo_packet()
147 printk("Socket opened\n"); in sample_echo_packet()
[all …]
/Zephyr-Core-3.6.0/samples/sensor/bq274xx/src/
Dmain.c10 #include <zephyr/sys/printk.h>
16 printk("%s: -%d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
18 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
21 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
23 printk("%s: %d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
38 printk("Unable to fetch the voltage\n"); in do_main()
45 printk("Unable to get the voltage value\n"); in do_main()
49 printk("Voltage: %d.%06dV\n", voltage.val1, voltage.val2); in do_main()
54 printk("Unable to fetch the Average current\n"); in do_main()
61 printk("Unable to get the current value\n"); in do_main()
[all …]
/Zephyr-Core-3.6.0/tests/arch/x86/info/src/
Dacpi.c31 printk("\t\t\t. Scope type %s\n", get_dmar_scope_type(devscope->EntryType)); in dmar_devsope_handler()
32 printk("\t\t\t. Enumeration ID %u\n", devscope->EnumerationId); in dmar_devsope_handler()
43 printk("\t\t\t. PCI Path %02x:%02x.%02x\n", devscope->Bus, in dmar_devsope_handler()
54 printk("\t\t[ Hardware Unit Definition %d ]\n", unit++); in vtd_drhd_info()
57 printk("\t\t- Includes all PCI devices"); in vtd_drhd_info()
59 printk("\t\t- Includes only listed PCI devices"); in vtd_drhd_info()
62 printk(" under given Segment\n"); in vtd_drhd_info()
64 printk("\t\t- Segment number %u\n", drhd->Segment); in vtd_drhd_info()
65 printk("\t\t- Base Address 0x%llx\n", drhd->Address); in vtd_drhd_info()
67 printk("\t\t- Device Scopes:\n"); in vtd_drhd_info()
[all …]
Dmemmap.c11 printk("MEMORY MAP: source is "); in memmap()
15 printk("default"); in memmap()
18 printk("Multiboot basic map"); in memmap()
21 printk("Multiboot extended map"); in memmap()
24 printk("manual"); in memmap()
27 printk("unknown"); in memmap()
30 printk(", max %d entries\n", CONFIG_X86_MEMMAP_ENTRIES); in memmap()
55 printk("\t%016llx -> %016llx %s (%lldK)\n", in memmap()
61 printk("\n\tKernel exclusions:\n"); in memmap()
64 printk("\t%p -> %p (%s)\n", in memmap()
[all …]
Dmultiboot.c12 printk("MULTIBOOT: info struct NOT preserved.\n\n"); in multiboot()
21 printk("MULTIBOOT: info struct UNAVAILABLE or EMPTY.\n\n"); in multiboot()
23 printk("MULTIBOOT: boot info structure available.\n"); in multiboot()
24 printk("\tFlags = 0x%08x\n", multiboot_info.flags); in multiboot()
28 printk("\tBasic memory map: lower = %dK, upper = %dK.\n", in multiboot()
32 printk("\tNo basic memory map available.\n"); in multiboot()
36 printk("\tExtended memory map was at 0x%08x (%d bytes).\n", in multiboot()
40 printk("\tNo extended memory map available.\n"); in multiboot()
44 printk("\tFramebuffer %dbpp %dX%d (pitch %d) @ %08x.\n", in multiboot()
51 printk("\tFramebuffer data not present.\n"); in multiboot()
[all …]
/Zephyr-Core-3.6.0/samples/subsys/settings/src/
Dmain.c13 #include <zephyr/sys/printk.h>
76 printk("<alpha/angle/1> = %d\n", angle_val); in alpha_handle_set()
91 printk("<alpha/length> = %" PRId64 "\n", length_val); in alpha_handle_set()
98 printk("<alpha/length/1> = %d\n", length_1_val); in alpha_handle_set()
105 printk("<alpha/length/2> = %d\n", length_2_val); in alpha_handle_set()
127 printk("<alpha/beta/voltage> = %d\n", voltage_val); in beta_handle_set()
133 printk("<alpha/beta/source> is not compatible " in beta_handle_set()
142 printk("<alpha/beta/source> = %s\n", in beta_handle_set()
154 printk("loading all settings under <alpha> handler is done\n"); in alpha_handle_commit()
161 printk("export keys under <alpha> handler\n"); in alpha_handle_export()
[all …]
/Zephyr-Core-3.6.0/samples/sensor/amg88xx/src/
Dmain.c10 #include <zephyr/sys/printk.h>
33 printk("---|"); in print_buffer()
35 printk(" %02d ", i); in print_buffer()
37 printk("\n"); in print_buffer()
39 printk("%03d|", ln); in print_buffer()
41 printk("%05d ", (tv[i].val1 * 100 + tv[i].val2 / 10000)); in print_buffer()
43 printk("\n"); in print_buffer()
45 printk("%03d|", ln); in print_buffer()
48 printk("\n"); in print_buffer()
57 printk("sensor: device not ready.\n"); in main()
[all …]
/Zephyr-Core-3.6.0/samples/sensor/mhz19b/src/
Dmain.c8 #include <zephyr/sys/printk.h>
18 printk("Winsen MH-Z19B CO2 sensor application\n"); in main()
22 printk("sensor: device not found.\n"); in main()
26 printk("Configuring sensor - "); in main()
31 printk("failed to set range to %d\n", val.val1); in main()
38 printk("failed to set ABC to %d\n", val.val1); in main()
42 printk("OK\n"); in main()
44 printk("Reading configurations from sensor:\n"); in main()
48 printk("failed to get range\n"); in main()
52 printk("Sensor range is set to %dppm\n", val.val1); in main()
[all …]
/Zephyr-Core-3.6.0/samples/drivers/soc_flash_nand/src/
Dmain.c11 #include <zephyr/sys/printk.h>
34 printk("Nand flash driver test sample\n"); in main()
39 printk("Nand flash driver is not ready\n"); in main()
46 printk("Nand flash driver block size %lx\n", flash_block_size); in main()
51 printk("Nand flash driver page info error\n"); in main()
54 printk("The Page size of %lx\n", page.size); in main()
67 printk("Write memory not allocated\n"); in main()
74 printk("Read memory not allocated\n"); in main()
82 printk("Nand flash driver read Error\n"); in main()
87 printk("Nand flash driver data erase successful....\n"); in main()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/handsfree/src/
Dmain.c13 #include <zephyr/sys/printk.h>
23 printk("HFP HF Connected!\n"); in connected()
28 printk("HFP HF Disconnected!\n"); in disconnected()
33 printk("Service indicator value: %u\n", value); in service()
38 printk("Call indicator value: %u\n", value); in call()
43 printk("Call Setup indicator value: %u\n", value); in call_setup()
48 printk("Call Held indicator value: %u\n", value); in call_held()
53 printk("Signal indicator value: %u\n", value); in signal()
58 printk("Roaming indicator value: %u\n", value); in roam()
63 printk("Battery indicator value: %u\n", value); in battery()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/periodic_sync/src/
Dmain.c82 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
115 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, " in sync_cb()
130 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
146 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s, tx_power %i, " in recv_cb()
164 printk("Starting Periodic Advertising Synchronization Demo\n"); in main()
167 printk("Checking LED device..."); in main()
169 printk("failed.\n"); in main()
172 printk("done.\n"); in main()
174 printk("Configuring GPIO pin..."); in main()
177 printk("failed.\n"); in main()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/iso_receive/src/
Dmain.c106 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
140 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, " in sync_cb()
155 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
172 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s, tx_power %i, " in recv_cb()
185 printk("BIG INFO[%u]: [DEVICE]: %s, sid 0x%02x, " in biginfo_cb()
227 printk("Incoming data channel %p flags 0x%x seq_num %u ts %u len %u: " in iso_recv()
237 printk("ISO Channel %p connected\n", chan); in iso_connected()
243 printk("ISO Channel %p disconnected with reason 0x%02x\n", in iso_disconnected()
304 printk("Starting Synchronized Receiver Demo\n"); in main()
307 printk("Get reference to LED device..."); in main()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/ll/bis/src/
Dmain.c12 #include <zephyr/sys/printk.h>
116 printk("Vendor sink SDU fragment size %u / %u, seq_num %u, ts %u\n", in test_sink_sdu_emit()
146 printk("VS data path sink created\n"); in ll_data_path_sink_create()
201 printk("Create advertising set..."); in setup_ext_adv()
207 printk("success.\n"); in setup_ext_adv()
209 printk("Setting Periodic Advertising parameters..."); in setup_ext_adv()
216 printk("success.\n"); in setup_ext_adv()
218 printk("Enable Periodic Advertising..."); in setup_ext_adv()
224 printk("success.\n"); in setup_ext_adv()
226 printk("Start extended advertising..."); in setup_ext_adv()
[all …]
/Zephyr-Core-3.6.0/samples/modules/chre/src/
Dmain.cpp6 #include <zephyr/sys/printk.h>
25 printk("Failed to initialize!\n"); in main()
29 printk("Hello CHRE!\n"); in main()
34 * getting them mingled with those printk messages below. in main()
39 printk("Starting EchoApp... %s\n", boolToString(eventLoop.startNanoapp(echo_app))); in main()
40 printk("Nanoapp count=%zu\n", eventLoop.getNanoappCount()); in main()
41printk("Finding instance ID... %s\n", boolToString(eventLoop.findNanoappInstanceIdByAppId(1, &inst… in main()
42 printk("Nanoapp count=%zu\n", eventLoop.getNanoappCount()); in main()
43 printk("Instance ID: %u\n", instanceId); in main()
45 printk("Sending event %zu...\n", eventLoop.getNanoappCount()); in main()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/mesh_provisioner/src/
Dmain.c7 #include <zephyr/sys/printk.h>
36 printk("Health Current Status from 0x%04x\n", addr); in health_current_status()
39 printk("Health Test ID 0x%02x Company ID 0x%04x: no faults\n", in health_current_status()
44 printk("Health Test ID 0x%02x Company ID 0x%04x Fault Count %zu:\n", in health_current_status()
48 printk("\t0x%02x\n", faults[i]); in health_current_status()
80 printk("Failed to allocate app-key 0x%04x\n", app_idx); in setup_cdb()
88 printk("Failed to import appkey into cdb. Err:%d\n", err); in setup_cdb()
104 printk("Configuring self...\n"); in configure_self()
108 printk("No app-key 0x%04x\n", app_idx); in configure_self()
114 printk("Failed to export appkey from cdb. Err:%d\n", err); in configure_self()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/periodic_adv/src/
Dmain.c20 printk("Starting Periodic Advertising Demo\n"); in main()
25 printk("Bluetooth init failed (err %d)\n", err); in main()
32 printk("Failed to create advertising set (err %d)\n", err); in main()
39 printk("Failed to set periodic advertising parameters" in main()
47 printk("Failed to enable periodic advertising (err %d)\n", err); in main()
52 printk("Start Extended Advertising..."); in main()
55 printk("Failed to start extended advertising " in main()
59 printk("done.\n"); in main()
66 printk("Set Periodic Advertising Data..."); in main()
69 printk("Failed (err %d)\n", err); in main()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/central_past/src/
Dmain.c71 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i, name: %s " in scan_recv()
89 printk("Connecting to %s\n", le_addr); in scan_recv()
93 printk("Stop LE scan failed (err %d)\n", err); in scan_recv()
101 printk("Failed to connect (err %d)\n", err); in scan_recv()
129 printk("Failed to connect to %s (%u)\n", addr, err); in connected()
137 printk("Failed to start scan (err %d)\n", bt_err); in connected()
148 printk("Connected: %s\n", addr); in connected()
164 printk("Disconnected: %s (reason 0x%02x)\n", addr, reason); in disconnected()
173 printk("Failed to start scan (err %d)\n", err); in disconnected()
190 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, " in sync_cb()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/iso_broadcast/src/
Dmain.c31 printk("ISO Channel %p connected\n", chan); in iso_connected()
40 printk("ISO Channel %p disconnected with reason 0x%02x\n", in iso_disconnected()
95 printk("Starting ISO Broadcast Demo\n"); in main()
100 printk("Bluetooth init failed (err %d)\n", err); in main()
107 printk("Failed to create advertising set (err %d)\n", err); in main()
114 printk("Failed to set periodic advertising parameters" in main()
122 printk("Failed to enable periodic advertising (err %d)\n", err); in main()
129 printk("Failed to start extended advertising (err %d)\n", err); in main()
136 printk("Failed to create BIG (err %d)\n", err); in main()
141 printk("Waiting for BIG complete chan %u...\n", chan); in main()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/
Dtbs_test.c35 printk("Placing call to remote with id %u to %s\n", call_index, caller_id); in tbs_originate_call_cb()
49 printk("Terminating call with id %u reason: %u", call_index, reason); in tbs_terminate_call_cb()
56 printk("Accepting call with index %u\n", call_index); in tbs_accept_call_cb()
62 printk("Retrieve call with index %u\n", call_index); in tbs_retrieve_call_cb()
71 printk("Call index: %u joined\n", call_indexes[i]); in tbs_join_calls_cb()
97 printk("Connected to %s\n", addr); in connected()
112 printk("%s\n", __func__); in test_provider_name()
119 printk("Set bearer provider name test success\n"); in test_provider_name()
128 printk("%s\n", __func__); in test_set_signal_strength()
135 printk("Set signal strength test success\n"); in test_set_signal_strength()
[all …]
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/stm32wb_ble/src/
Dmain.c13 #include <zephyr/sys/printk.h>
53 printk("Bluetooth init failed (err %d)\n", err); in bt_ready()
57 printk("Bluetooth initialized\n"); in bt_ready()
65 printk("Advertising failed to start (err %d)\n", err); in bt_ready()
78 printk("Beacon started, advertising as %s\n", addr_s); in bt_ready()
84 printk("Advertising failed to stop: %d", err); in bt_ready()
88 printk("Beacon stopped\n"); in bt_ready()
96 printk("Advertising failed to start (err %d)\n", err); in bt_ready()
100 printk("Beacon started\n"); in bt_ready()
104 printk("Advertising failed to stop: %d", err); in bt_ready()
[all …]

12345678910>>...39