Home
last modified time | relevance | path

Searched +full:continue +full:- +full:on +full:- +full:error (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/Zephyr-latest/.github/workflows/
Dcompliance.yml3 on:
6 - edited
7 - opened
8 - reopened
9 - synchronize
13 runs-on: ubuntu-22.04
14 name: Run compliance checks on patch series (PR)
16 - name: Update PATH for west
20 - name: Checkout the code
24 fetch-depth: 0
[all …]
Dcoding_guidelines.yml3 on: pull_request
7 runs-on: ubuntu-22.04
8 name: Run coding guidelines checks on patch series (PR)
10 - name: Checkout the code
14 fetch-depth: 0
16 - name: cache-pip
20 key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
22 - name: Install python dependencies
27 - name: Install Packages
29 sudo apt-get update
[all …]
Dissue_count.yml3 on:
5 - cron: '*/10 * * * *'
10 COMMITTER_NAME: github-actions
11 COMMITTER_USERNAME: github-actions
15 track-issues:
17 runs-on: ubuntu-22.04
18 if: github.repository == 'zephyrproject-rtos/zephyr'
21 - name: Download configuration file
23 …wget -q https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/.github/workflows/issues-report-
25 - name: install-packages
[all …]
Drelease.yml3 on:
6 - 'v*'
7 - '!v*rc*'
11 runs-on: ubuntu-22.04
13 - uses: actions/checkout@v4
15 fetch-depth: 0
17 - name: Get the version
23 - name: REUSE Compliance Check
24 uses: fsfe/reuse-action@v4
26 args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
[all …]
Dscripts_tests.yml2 # SPDX-License-Identifier: Apache-2.0
6 on:
9 - main
10 - v*-branch
12 - 'scripts/build/**'
13 - '.github/workflows/scripts_tests.yml'
16 - main
17 - v*-branch
19 - 'scripts/build/**'
20 - '.github/workflows/scripts_tests.yml'
[all …]
/Zephyr-latest/boards/arduino/nano_33_ble/support/
Dstartup.cmm2 ; SPDX-License-Identifier: Apache-2.0
20 QUIT -1
25 PRINT %ERROR "Missing ELF file path"
32 ; process system-wide settings
34 IF OS.FILE("~~/system-settings.cmm")
35 DO "~~/system-settings.cmm"
49 IF OS.FILE("~~/demo/arm/kernel/zephyr/v2-x/zephyr.t32")&&OS.FILE("~~/demo/arm/kernel/zephyr/v2-x/ze…
51 TASK.CONFIG ~~/demo/arm/kernel/zephyr/v2-x/zephyr.t32
52 MENU.ReProgram ~~/demo/arm/kernel/zephyr/v2-x/zephyr.men
69 PRINT %ERROR "GDB Port not defined."
[all …]
/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
48 void tx_irq_callback(const struct device *dev, int error, void *arg) in tx_irq_callback() argument
54 if (error != 0) { in tx_irq_callback()
55 printf("Callback! error-code: %d\nSender: %s\n", in tx_irq_callback()
56 error, sender); in tx_irq_callback()
80 continue; in rx_thread()
85 continue; in rx_thread()
100 continue; in change_led_work_handler()
104 printf("LED %s\n", frame.data[0] == SET_LED ? "ON" : "OFF"); in change_led_work_handler()
121 return "error-active"; in state_to_str()
[all …]
/Zephyr-latest/samples/net/sockets/echo/src/
Dsocket_echo.c4 * SPDX-License-Identifier: Apache-2.0
41 printf("error: socket: %d\n", errno); in main()
48 printf("IPV6_V6ONLY option is on, turning it off.\n"); in main()
62 printf("error: bind: %d\n", errno); in main()
67 printf("error: listen: %d\n", errno); in main()
71 printf("Single-threaded TCP echo server waits for a connection on " in main()
82 printf("error: accept: %d\n", errno); in main()
83 continue; in main()
97 printf("error: recv: %d\n", errno); in main()
106 printf("error: send: %d\n", errno); in main()
[all …]
/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
13 When writing error testing case (or we call it negative test case), we might
14 have to write self-defined k_sys_fatal_handler or post_assert_handler to deal
15 with the errors we caught, in order to make the test continue. This means much
16 identical code would be written. So we try to move the error handler definition
20 And when error happens, we sometimes need a special action to make our testing
22 error happened. This is why we add a hook on it, in order to achieve that goal.
28 (a) Usage for dealing with fatal error:
52 You can choose to use one or both of them, depending on your needs.
[all …]
/Zephyr-latest/scripts/
Dset_assignees.py4 # SPDX-License-Identifier: Apache-2.0
31 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml",
35 group.add_argument("-P", "--pull_request", required=False, default=None, type=int,
36 help="Operate on one pull-request only.")
37 group.add_argument("-I", "--issue", required=False, default=None, type=int,
38 help="Operate on one issue only.")
39 group.add_argument("-s", "--since", required=False,
40 help="Process pull-requests since date.")
41 group.add_argument("-m", "--modules", action="store_true",
42 help="Process pull-requests from modules.")
[all …]
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c4 * SPDX-License-Identifier: Apache-2.0
33 #define CHECK(r) { if (r == -1) { printf("Error: " #r "\n"); exit(1); } }
43 /* If accept returns an error, then we are probably running
75 printf("Single-threaded dumb HTTP server waits for a connection on " in main()
89 printf("Error in accept: %d - continuing\n", errno); in main()
91 continue; in main()
99 * connection reset error). in main()
112 continue; in main()
115 printf("Got error %d when receiving from " in main()
137 if (sent_len == -1) { in main()
[all …]
/Zephyr-latest/include/zephyr/arch/arc/v2/vpx/
Darc_vpx.h4 * SPDX-License-Identifier: Apache-2.0
13 * @brief Obtain a cooperative lock on the VPX vector registers
15 * This function is used to obtain a cooperative lock on the current CPU's
18 * executing on a single CPU, and continue to execute on that same CPU while
26 * @return Zero on success, otherwise error code
31 * @brief Release cooperative lock on the VPX vector registers
33 * This function is used to release the cooperative lock on the current CPU's
42 * @brief Release cooperative lock on a CPU's VPX vector registers
44 * This function is used to release the cooperative lock on the specified CPU's
/Zephyr-latest/scripts/footprint/
Dcompare_footprint3 # SPDX-License-Identifier: Apache-2.0
35 logging.error("$ZEPHYR_BASE environment variable undefined.\n")
44 proc = subprocess.Popen('git rev-parse --is-inside-work-tree',
58 elif log_lev == "ERROR":
59 level = logging.ERROR
62 format = logging.Formatter('%(levelname)-8s: %(message)s')
75 parser.add_argument('-b', '--base-commit', default=None,
79 parser.add_argument('-c', '--commit', default=None,
86 proc = subprocess.Popen('git rev-parse %s' % commit, stdout=subprocess.PIPE,
89 commit_id = proc.stdout.read().decode("utf-8").strip()
[all …]
/Zephyr-latest/samples/subsys/debug/debugmon/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
26 * altered from debug access port. It is cleared on power-on-reset. in debug_mon_enable()
28 bool is_in_halting_mode = (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) == 1; in debug_mon_enable()
31 return -1; in debug_mon_enable()
35 CoreDebug->DEMCR |= CoreDebug_DEMCR_MON_EN_Msk; in debug_mon_enable()
53 /* Spin in breakpoint. Other, higher-priority interrupts will continue to execute */ in z_arm_debug_monitor()
70 printk("Error configuring LED\n"); in main()
78 printk("Error enabling monitor mode:\n" in main()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c4 * SPDX-License-Identifier: Apache-2.0
51 printf("Error: " msg "\n", ##__VA_ARGS__); \
61 if (fl == -1) { in setblocking()
72 if (fl == -1) { in setblocking()
89 return -1; in pollfds_add()
103 pollfds[i].fd = -1; in pollfds_del()
138 printf("error: socket: %d\n", errno); in main()
143 if (res == -1) { in main()
156 printf("error: socket(AF_INET6): %d\n", errno); in main()
160 /* For Linux, we need to make socket IPv6-only to bind it to the in main()
[all …]
/Zephyr-latest/include/zephyr/arch/arm/
Derror.h2 * Copyright (c) 2013-2014 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
10 * @brief ARM AArch32 public error handling
12 * ARM AArch32-specific kernel error handling interface. Included by
28 /* ARMv6 will hard-fault if SVC is called with interrupts locked. Just
31 * On ARMv7m we won't get a HardFault, but if interrupts were locked the
32 * thread will continue executing after the exception and forbid PendSV to
68 #error Unknown ARM architecture
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dmgmt.h2 * Copyright (c) 2018-2021 mcumgr authors
3 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
37 * @return Newly-allocated buffer on success NULL on failure.
52 #define MGMT_CTXT_SET_RC_RSN(mc, rsn) ((mc->rc_rsn) = (rsn))
53 #define MGMT_CTXT_RC_RSN(mc) ((mc)->rc_rsn)
62 * A separate handler is required for each supported op-ID pair.
66 * @return 0 if a response was successfully encoded, #mcumgr_err_t code on failure.
97 /** A function handler for translating version 2 SMP error codes to version 1 SMP error
109 /** NULL-terminated name of group */
[all …]
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c4 * SPDX-License-Identifier: Apache-2.0
32 /* Generic read()/write() are not defined, so use socket-specific recv(). */
53 printf("Error: " msg "\n", ##__VA_ARGS__); \
63 if (fl == -1) { in setblocking()
74 if (fl == -1) { in setblocking()
120 printf("error: socket: %d\n", errno);
125 if (res == -1) {
135 printf("error: socket(AF_INET6): %d\n", errno);
139 /* For Linux, we need to make socket IPv6-only to bind it to the
145 printf("error: setsockopt: %d\n", errno);
[all …]
/Zephyr-latest/arch/x86/
Dgen_idt.py5 # SPDX-License-Identifier: Apache-2.0
11 for more details on this data structure.
14 which is a link of the Zephyr kernel without various build-time
46 # These exception vectors push an error code onto the stack.
56 def error(text): function
66 gate_type = 0xE # 32-bit interrupt gate
79 gate_type = 0x5 # 32-bit task gate
90 error("entry specifies both handler function and tss")
93 error("entry does not specify either handler or tss")
120 if irq == -1:
[all …]
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py5 # SPDX-License-Identifier: Apache-2.0
8 Dictionary-based Logging Parser Version 1
48 # Depends on CONFIG_LOG_TIMESTAMP_64BIT
125 continue
128 # '%%' -> literal percentage sign
130 continue
136 or fmt in (' ', '#', '-', '+', '.', 'h'):
138 continue
147 if fmt_str[idx - 1] == 'l':
148 if fmt_str[idx - 2] == 'l':
[all …]
Dlog_parser_v3.py5 # SPDX-License-Identifier: Apache-2.0
9 # pylint: disable=duplicate-code
12 Dictionary-based Logging Parser Version 3
51 # Depends on CONFIG_LOG_TIMESTAMP_64BIT
130 continue
133 # '%%' -> literal percentage sign
135 continue
141 or fmt in (' ', '#', '-', '+', '.', 'h'):
143 continue
152 if fmt_str[idx - 1] == 'l':
[all …]
/Zephyr-latest/samples/drivers/led/xec/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
76 LOG_ERR("%s: device not ready", dev->name); in led_test()
77 continue; in led_test()
85 LOG_ERR("LED blink API returned error %d", ret); in led_test()
97 LOG_ERR("LED blink API returned error %d", ret); in led_test()
104 LOG_INF("Set ON"); in led_test()
107 LOG_ERR("LED ON API returned error %d", ret); in led_test()
117 LOG_ERR("LED OFF API returned error %d", ret); in led_test()
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dreports.py5 # SPDX-License-Identifier: Apache-2.0
27 ERROR = 'error' variable in ReportStatus
44 def __init__(self, plan, env) -> None:
61 log = f.read().decode("utf-8")
105 elif status == TwisterStatus.ERROR:
107 el = ET.SubElement(eleTestcase, ReportStatus.ERROR, type="failure", message=f"{reason}")
128 logger.error(f"{name}: Unknown status '{status}'")
226 continue
254 continue
313 continue
[all …]
Dhandlers.py4 # Copyright (c) 2018-2022 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
29 from twisterlib.error import TwisterException
39 print("Install pyserial python module with pip to use --device-testing option.")
44 if os.name == "nt": # "nt" means that program is running on Windows OS
45 pass # "--device-serial-pty" option is not supported on Windows OS
123 _d_suite = detected_suite_names[-len(expected_suite_names):]
219 this_timeout = timeout_time - time.time()
226 line_decoded = self.line.decode('utf-8', "replace")
229 stripped_line = stripped_line[:-len(suffix)].rstrip()
[all …]
Dsize_calc.py5 # SPDX-License-Identifier: Apache-2.0
13 from twisterlib.error import TwisterRuntimeError
73 # These get copied into RAM only on non-XIP
110 report as error and not include in the
144 """Get the amount of RAM the application will use up on the device
151 """Get the size of the data that this application uses on device's flash
168 def get_available_ram(self) -> int:
175 def get_available_rom(self) -> int:
192 def _check_elf_file(self) -> None:
204 def _check_is_xip(self) -> None:
[all …]

12345678910>>...16