/Zephyr-Core-3.4.0/.github/workflows/ |
D | compliance.yml | 3 on: pull_request 7 runs-on: ubuntu-22.04 8 name: Run compliance checks on patch series (PR) 10 - name: Update PATH for west 14 - name: Checkout the code 18 fetch-depth: 0 20 - name: cache-pip 24 key: ${{ runner.os }}-doc-pip 26 - name: Install python dependencies 30 pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint [all …]
|
D | coding_guidelines.yml | 3 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 }}-doc-pip 22 - name: Install python dependencies 28 - name: Install Packages 30 sudo apt-get update [all …]
|
D | issue_count.yml | 3 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 …]
|
D | release.yml | 3 on: 6 - 'v*' 7 - '!v*rc*' 11 runs-on: ubuntu-22.04 13 - uses: actions/checkout@v3 15 fetch-depth: 0 17 - name: Get the version 23 - name: REUSE Compliance Check 24 uses: fsfe/reuse-action@v1 26 args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx [all …]
|
D | scripts_tests.yml | 2 # 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 …]
|
D | codecov.yaml | 3 on: 5 - cron: '25 */3 * * 1-5' 8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 9 cancel-in-progress: true 13 if: github.repository == 'zephyrproject-rtos/zephyr' 14 runs-on: zephyr-runner-linux-x64-4xlarge 16 image: ghcr.io/zephyrproject-rtos/ci:v0.26.4 17 options: '--entrypoint /bin/bash' 19 - /repo-cache/zephyrproject:/github/cache/zephyrproject 21 fail-fast: false [all …]
|
/Zephyr-Core-3.4.0/boards/arm/arduino_nano_33_ble/support/ |
D | startup.cmm | 2 ; 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-Core-3.4.0/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 4 * SPDX-License-Identifier: Apache-2.0 33 #define CHECK(r) { if (r == -1) { printf("Error: " #r "\n"); exit(1); } } 60 printf("Single-threaded dumb HTTP server waits for a connection on " in main() 74 printf("Error in accept: %d - continuing\n", errno); in main() 75 continue; in main() 83 * connection reset error). in main() 96 continue; in main() 99 printf("Got error %d when receiving from " in main() 121 if (sent_len == -1) { in main() 122 printf("Error sending data to peer, errno: %d\n", errno); in main() [all …]
|
/Zephyr-Core-3.4.0/tests/ztest/error_hook/ |
D | README.txt | 1 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-Core-3.4.0/scripts/footprint/ |
D | compare_footprint | 3 # 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-Core-3.4.0/samples/net/sockets/echo/src/ |
D | socket_echo.c | 4 * SPDX-License-Identifier: Apache-2.0 36 printf("error: socket: %d\n", errno); in main() 45 printf("error: bind: %d\n", errno); in main() 50 printf("error: listen: %d\n", errno); in main() 54 printf("Single-threaded TCP echo server waits for a connection on " in main() 65 printf("error: accept: %d\n", errno); in main() 66 continue; in main() 80 printf("error: recv: %d\n", errno); in main() 89 printf("error: send: %d\n", errno); in main() 90 goto error; in main() [all …]
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 4 * SPDX-License-Identifier: Apache-2.0 49 printf("Error: " msg "\n", ##__VA_ARGS__); \ 59 if (fl == -1) { in setblocking() 70 if (fl == -1) { in setblocking() 87 return -1; in pollfds_add() 101 pollfds[i].fd = -1; in pollfds_del() 134 printf("error: socket: %d\n", errno); in main() 139 if (res == -1) { in main() 152 printf("error: socket(AF_INET6): %d\n", errno); in main() 156 /* For Linux, we need to make socket IPv6-only to bind it to the in main() [all …]
|
/Zephyr-Core-3.4.0/samples/subsys/debug/debugmon/src/ |
D | main.c | 4 * 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() 69 printk("Error configuring LED\n"); in main() 77 printk("Error enabling monitor mode:\n" in main()
|
/Zephyr-Core-3.4.0/drivers/spi/ |
D | spi_npcx_fiu.c | 4 * SPDX-License-Identifier: Apache-2.0 33 ((struct fiu_reg *)((const struct npcx_spi_fiu_config *)(dev)->config)->base) 41 inst->UMA_ECTS &= ~BIT(NPCX_UMA_ECTS_SW_CS1); in spi_npcx_fiu_cs_level() 43 inst->UMA_ECTS |= BIT(NPCX_UMA_ECTS_SW_CS1); in spi_npcx_fiu_cs_level() 52 struct npcx_spi_fiu_data *data = dev->data; in spi_npcx_fiu_exec_cmd() 53 struct spi_context *ctx = &data->ctx; in spi_npcx_fiu_exec_cmd() 56 __ASSERT((k_sem_count_get(&ctx->lock) == 0), "UMA is not locked"); in spi_npcx_fiu_exec_cmd() 60 inst->UMA_CODE = code; in spi_npcx_fiu_exec_cmd() 62 inst->UMA_CTS = cts; in spi_npcx_fiu_exec_cmd() 63 while (IS_BIT_SET(inst->UMA_CTS, NPCX_UMA_CTS_EXEC_DONE)) in spi_npcx_fiu_exec_cmd() [all …]
|
/Zephyr-Core-3.4.0/arch/x86/ |
D | gen_idt.py | 5 # 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-Core-3.4.0/scripts/pylib/twister/twisterlib/ |
D | reports.py | 5 # SPDX-License-Identifier: Apache-2.0 20 def __init__(self, plan, env) -> None: 35 log = f.read().decode("utf-8") 67 elif status == "error": 69 el = ET.SubElement(eleTestcase, 'error', type="failure", message=f"{reason}") 83 logger.error(f"{name}: Unknown status '{status}'") 176 continue 201 continue 280 if instance.status in ["error", "failed"]: 315 continue [all …]
|
D | size_calc.py | 5 # SPDX-License-Identifier: Apache-2.0 13 from twisterlib.error import TwisterRuntimeError 74 # These get copied into RAM only on non-XIP 111 report as error and not include in the 136 print("%-17s 0x%08x 0x%08x %8d 0x%05x %-7s" % 145 """Get the amount of RAM the application will use up on the device 152 """Get the size of the data that this application uses on device's flash 169 def get_available_ram(self) -> int: 176 def get_available_rom(self) -> int: 193 def _check_elf_file(self) -> None: [all …]
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 4 * SPDX-License-Identifier: Apache-2.0 31 /* Generic read()/write() are not defined, so use socket-specific recv(). */ 52 printf("Error: " msg "\n", ##__VA_ARGS__); \ 62 if (fl == -1) { in setblocking() 73 if (fl == -1) { in setblocking() 119 printf("error: socket: %d\n", errno); 124 if (res == -1) { 134 printf("error: socket(AF_INET6): %d\n", errno); 138 /* For Linux, we need to make socket IPv6-only to bind it to the 144 printf("error: setsockopt: %d\n", errno); [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/arch/arm/aarch32/ |
D | error.h | 2 * Copyright (c) 2013-2014 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief ARM AArch32 public error handling 11 * ARM AArch32-specific kernel error handling interface. Included by 27 /* ARMv6 will hard-fault if SVC is called with interrupts locked. Just 30 * On ARMv7m we won't get a HardFault, but if interrupts were locked the 31 * thread will continue executing after the exception and forbid PendSV to 79 #error Unknown ARM architecture
|
/Zephyr-Core-3.4.0/samples/drivers/led_xec/src/ |
D | main.c | 4 * 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-Core-3.4.0/subsys/net/lib/zperf/ |
D | zperf_udp_receiver.c | 4 * SPDX-License-Identifier: Apache-2.0 65 stat_hdr->flags = htonl(stat->flags); in build_reply() 66 stat_hdr->total_len1 = htonl(stat->total_len1); in build_reply() 67 stat_hdr->total_len2 = htonl(stat->total_len2); in build_reply() 68 stat_hdr->stop_sec = htonl(stat->stop_sec); in build_reply() 69 stat_hdr->stop_usec = htonl(stat->stop_usec); in build_reply() 70 stat_hdr->error_cnt = htonl(stat->error_cnt); in build_reply() 71 stat_hdr->outorder_cnt = htonl(stat->outorder_cnt); in build_reply() 72 stat_hdr->datagrams = htonl(stat->datagrams); in build_reply() 73 stat_hdr->jitter1 = htonl(stat->jitter1); in build_reply() [all …]
|
/Zephyr-Core-3.4.0/scripts/build/ |
D | check_init_priorities.py | 4 # SPDX-License-Identifier: Apache-2.0 15 but also devices that are initialized at the same priority but depends on each 32 "dts", "python-devicetree", "src")) 33 from devicetree import edtlib # pylint: disable=unused-import 39 # Prefix used for "struct device" reference initialized based on devicetree 121 continue 147 continue 150 continue 157 continue 207 f"ERROR: device {dev} ({dev_path}) already defined") [all …]
|
/Zephyr-Core-3.4.0/samples/drivers/can/counter/src/ |
D | main.c | 4 * 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() 81 continue; in rx_thread() 96 printf("LED %s\n", frame.data[0] == SET_LED ? "ON" : "OFF"); in change_led_work_handler() 113 return "error-active"; in state_to_str() 115 return "error-warning"; in state_to_str() 117 return "error-passive"; in state_to_str() [all …]
|
/Zephyr-Core-3.4.0/scripts/west_commands/zspdx/ |
D | getincludes.py | 3 # SPDX-License-Identifier: Apache-2.0 16 # Returns: list of paths to include files, or [] on error or empty findings. 18 log.dbg(f" - getting includes for {srcFile}") 24 includes = ["-I" + incl.path for incl in tcg.includes] 27 defines = ["-D" + d.define for d in tcg.defines] 30 cmd = [compilerPath, "-E", "-H"] + fragments + includes + defines + [srcFile] 34 log.dbg(f" - calling {compilerPath} failed with error code {cp.returncode}") 40 # Parse the response from the CC -E -H call, to extract the include file paths 47 # the number of periods indicates the depth of nesting (for transitively- 60 continue
|
/Zephyr-Core-3.4.0/scripts/logging/dictionary/dictionary_parser/ |
D | log_parser_v1.py | 5 # SPDX-License-Identifier: Apache-2.0 8 Dictionary-based Logging Parser Version 1 55 # Depends on CONFIG_LOG_TIMESTAMP_64BIT 230 continue 233 # '%%' -> literal percentage sign 235 continue 241 or fmt in (' ', '#', '-', '+', '.', 'h'): 243 continue 250 if fmt_str[idx - 1] == 'l': 251 if fmt_str[idx - 2] == 'l': [all …]
|