/Zephyr-Core-2.7.6/cmake/usage/ |
D | usage.cmake | 3 message(FATAL_ERROR "ZEPHYR_BASE not set") 13 message("Cleaning targets:") 14 message(" clean - Remove most generated files but keep configuration and backup files") 15 message(" pristine - Remove all files in the build directory") 16 message("") 17 message("Kconfig targets:") 18 message(" menuconfig - Update .config using a console-based interface") 19 message(" guiconfig - Update .config using a graphical interface") 20 message("") 21 message("Other generic targets:") [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/ |
D | README.rst | 8 The sample project illustrates usage of timers and message queues using 11 The main thread creates a preemptive thread which writes message to message queue 12 and on timer expiry, message is read by main thread. 32 Wrote to message queue: 5 33 Read from message queue: 5 35 Wrote to message queue: 6 36 Read from message queue: 6 38 Wrote to message queue: 7 39 Read from message queue: 7 41 Wrote to message queue: 8 [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/ |
D | README.rst | 8 The sample project illustrates usage of timers and message queues using 11 The main thread creates a preemptive thread which writes message to message queue 12 and on timer expiry, message is read by main thread. 32 Wrote to message queue: 5 33 Read from message queue: 5 35 Wrote to message queue: 6 36 Read from message queue: 6 38 Wrote to message queue: 7 39 Read from message queue: 7 41 Wrote to message queue: 8 [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/ipc_service/remote/src/ |
D | main.c | 48 static void ept_error_1(const char *message, void *priv) in ept_error_1() argument 50 printk("Endpoint [1] error: %s", message); in ept_error_1() 64 static void ept_error_2(const char *message, void *priv) in ept_error_2() argument 66 printk("Endpoint [2] error: %s", message); in ept_error_2() 75 uint8_t message = 0U; in app_task_1() local 98 while (message < 99) { in app_task_1() 100 message = received_data_1; in app_task_1() 101 printk("Remote [1] received a message: %d\n", message); in app_task_1() 103 message++; in app_task_1() 104 status = ipc_service_send(ept_1, &message, sizeof(message)); in app_task_1() [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/ipc_service/src/ |
D | main.c | 49 static void ept_error_1(const char *message, void *priv) in ept_error_1() argument 51 printk("Endpoint [1] error: %s", message); in ept_error_1() 65 static void ept_error_2(const char *message, void *priv) in ept_error_2() argument 67 printk("Endpoint [2] error: %s", message); in ept_error_2() 76 uint8_t message = 0U; in app_task_1() local 99 while (message < 100) { in app_task_1() 100 status = ipc_service_send(ept_1, &message, sizeof(message)); in app_task_1() 103 message, status); in app_task_1() 108 message = received_data_1; in app_task_1() 110 printk("Master [1] received a message: %d\n", message); in app_task_1() [all …]
|
/Zephyr-Core-2.7.6/doc/reference/kernel/data_passing/ |
D | mailboxes.rst | 6 A :dfn:`mailbox` is a kernel object that provides enhanced message queue 7 capabilities that go beyond the capabilities of a message queue object. 25 * A **receive queue** of threads that are waiting to receive a message. 31 A thread that sends a message is known as the **sending thread**, 32 while a thread that receives the message is known as the **receiving thread**. 33 Each message may be received by only one thread (i.e. point-to-multipoint and 43 A **message descriptor** is a data structure that specifies where a message's 44 data is located, and how the message is to be handled by the mailbox. 45 Both the sending thread and the receiving thread supply a message descriptor 46 when accessing a mailbox. The mailbox uses the message descriptors to perform [all …]
|
D | message_queues.rst | 6 A :dfn:`message queue` is a kernel object that implements a simple 7 message queue, allowing threads and ISRs to asynchronously send and receive 17 Any number of message queues can be defined (limited only by available RAM). 18 Each message queue is referenced by its memory address. 20 A message queue has the following key properties: 28 The message queue's ring buffer must be aligned to an N-byte boundary, where 33 A message queue must be initialized before it can be used. 36 A data item can be **sent** to a message queue by a thread or an ISR. 38 if one exists; otherwise the item is copied to the message queue's ring buffer, 40 *must* equal the message queue's data item size. [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/ipc_service/ |
D | README.rst | 40 Master [1] received a message: 1 41 Master [2] received a message: 1 42 Master [1] received a message: 3 43 Master [2] received a message: 3 46 Master [1] received a message: 99 48 Master [2] received a message: 99 59 Remote [1] received a message: 0 60 Remote [2] received a message: 0 61 Remote [1] received a message: 2 62 Remote [2] received a message: 2 [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_service/remote/src/ |
D | main.c | 46 static int send_message(unsigned int message) in send_message() argument 48 return rpmsg_service_send(ep_id, &message, sizeof(message)); in send_message() 57 unsigned int message = 0U; in app_task() local 61 while (message < 99) { in app_task() 62 message = receive_message(); in app_task() 63 printk("Remote core received a message: %d\n", message); in app_task() 65 message++; in app_task() 66 status = send_message(message); in app_task() 69 message, status); in app_task()
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/ |
D | README.rst | 38 Master [no 1] core received a message: 1 39 Master [no 2] core received a message: 1 40 Master [no 1] core received a message: 3 41 Master [no 2] core received a message: 3 42 Master [no 1] core received a message: 5 43 Master [no 2] core received a message: 5 45 Master [no 1] core received a message: 99 47 Master [no 2] core received a message: 99 59 Remote [no 1] core received a message: 0 60 Remote [no 2] core received a message: 0 [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_service/src/ |
D | main.c | 48 static int send_message(unsigned int message) in send_message() argument 50 return rpmsg_service_send(ep_id, &message, sizeof(message)); in send_message() 59 unsigned int message = 0U; in app_task() local 70 while (message < 100) { in app_task() 71 status = send_message(message); in app_task() 74 message, status); in app_task() 78 message = receive_message(); in app_task() 79 printk("Master core received a message: %d\n", message); in app_task() 81 message++; in app_task()
|
/Zephyr-Core-2.7.6/soc/arm/nuvoton_npcx/common/ecst/ |
D | ecst.py | 215 message = f'Invalid chip name, ' 216 message += "should be npcx9m8, npcx9m7, npcx9m6, npcx7m7," \ 218 _exit_with_failure_delete_file(output, message) 284 message = f'Paste firmware address ({paste_fw_offset_to_print}) ' \ 286 _exit_with_failure_delete_file(output, message) 289 message = f' input file size ({input_file_size} bytes) ' \ 291 _exit_with_failure_delete_file(output, message) 294 message = f'FW offset ({paste_fw_offset_to_print})should be less ' \ 297 _exit_with_failure_delete_file(output, message) 326 message = f'Cannot read SPI Clock Ratio' [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/remote/src/ |
D | main.c | 125 uint8_t message = 0U; in app_task_1() local 145 while (message < 99) { in app_task_1() 147 message = received_data_1; in app_task_1() 148 printk("Remote [no 1] core received a message: %d\n", message); in app_task_1() 150 message++; in app_task_1() 151 status = rpmsg_mi_send(&ept_1, &message, sizeof(message)); in app_task_1() 154 message, status); in app_task_1() 167 uint8_t message = 0U; in app_task_2() local 187 while (message < 99) { in app_task_2() 189 message = received_data_2; in app_task_2() [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/src/ |
D | main.c | 126 uint8_t message = 0U; in app_task_1() local 146 while (message < 100) { in app_task_1() 147 status = rpmsg_mi_send(&ept_1, &message, sizeof(message)); in app_task_1() 150 message, status); in app_task_1() 154 message = received_data_1; in app_task_1() 156 printk("Master [no 1] core received a message: %d\n", message); in app_task_1() 157 message++; in app_task_1() 169 uint8_t message = 0U; in app_task_2() local 188 while (message < 100) { in app_task_2() 189 status = rpmsg_mi_send(&ept_2, &message, sizeof(message)); in app_task_2() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 86 const struct msghdr *message) in mqtt_client_tcp_write_msg() argument 93 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tcp_write_msg() 94 total_len += message->msg_iov[i].iov_len; in mqtt_client_tcp_write_msg() 98 ret = zsock_sendmsg(client->transport.tcp.sock, message, 0); in mqtt_client_tcp_write_msg() 109 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tcp_write_msg() 110 if (ret < message->msg_iov[i].iov_len) { in mqtt_client_tcp_write_msg() 111 message->msg_iov[i].iov_len -= ret; in mqtt_client_tcp_write_msg() 112 message->msg_iov[i].iov_base = in mqtt_client_tcp_write_msg() 113 (uint8_t *)message->msg_iov[i].iov_base + ret; in mqtt_client_tcp_write_msg() 117 ret -= message->msg_iov[i].iov_len; in mqtt_client_tcp_write_msg() [all …]
|
D | mqtt_transport_socket_tls.c | 121 const struct msghdr *message) in mqtt_client_tls_write_msg() argument 127 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tls_write_msg() 128 total_len += message->msg_iov[i].iov_len; in mqtt_client_tls_write_msg() 132 ret = zsock_sendmsg(client->transport.tls.sock, message, 0); in mqtt_client_tls_write_msg() 143 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tls_write_msg() 144 if (ret < message->msg_iov[i].iov_len) { in mqtt_client_tls_write_msg() 145 message->msg_iov[i].iov_len -= ret; in mqtt_client_tls_write_msg() 146 message->msg_iov[i].iov_base = in mqtt_client_tls_write_msg() 147 (uint8_t *)message->msg_iov[i].iov_base + ret; in mqtt_client_tls_write_msg() 151 ret -= message->msg_iov[i].iov_len; in mqtt_client_tls_write_msg() [all …]
|
D | mqtt_transport.h | 30 const struct msghdr *message); 95 const struct msghdr *message); 123 const struct msghdr *message); 134 const struct msghdr *message); 145 const struct msghdr *message); 156 const struct msghdr *message);
|
/Zephyr-Core-2.7.6/samples/modules/nanopb/src/ |
D | main.c | 26 SimpleMessage message = SimpleMessage_init_zero; in encode_message() local 32 message.lucky_number = 13; in encode_message() 35 status = pb_encode(&stream, SimpleMessage_fields, &message); in encode_message() 50 SimpleMessage message = SimpleMessage_init_zero; in decode_message() local 56 status = pb_decode(&stream, SimpleMessage_fields, &message); in decode_message() 61 printk("Your lucky number was %d!\n", (int)message.lucky_number); in decode_message()
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_service/ |
D | README.rst | 47 Reset the board and the following message will appear on the corresponding 56 Master core received a message: 1 57 Master core received a message: 3 58 Master core received a message: 5 60 Master core received a message: 99 70 Remote core received a message: 0 71 Remote core received a message: 2 72 Remote core received a message: 4 74 Remote core received a message: 98 108 Master core received a message: 1 [all …]
|
/Zephyr-Core-2.7.6/doc/reference/bluetooth/mesh/ |
D | msg.rst | 6 The Bluetooth mesh message provides set of structures, macros and functions used 7 for preparing message buffers, managing message and acknowledged message
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/openamp/ |
D | README.rst | 53 Reset the board and the following message will appear on the corresponding 62 Master core received a message: 1 63 Master core received a message: 3 64 Master core received a message: 5 66 Master core received a message: 99 76 Remote core received a message: 0 77 Remote core received a message: 2 78 Remote core received a message: 4 80 Remote core received a message: 98
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/openamp/remote/src/ |
D | main.c | 136 static int send_message(unsigned int message) in send_message() argument 138 return rpmsg_send(ep, &message, sizeof(message)); in send_message() 147 unsigned int message = 0U; in app_task() local 238 while (message < 99) { in app_task() 239 message = receive_message(); in app_task() 240 printk("Remote core received a message: %d\n", message); in app_task() 242 message++; in app_task() 243 status = send_message(message); in app_task() 246 message, status); in app_task()
|
/Zephyr-Core-2.7.6/scripts/gitlint/ |
D | zephyr_commit_rules.py | 31 …filtered = [x for x in commit.message.body if not x.lower().startswith("signed-off-by") and x != '… 35 message = "Body has no content, should at least have {} line.".format(min_line_count) 36 return [RuleViolation(self.id, message, line_nr=1)] 49 line_count = len(commit.message.body) 52 message = "Body contains too many lines ({0} > {1})".format(line_count, max_line_count) 53 return [RuleViolation(self.id, message, line_nr=1)] 69 for line in commit.message.body:
|
/Zephyr-Core-2.7.6/samples/subsys/ipc/openamp/src/ |
D | main.c | 159 static int send_message(unsigned int message) in send_message() argument 161 return rpmsg_send(ep, &message, sizeof(message)); in send_message() 172 unsigned int message = 0U; in app_task() local 263 while (message < 100) { in app_task() 264 status = send_message(message); in app_task() 267 message, status); in app_task() 271 message = receive_message(); in app_task() 272 printk("Master core received a message: %d\n", message); in app_task() 274 message++; in app_task()
|
/Zephyr-Core-2.7.6/doc/reference/logging/ |
D | index.rst | 18 - Deferred logging reduces the time needed to log a message by shifting time 20 the log message when called. 31 - Printk support - printk message can be redirected to the logging. 44 - Log message is no longer fragmented. It is self-contained block of memory which 47 - Improved performance when logging to full buffer and message are dropped. 70 - ``LOG_INST_X`` for standard printf-like message associated with the 92 to log the message. Time consuming operations like string formatting or access to the 94 API is called a message is created and added to the list. Dedicated, 96 standard and hexdump. Each message contain source ID (module or instance ID and 98 severity level. Standard message contains pointer to the string and arguments. [all …]
|