Home
last modified time | relevance | path

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

12345678910>>...44

/Zephyr-latest/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-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c12 #include <zephyr/sys/printk.h>
115 printk("Connected.\n"); in connected()
121 printk("Disconnection failed (err %d).\n", err); in connected()
127 printk("Disconnected.\n"); in disconnected()
142 printk("%s: num_sent = %u\n", __func__, info->num_sent); in sent_cb()
151 printk("%s\n", __func__); in connected_cb()
157 printk("%s\n", __func__); in scanned_cb()
179 printk("\n*Extended Advertising test*\n"); in test_advx_main()
181 printk("Bluetooth initializing..."); in test_advx_main()
186 printk("success.\n"); in test_advx_main()
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c11 #include <zephyr/sys/printk.h>
74 printk("Advertiser[%d] %p sent %d\n", bt_le_ext_adv_get_index(adv), in adv_sent_cb()
84 printk("Starting Direction Finding periodic advertising Beacon Demo\n"); in main()
87 printk("Bluetooth initialization..."); in main()
90 printk("failed (err %d)\n", err); in main()
93 printk("success\n"); in main()
95 printk("Advertising set create..."); in main()
98 printk("failed (err %d)\n", err); in main()
101 printk("success\n"); in main()
105 printk("failed (err %d)\n", err); in main()
[all …]
/Zephyr-latest/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 (%d)\n", errno); in sample_echo_packet()
151 printk("Failed to set socket receive timeout (%d)\n", errno); in sample_echo_packet()
[all …]
/Zephyr-latest/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-latest/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-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_past.c10 #include <zephyr/sys/printk.h>
72 printk("Connected: %s\n", addr); in connected()
82 printk("[AD]: %u data_len %u\n", data->type, data->data_len); in eir_found()
114 printk("Create conn failed (err %d)\n", err); in eir_found()
130 printk("[DEVICE]: %s, AD evt type %u, AD data len %u, RSSI %i\n", in device_found()
146 printk("Disconnected: %s (reason 0x%02x)\n", addr, reason); in disconnected()
166 printk("Create advertising set..."); in setup_ext_adv()
172 printk("success.\n"); in setup_ext_adv()
174 printk("Setting Periodic Advertising parameters..."); in setup_ext_adv()
181 printk("success.\n"); in setup_ext_adv()
[all …]
Dtest_bis.c10 #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()
147 printk("VS data path sink created\n"); in ll_data_path_sink_create()
204 printk("Create advertising set..."); in setup_ext_adv()
210 printk("success.\n"); in setup_ext_adv()
212 printk("Setting Periodic Advertising parameters..."); in setup_ext_adv()
219 printk("success.\n"); in setup_ext_adv()
221 printk("Enable Periodic Advertising..."); in setup_ext_adv()
227 printk("success.\n"); in setup_ext_adv()
229 printk("Start extended advertising..."); in setup_ext_adv()
[all …]
/Zephyr-latest/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-latest/samples/sensor/grow_r502a/src/
Dmain.c23 printk("Capture fingerprint failed %d\n", ret); in finger_find()
30 printk("Find fingerprint failed %d\n", ret); in finger_find()
33 printk("Matched ID : %d\n", find.val1); in finger_find()
34 printk("confidence : %d\n", find.val2); in finger_find()
44 printk("Capture fingerprint failed %d\n", ret); in finger_enroll()
51 printk("Create template failed %d\n", ret); in finger_enroll()
58 printk("Fingerprint successfully stored at #%d\n", fid_get.val1); in finger_enroll()
61 printk("Fingerprint store failed %d\n", ret); in finger_enroll()
71 printk("Sample Fetch Error %d\n", ret); in template_count_get()
76 printk("Channel Get Error %d\n", ret); in template_count_get()
[all …]
/Zephyr-latest/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 …]
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/samples/subsys/bindesc/read_bindesc/src/
Dmain.c22 printk("%02x ", buffer[i]); in dump_bytes()
24 printk("\n"); in dump_bytes()
31 printk("tag: %hu len: %hu data: ", entry->tag, entry->len); in dump_descriptors_callback()
35 printk("%u\n", *(const uint32_t *)entry->data); in dump_descriptors_callback()
38 printk("%s\n", (const char *)entry->data); in dump_descriptors_callback()
44 printk("Descriptors terminator\n"); in dump_descriptors_callback()
47 printk("\n"); in dump_descriptors_callback()
75 printk("Found descriptors at 0x%x\n", i); in main()
81 printk("Descriptors not found\n"); in main()
85 printk("\n##################################\n"); in main()
[all …]
/Zephyr-latest/samples/boards/nordic/clock_control/src/
Dmain.c49 printk("\n"); in main()
50 printk("clock name: %s\n", SAMPLE_CLOCK_NAME); in main()
51 printk("minimum frequency request: %uHz\n", CONFIG_SAMPLE_CLOCK_FREQUENCY_HZ); in main()
52 printk("minimum accuracy request: %uPPM\n", CONFIG_SAMPLE_CLOCK_ACCURACY_PPM); in main()
53 printk("minimum precision request: %u\n", CONFIG_SAMPLE_CLOCK_PRECISION); in main()
65 printk("\n"); in main()
66 printk("requesting minimum clock specs\n"); in main()
70 printk("minimum clock specs could not be met\n"); in main()
76 printk("timed out waiting for clock to meet request\n"); in main()
84 printk("sys notify fetch failed\n"); in main()
[all …]
/Zephyr-latest/samples/bluetooth/handsfree/src/
Dmain.c13 #include <zephyr/sys/printk.h>
24 printk("HFP HF Connected!\n"); in connected()
29 printk("HFP HF Disconnected!\n"); in disconnected()
34 printk("Service indicator value: %u\n", value); in service()
39 printk("Call indicator value: %u\n", value); in call()
44 printk("Call Setup indicator value: %u\n", value); in call_setup()
49 printk("Call Held indicator value: %u\n", value); in call_held()
54 printk("Signal indicator value: %u\n", value); in signal()
59 printk("Roaming indicator value: %u\n", value); in roam()
64 printk("Battery indicator value: %u\n", value); in battery()
[all …]
/Zephyr-latest/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-latest/samples/bluetooth/iso_receive/src/
Dmain.c105 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
139 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, " in sync_cb()
154 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
171 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s, tx_power %i, " in recv_cb()
184 printk("BIG INFO[%u]: [DEVICE]: %s, sid 0x%02x, " in biginfo_cb()
226 printk("Incoming data channel %p flags 0x%x seq_num %u ts %u len %u: " in iso_recv()
236 printk("ISO Channel %p connected\n", chan); in iso_connected()
242 printk("ISO Channel %p disconnected with reason 0x%02x\n", in iso_disconnected()
303 printk("Starting Synchronized Receiver Demo\n"); in main()
306 printk("Get reference to LED device..."); in main()
[all …]
/Zephyr-latest/samples/bluetooth/periodic_adv/src/
Dmain.c24 printk("Starting Periodic Advertising Demo\n"); in main()
29 printk("Bluetooth init failed (err %d)\n", err); in main()
36 printk("Failed to create advertising set (err %d)\n", err); in main()
43 printk("Failed to set advertising data (err %d)\n", err); in main()
50 printk("Failed to set periodic advertising parameters" in main()
58 printk("Failed to enable periodic advertising (err %d)\n", err); in main()
63 printk("Start Extended Advertising..."); in main()
66 printk("Failed to start extended advertising " in main()
70 printk("done.\n"); in main()
77 printk("Set Periodic Advertising Data..."); in main()
[all …]
/Zephyr-latest/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-latest/samples/net/stats/src/
Dmain.c28 printk("Statistics for interface %p [%d]\n", iface, in print_stats()
31 printk("Global network statistics\n"); in print_stats()
35 printk("IPv6 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d\n", in print_stats()
41 printk("IPv6 ND recv %d\tsent\t%d\tdrop\t%d\n", in print_stats()
47 printk("IPv6 PMTU recv %d\tsent\t%d\tdrop\t%d\n", in print_stats()
53 printk("IPv6 MLD recv %d\tsent\t%d\tdrop\t%d\n", in print_stats()
61 printk("IPv4 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d\n", in print_stats()
68 printk("IP vhlerr %d\thblener\t%d\tlblener\t%d\n", in print_stats()
72 printk("IP fragerr %d\tchkerr\t%d\tprotoer\t%d\n", in print_stats()
78 printk("IPv4 PMTU recv %d\tsent\t%d\tdrop\t%d\n", in print_stats()
[all …]
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c89 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
137 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, " in sync_cb()
152 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb()
168 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s, tx_power %i, " in recv_cb()
186 printk("Starting Periodic Advertising Synchronization Demo\n"); in main()
189 printk("Checking LED device..."); in main()
191 printk("failed.\n"); in main()
194 printk("done.\n"); in main()
196 printk("Configuring GPIO pin..."); in main()
199 printk("failed.\n"); in main()
[all …]

12345678910>>...44