/Zephyr-latest/tests/unit/timeutil/ |
D | test_sync.c | 4 * SPDX-License-Identifier: Apache-2.0 26 return (uint64_t)factor * (uint64_t)cfg->ref_Hz; in scale_ref() 32 return (uint64_t)factor * (uint64_t)cfg->local_Hz; in scale_local() 38 return (int64_t)factor * (int64_t)cfg->local_Hz; in scale_local_signed() 48 zassert_equal(rv, -EINVAL, in test_state_update() 55 si.ref = 1; in test_state_update() 59 zassert_equal(ss.base.ref, 1, in test_state_update() 61 zassert_equal(ss.latest.ref, 0, in test_state_update() 62 "unexpected latest ref"); in test_state_update() 67 zassert_equal(rv, -EINVAL, in test_state_update() [all …]
|
/Zephyr-latest/lib/utils/ |
D | timeutil.c | 4 * SPDX-License-Identifier: Apache-2.0 20 * 1970-01-01. 23 * @param m the calendar month, in the range [1, 12] 24 * @param d the day of the month, in the range [1, last_day_of_month(y, m)] 27 * 1970-01-01 35 y -= m <= 2; in time_days_from_civil() 37 int64_t era = ((y >= 0) ? y : (y - 399)) / 400; in time_days_from_civil() 38 unsigned int yoe = y - era * 400; in time_days_from_civil() 39 unsigned int doy = (153U * (m + ((m > 2) ? -3 : 9)) + 2U) / 5U + d; in time_days_from_civil() 40 unsigned int doe = yoe * 365U + yoe / 4U - yoe / 100U + doy; in time_days_from_civil() [all …]
|
/Zephyr-latest/.github/ |
D | SECURITY.md | 8 - The most recent release, and the release prior to that. 9 - Active LTS releases. 11 At this time, with the latest release of v4.0, the supported 14 - v4.1: Current release 15 - v4.0: Prior release 16 - v3.7: Current LTS 21 Reporting](https://docs.zephyrproject.org/latest/security/reporting.html)
|
/Zephyr-latest/include/zephyr/sys/ |
D | timeutil.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * inverse transformations are non-standard or require access to time 44 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 50 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 55 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 60 * the time cannot be represented then @c (time_t)-1 is returned and 63 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 83 * source like an RTC chip with 1 Hz resolution requires a much larger 140 * State objects should be zero-initialized before use. 153 struct timeutil_sync_instant latest; member [all …]
|
/Zephyr-latest/scripts/ci/ |
D | version_mgr.py | 2 # Copyright (c) 2020-2023 Intel Corp. 3 # SPDX-License-Identifier: Apache-2.0 30 parser.add_argument('-l', '--list', action="store_true", 32 parser.add_argument('-u', '--update', 34 parser.add_argument('-L', '--latest', action="store_true", 35 help="Get latest published version") 36 parser.add_argument('-w', '--weekly', action="store_true", 38 parser.add_argument('-W', '--list-weekly', action="store_true", 40 parser.add_argument('-v', '--verbose', action="store_true", 79 pdate = datetime.strptime(item_compat['date'], '%Y-%m-%dT%H:%M:%S.%f') [all …]
|
/Zephyr-latest/doc/develop/sca/ |
D | gcc.rst | 7 with the option ``-fanalyzer``. This option performs a much more expensive and thorough 13 To run GCC static analysis, :ref:`west build <west-building>` should be 14 called with a ``-DZEPHYR_SCA_VARIANT=gcc`` parameter, e.g. 16 .. zephyr-app-commands:: 17 :zephyr-app: samples/userspace/hello_world_user 19 :gen-args: -DZEPHYR_SCA_VARIANT=gcc 29 analyzer <https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.html>`__ 31 formatting <https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Message-Formatting-Options.html>`__ 33 .. list-table:: 34 :header-rows: 1 [all …]
|
/Zephyr-latest/doc/_templates/ |
D | layout.html | 4 <div class="wy-alert wy-alert-danger" data-nosnippet> 5 The <a href="/latest/{{ pagename }}.html">latest development version</a> 12 <div data-nosnippet> 16 <div class="toctree-wrapper compound"> 17 <p class="caption"><span class="caption-text">Reference</span></p> 20 <li class="toctree-l1"> 30 <meta name="color-scheme" content="dark light"> 34 See https://github.com/GoogleChromeLabs/dark-mode-toggle/issues/77 #} 35 <noscript id="dark-mode-toggle-stylesheets"> 36 …"stylesheet" href="{{ pathto('_static/css/light.css', 1) }}" type="text/css" media="(prefers-color… [all …]
|
D | searchbox.html | 3 (ex. built-in search, Google Custom Search, ...) 5 {%- if ('singlehtml' not in builder) %} 6 <div class="search-container" role="search"> 7 <form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get"> 9 aria-label="{{ _('Search docs') }}" /> 10 {%- if google_searchengine_id is defined %} 11 <span id="search-se-settings-icon" class="fa fa-gear" role="button" tabindex="0" 12 title="Search settings" aria-label="Search settings" 13 aria-haspopup="true" aria-controls="search-se-menu" aria-expanded="false" 16 <div id="search-se-menu" role="menu" aria-labelledby="search-se-settings-icon"> [all …]
|
/Zephyr-latest/cmake/modules/ |
D | FindTargetTools.cmake | 1 # SPDX-License-Identifier: Apache-2.0 7 # +---------------------------------------------------------------+ 9 # +---------------------------------------------------------------+ 10 # | Target C-compiler | Yes | | 13 # +---------------------------------------------------------------+ 19 # Set to 'CMAKE_C_COMPILER-NOTFOUND' if no C compiler was found. 31 set(CMAKE_C_COMPILER_FORCED 1) 32 set(CMAKE_CXX_COMPILER_FORCED 1) 34 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html: 42 # like Linux.cmake or Windows-gcc.cmake. If your target is an embedded [all …]
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | analysis_heavy_STU.ecl | 9 -eval_file=zephyr_common_config.ecl 11 -doc_begin="Selection of guidelines from 12 https://docs.zephyrproject.org/latest/guides/coding_guidelines/index.html" 13 -enable=MC3R1.D4.6 14 -enable=MC3R1.D4.9 15 -enable=MC3R1.R12.1 16 -enable=MC3R1.R13.3 17 -enable=MC3R1.R2.6 18 -enable=MC3R1.R10.1 19 -enable=MC3R1.R10.3 [all …]
|
D | analysis_WP.ecl | 9 -eval_file=zephyr_common_config.ecl 11 -doc_begin="Selection of guidelines from 12 https://docs.zephyrproject.org/latest/guides/coding_guidelines/index.html" 13 -enable=MC3R1.R2.3 14 -enable=MC3R1.R2.1 15 -enable=MC3R1.R5.9 16 -enable=MC3R1.R5.1 17 -enable=MC3R1.R5.6 18 -enable=MC3R1.R5.7 19 -enable=MC3R1.R5.8 [all …]
|
D | analysis_first_analysis.ecl | 9 -eval_file=zephyr_common_config.ecl 11 -doc_begin="Selection of guidelines from 12 https://docs.zephyrproject.org/latest/guides/coding_guidelines/index.html" 13 -enable=MC3R1.R8.2 14 -enable=MC3R1.R10.2 15 -enable=MC3R1.R10.5 16 -enable=MC3R1.R10.6 17 -enable=MC3R1.R11.2 18 -enable=MC3R1.R12.4 19 -enable=MC3R1.R13.4 [all …]
|
D | analysis_std_lib.ecl | 8 -eval_file=zephyr_common_config.ecl 10 -doc_begin="Selection of guidelines from 11 https://docs.zephyrproject.org/latest/guides/coding_guidelines/index.html" 12 -enable=MC3R1.R21.1 13 -enable=MC3R1.R21.12 14 -enable=MC3R1.R21.14 15 -enable=MC3R1.R21.15 16 -enable=MC3R1.R21.16 17 -enable=MC3R1.R21.2 18 -enable=MC3R1.R21.3 [all …]
|
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_isochronous_connected_benchmark 3 :relevant-api: bt_iso bluetooth 35 See :zephyr:code-sample-category:`bluetooth` samples for details. 44 1. Connect to both boards with a terminal emulator (for example, PuTTY or 54 by uni- or bidirectional). 59 current connection (since the CIG was connected) and latest 1000 received 62 *** Booting Zephyr OS build zephyr-v2.5.0-4098-gdcaaee6db2f5 *** 65 Choose device role - type c (central role) or p (peripheral role), or q to quit: p 76 …[00:00:17.774,902] <inf> iso_connected: Overall : Received 100/100 (100.00%) - Total packets l… 77 …[00:00:17.774,932] <inf> iso_connected: Current Conn: Received 100/100 (100.00%) - Total packets l… [all …]
|
/Zephyr-latest/.github/workflows/ |
D | ready-to-merge.yml | 13 runs-on: ubuntu-latest 15 - name: "Check status of all required jobs" 16 run: |- 18 JOB_IDS=$(echo "$NEEDS_CONTEXT" | jq -r 'keys[]') 20 RESULT=$(echo "$NEEDS_CONTEXT" | jq -r ".[\"$JOB_ID\"].result") 25 exit 1
|
/Zephyr-latest/.github/ISSUE_TEMPLATE/ |
D | 006_nomination.md | 1 --- 8 --- 30 1. Full Name 31 1. GitHub username 32 1. Organization (optional) 36 Add links to 3-5 GitHub pull requests, in the Zephyr project, authored or 41 [TSC Project Roles]: <https://docs.zephyrproject.org/latest/project/project_roles.html> 42 …//docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-r…
|
/Zephyr-latest/boards/openisa/rv32m1_vega/ |
D | rv32m1_vega_openisa_rv32m1_ri5cy.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 19 zephyr,shell-uart = &lpuart0; 20 zephyr,uart-pipe = &lpuart0; 21 zephyr,code-partition = &slot0_partition; 22 zephyr,bt-hci = &bt_hci_controller; 33 * http://docs.zephyrproject.org/latest/guides/dts/index.html 36 compatible = "fixed-partitions"; 37 #address-cells = <1>; 38 #size-cells = <1>; [all …]
|
/Zephyr-latest/boards/ezurio/bl5340_dvk/ |
D | bl5340_dvk_nrf5340_cpunet_common.dtsi | 2 * Copyright (c) 2021-2023 Laird Connectivity 4 * SPDX-License-Identifier: Apache-2.0 36 * http://docs.zephyrproject.org/latest/guides/dts/index.html#flash-partitions 39 compatible = "fixed-partitions"; 40 #address-cells = <1>; 41 #size-cells = <1>; 50 label = "image-0"; 55 label = "image-1";
|
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_isochronous_broadcaster_benchmark 3 :relevant-api: bt_iso bluetooth 36 See :zephyr:code-sample-category:`bluetooth` samples for details. 45 1. Connect to both boards with a terminal emulator (for example, PuTTY or 59 (since the BIG was synced) and latest 1000 received packets:: 61 *** Booting Zephyr OS build zephyr-v2.5.0-3768-g42f09317bfbe *** 63 Choose device role - type r (receiver role) or b (broadcaster role), or q to quit: r 67 … <inf> iso_broadcast_receiver: Found broadcaster with address 28:3B:AD:F5:EE:0C (random) (RSSI -33) 76 … iso_broadcast_receiver: BIGinfo received: num_bis 2, nse 1, interval 7 ms, bn 1, pto 0, irc 1, ma… 82 …39,343] <inf> iso_broadcast_receiver: Overall : Received 99/100 (99.00%) - Total packets lost 1 [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/coex/ |
D | readme.rst | 2 Bluetooth co-existence drivers 5 Co-existence Ticker 8 …cker.c` is designed to utilize co-existence with another transmitter. Chips such as nordic nRF9160… 10 … the 1-wire and 3-wire co-existence interface for the `SoftDevice Bluetooth controller <https://de… 12 Similarly, as in the nordic implementation of the 1-wire interface, the coexistence ticker utilizes… 14 .. code-block:: DTS 17 compatible = "gpio-radio-coex"; 18 grant-gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>; 19 grant-delay-us = <150>; 22 Whenever the grant pin transitions into non-active (such as 1 for the nRF9160). state the implement…
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.xmc4xxx | 4 # SPDX-License-Identifier: Apache-2.0 34 data fragment and its size. The data fragments are pre-allocated from the rx 37 in the descriptors are replaced by new pre-allocated buffers. 41 default y if NET_VLAN_COUNT=1 47 called multiple times, the filtering will be done on the latest
|
/Zephyr-latest/boards/gaisler/generic_leon3/doc/ |
D | index.rst | 14 designs such as the Digilent Arty A7, Terasic DE0-Nano and Microsemi 15 M2GL-EVAL-KIT. 32 the Terasic DE2-115 Cyclone IV FPGA board. 34 .. code-block:: console 36 $ grmon -altjtag -u 39 Copyright (C) 2020 Cobham Gaisler - All rights reserved. 40 For latest updates, go to http://www.gaisler.com/ 41 Comments or bug-reports to support@gaisler.com 43 JTAG chain (1): EP3C120/EP4CE115 57 Multi-processor Interrupt Ctrl. Cobham Gaisler [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/util/ |
D | dbuf.c | 4 * SPDX-License-Identifier: Apache-2.0 21 first = hdr->first; in dbuf_alloc() 22 last = hdr->last; in dbuf_alloc() 34 * this function updates/modifies the latest PDU. in dbuf_alloc() 37 * 1. LLL runs before `pdu->last` is reverted, then `pdu->first` in dbuf_alloc() 38 * has changed, hence restore `pdu->last` and return index of in dbuf_alloc() 40 * 2. LLL runs after `pdu->last` is reverted, then `pdu->first` in dbuf_alloc() 44 hdr->last = first; in dbuf_alloc() 46 first_latest = hdr->first; in dbuf_alloc() 48 hdr->last = last; in dbuf_alloc() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/autopts/ |
D | autopts-win10.rst | 1 .. _autopts-win10: 20 Start -> Settings -> Update & Security -> Windows Update 44 Download and install `Git <https://git-scm.com/downloads>`_. 56 Install latest PTS from https://www.bluetooth.org. Remember to install 67 Starting with PTS 8.0.1 the Bluetooth Protocol Viewer is no longer included. 73 Perform Windows setup from `Getting Started Guide <https://docs.zephyrproject.org/latest/getting_st… 78 On Windows download latest nrftools (version >= 10.12.1) from site 79 https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download 112 .. code-block:: 116 Build the auto-pts tester app [all …]
|
/Zephyr-latest/boards/arm/fvp_baser_aemv8r/doc/ |
D | aarch32.rst | 3 Arm FVP BaseR AEMv8-R AArch32 9 This board configuration uses Armv8-R AEM FVP [1]_ to emulate a generic 10 Armv8-R [2]_ 32-bit hardware platform. 17 The Armv8-R AEM FVP is a free of charge Armv8-R Fixed Virtual Platform. It 18 supports the latest Armv8-R feature set. Please refer to FVP documentation 21 To Run the Fixed Virtual Platform simulation tool you must download "Armv8-R AEM 22 FVP" from Arm developer [1]_ (This might require the user to register) and 33 +-----------------------+------------+----------------------+ 36 | GICv3 | on-chip | interrupt controller | 37 +-----------------------+------------+----------------------+ [all …]
|