Home
last modified time | relevance | path

Searched +full:- +full:- +full:grep (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/scripts/checkpatch/
Dcheck_known_checkpatch_issues.sh6 # SPDX-License-Identifier: Apache-2.0
12 # usage: check_known_checkpatch_issues.sh [-u]
13 # where: -u updates the known_checkpatch_issues db and commits it
14 # -q is the quiet mode (don't display the diff on stdout)
25 printf "usage: %s [-u][-q]\n" ${exe_name} >&2
30 exit -1
41 exit -1
47 declare -r optstr="quh"
62 timestamp="${timestamp_bin} -u"
64 uid=$(id -u)
[all …]
Ddo_checkpatch.sh6 # SPDX-License-Identifier: Apache-2.0
9 [ -f $1 ] && rm $1
10 [ -f $1_error.types ] && rm $1_error.types
11 [ -f $1_warning.types ] && rm $1_warning.types
14 files=$(for d in ${dirs_to_check}; do find $d/ -type f -name '*.[ch]'; done)
16 …heckpatch.pl --mailback --no-tree -f --emacs --summary-file --show-types --ignore BRACES,PRINTK_WI…
18 grep ERROR: $1 |cut -d : -f 3,4 |sort -u > $1_error.types
19 grep WARNING: $1 |cut -d : -f 3,4 |sort -u > $1_warning.types
21 echo -n $i ' '; grep $i $1 | wc -l
24 echo -n $i ' '; grep $i $1 | wc -l
Dmaintainer-checkpatch.bash6 # SPDX-License-Identifier: Apache-2.0
12 # usage: maintainer-checkpatch.bash [(-n <num commits>) | (-c <commit>)] [-s]
13 # where: -n <num commits> selects the last n commits (default: 1)
14 # -c <commit> selects the "since" commit
15 # -s asks for a summary instead of details
17 # -c and -n are mutually exclusive
20 --patch \
21 --no-tree \
22 --show-types \
23 --max-line-length=100 \
[all …]
/Zephyr-latest/doc/develop/west/
Dconfig.rst1 .. _west-config:
7 command, and configuration options used by built-in commands. For API
9 :ref:`west-apis-configuration`.
12 ------------------------
14 West's configuration file syntax is INI-like; here is an example file:
16 .. code-block:: ini
32 - Linux: :file:`/etc/westconfig`
33 - macOS: :file:`/usr/local/etc/westconfig`
34 - Windows: :file:`%PROGRAMDATA%\\west\\config`
39 - All platforms: the default is :file:`.westconfig` in the user's home
[all …]
Drelease-notes.rst1 .. _west-release-notes:
11 - New ``west grep`` command for running a "grep tool" in your west workspace's
12 repositories. Currently, ``git grep``, `ripgrep`_, and standard ``grep`` are
13 supported grep tools.
15 To run this command to get ``git grep foo`` results from all cloned,
18 .. code-block:: console
20 west grep foo
22 Here are some other examples for running different grep commands
23 with ``west grep``:
25 .. list-table::
[all …]
Dtroubleshooting.rst1 .. _west-troubleshooting:
14 .. code-block:: shell
16 west -v update
21 .. code-block:: none
26 --- your_project: fetching, need revision SOME_SHA
27 …west.manifest: running 'git fetch ... https://github.com/your-username/your_project ...' in /some/…
37 ``curl -v FETCH_URL`` (for HTTPS URLs) or ``ssh -v FETCH_URL`` (for SSH URLs)
51 First, make sure you've installed west; see :ref:`west-install`. Then try
67 C:\foo\python\python38\lib\site-packages``. The exact location
74 Notice how ``lib\site-packages`` in the ``pip3 show`` output was changed
[all …]
Dbuilt-in.rst1 .. _west-built-in-cmds:
3 Built-in commands
6 This page describes west's built-in commands, some of which were introduced in
7 :ref:`west-basics`, in more detail.
20 For additional help, run ``west <command> -h`` (e.g. ``west init -h``).
22 .. _west-init:
34 .. code-block:: none
36 west init [-m URL] [--mr REVISION] [--mf FILE] [directory]
40 the ``-m`` switch, the initial revision to check out using ``--mr``, and
41 the location of the manifest file within the repository using ``--mf``.
[all …]
/Zephyr-latest/scripts/kconfig/
Dlint.py4 # SPDX-License-Identifier: Apache-2.0
7 Linter for the Zephyr Kconfig files. Pass --help to see
12 still needed. 'git grep' is handy.
62 "-n", "--check-always-n",
71 "-u", "--check-unused",
78 - Isn't referenced in Kconfig
79 - Isn't referenced as CONFIG_<NAME> outside Kconfig
81 - Isn't selecting/implying other symbols
82 - Isn't a choice symbol
87 "-m", "--check-pointless-menuconfigs",
[all …]
/Zephyr-latest/boards/ti/cc1352p7_launchpad/support/
Dopenocd.cfg2 # lsusb -d 0451:bef3 -v | grep -i iserial
/Zephyr-latest/
Dzephyr-env.sh4 # SPDX-License-Identifier: Apache-2.0
15 if [ -n "${ZSH_VERSION:-}" ]; then
16 dir="${(%):-%N}"
19 name=$(basename -- "$0")
22 name=$(basename -- "$0")
26 name=$(basename -- "$0")
29 if [ "X$name" "==" "Xzephyr-env.sh" ]; then
38 if uname | grep -q "MINGW"; then
40 pwd_opt="-W"
51 if [ "$win_build" -eq 1 ]; then
[all …]
D.clang-format1 # SPDX-License-Identifier: Apache-2.0
5 # git grep -h '^#define [^[:space:]]*FOR_EACH[^[:space:]]*(' include/ \
6 # | sed "s,^#define \([^[:space:]]*FOR_EACH[^[:space:]]*\)(.*$, - '\1'," \
10 # - https://clang.llvm.org/docs/ClangFormatStyleOptions.html
12 ---
22 - __aligned
23 - __deprecated
24 - __packed
25 - __printf_like
26 - __syscall
[all …]
/Zephyr-latest/scripts/net/
Drun-sample-tests.sh3 # SPDX-License-Identifier: Apache-2.0
5 image=net-tools
6 name=net-tools
7 network=net-tools0
14 docker_test_script_name=docker-test.sh
24 if [ -z "$ZEPHYR_BASE" ]; then
27 elif [ ! -d "$ZEPHYR_BASE" ]; then
32 if [ -z "$NET_TOOLS_BASE" ]; then
39 l="$d/tools/net-tools"
40 if [ -d "$l" ]; then
[all …]
/Zephyr-latest/samples/net/lwm2m_client/
Ddocker-test.sh2 # SPDX-License-Identifier: Apache-2.0
4 if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then
6 echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead."
10 IP="--ip=192.0.2.2 --ip6=2001:db8::2"
11 FWD="-p 8080:8080 -p 8081:8081 -p 5683:5683/udp"
14 start_docker "/net-tools/start-leshan.sh" || return $?
19 curl -s -X GET 'http://localhost:8080/api/clients/native_posix/3/0/0' | grep Zephyr 2>&1 >/dev/null
25 if [ $result -eq 0 ]; then
/Zephyr-latest/tests/bsim/
Drun_parallel.sh3 # SPDX-License-Identifier: Apache-2.0
8 echo "run_parallel.sh [-help] [options]"
35 if [ $# -ge 1 ]; then
36 if grep -Eiq "(\?|-\?|-h|help|-help|--help)" <<< $1 ; then
46 if [ -n "${TESTS_FILE}" ]; then
49 all_cases=`find ${search_pattern} -name "*.sh" | grep -Ev "${sh_filter}"`
50 elif [ -n "${TESTS_LIST}" ]; then
53 SEARCH_PATH="${SEARCH_PATH:-.}"
54 all_cases=`find ${SEARCH_PATH} -name "*.sh" | grep -Ev "${sh_filter}"`
58 set -u
[all …]
Dgenerate_coverage_report.sh3 # SPDX-License-Identifier: Apache-2.0
5 set -eu
9 _generate_coverage_report.sh [-help]
27 TWISTER_COVERAGE_FILE=\${ZEPHYR_BASE}/twister-out/coverage.info
29 twister -p nrf52_bsim -T tests/bluetooth/ --coverage
36 if [ $# -ge 1 ]; then
37 if grep -Eiq "(\?|-\?|-h|help|-help|--help)" <<< $1 ; then
43 WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
44 OUTPUT_DIR="${OUTPUT_DIR:-${WORK_DIR}}"
45 TWISTER_COVERAGE_FILE="${TWISTER_COVERAGE_FILE:-""}"
[all …]
Dcompile.source2 # SPDX-License-Identifier: Apache-2.0
8 WORK_DIR="${WORK_DIR:-${ZEPHYR_BASE}/bsim_out}"
11 echo -e "\033[0;31mFailure building ${app} ${conf_file} for ${BOARD}\033[0m\n\
19 local app_root="${app_root:-${ZEPHYR_BASE}}"
20 local BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
21 local conf_file="${conf_file:-prj.conf}"
22 local extra_conf_file="${extra_conf_file:-""}"
23 local conf_overlay="${conf_overlay:-""}"
24 local snippet="${snippet:-""}"
26 default_cmake_args=(-DCONFIG_COVERAGE=y -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
[all …]
/Zephyr-latest/tests/net/all/
Dcheck_net_options.sh5 # SPDX-License-Identifier: Apache-2.0
7 if [ -z "$1" ]; then
21 if [ ! -d $build_dir ]; then
28 if [ ! -d $kconfig_dir ]; then
40 grep -q $opt prj.conf > /dev/null 2>&1
41 if [ $? -ne 0 ]; then
46 echo "Total number of options : `get_options | wc -w`" > /dev/tty
/Zephyr-latest/scripts/
Dcoccicheck2 # SPDX-License-Identifier: GPL-2.0
6 DIR="$(dirname $(readlink -f $0))/.."
9 if [ ! -x "$SPATCH" ]; then
18 -------
20 -m= , --mode= specify the mode use {report, patch, org, context, chain}
21 -v= , --verbose= enable verbose output {1}
22 -j= , --jobs= number of jobs to use {0 - `nproc`}
23 -c= , --cocci= specify cocci script to use
24 -d= , --debug= specify file to store debug log
25 -f= , --sp-flag= pass additional flag to spatch
[all …]
Dtags.sh13 find "$1" -name "$2"
46 (echo \-k; echo \-q; all_target_sources) > cscope.files
47 cscope -b -f cscope.out
52 all_target_sources | gtags -i -f -
57 all_target_sources | xargs $1 -a \
58 -I __initdata,__exitdata,__initconst, \
59 -I __initdata_memblock \
60 -I __refdata,__attribute,__maybe_unused,__always_unused \
61 -I __acquires,__releases,__deprecated \
62 -I __read_mostly,__aligned,____cacheline_aligned \
[all …]
/Zephyr-latest/scripts/ci/
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
56 f"{cp.stdout.decode('utf-8')}\n"
58 f"{cp.stderr.decode('utf-8')}\n")
60 return cp.stdout.decode("utf-8").rstrip()
69 return git('rev-list',
70 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
73 filter_arg = (f'--diff-filter={filter}',) if filter else ()
74 paths_arg = ('--', *paths) if paths else ()
75 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
127 - The magic string "<zephyr-base>" can be used to refer to the
[all …]
/Zephyr-latest/boards/toradex/colibri_imx7d/doc/
Dindex.rst6 The i.MX7 SoC is a Hybrid multi-core processor composed by Single/Dual Cortex A7
14 - i.MX7 Single/Dual Cortex A7 (800MHz/1.0GHz) core and Single Cortex M4 (200MHz) core
16 - Memory
18 - RAM -> A7: 256MB, 512MB and 1GB
19 - RAM -> M4: 3x32KB (TCML, TCMU, OCRAM_S), 1x128KB (OCRAM) and 1x256MB (DDR)
20 - Flash -> A7: 4Gb eMMC and 512Mb NAND
22 - Display
24 - RGB 1920x1080x24bpp
25 - 4-wire Resistive touch
27 - Multimedia
[all …]
/Zephyr-latest/cmake/emu/
Dqemu.cmake1 # SPDX-License-Identifier: Apache-2.0
23 NAMES qemu-system-${QEMU_binary_suffix}
28 qemu-system-${QEMU_binary_suffix}
32 # We need to set up uefi-run and OVMF environment
35 find_program(UEFI NAMES uefi-run REQUIRED)
41 list(APPEND UEFI -b ${OVMF_FD_PATH} -q ${QEMU})
50 set(QEMU_FLAGS -pidfile)
61 # Redirect console to a pseudo-tty, used for running automated tests.
62 list(APPEND QEMU_FLAGS -chardev pty,id=con,mux=on)
65 list(APPEND QEMU_FLAGS -chardev pipe,id=con,mux=on,path=${QEMU_PIPE})
[all …]
/Zephyr-latest/doc/build/kconfig/
Dtips.rst3 Kconfig - Tips and Best Practices
11 The official Kconfig documentation is `kconfig-language.rst
12 <https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html>`__
13 and `kconfig-macro-language.rst
14 <https://www.kernel.org/doc/html/latest/kbuild/kconfig-macro-language.html>`__.
54 a fixed machine-specific setting. Usually, such settings should be handled via
55 :ref:`devicetree <dt-guide>` instead.
64 controlled by. See :ref:`dt-drivers-that-depend` for alternatives.
66 Similarly, if your application depends on a hardware-specific PWM device to
68 :ref:`dt-apps-that-depend` for alternatives.
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dremote-fw-service.py3 # SPDX-License-Identifier: Apache-2.0
20 # pylint: disable=duplicate-code
42 log = logging.getLogger("remote-fw")
65 data = self.request.recv(min(BUF_SIZE, fsize - len(total)))
81 md5_tx = md5_tx_b.decode('utf-8')
93 recv_file = recv_file.decode('utf-8')
105 action = cmd.decode("utf-8")
117 self.request.sendall("success".encode('utf-8'))
120 self.request.sendall("failed".encode('utf-8'))
131 action = cmd.decode("utf-8")
[all …]
Dcavstool.py3 # SPDX-License-Identifier: Apache-2.0
19 log = logging.getLogger("cavs-fw")
23 HUGEPAGE_FILE = "/dev/hugepages/cavs-fw-dma.tmp."
28 # Window 1 is the IPC "inbox" (host-writable memory, just 384 bytes currently)
30 # Window 3 is winstream-formatted log output
43 # pylint: disable=duplicate-code
106 self.regs.LVI = self.n_bufs - 1
215 p = runx(f"grep -iEl 'PCI_CLASS=40(10|38)0' /sys/bus/pci/devices/*/uevent")
217 # if no device found, also try 40300 class no-DSP devices
218 p = runx(f"grep -iEl 'PCI_CLASS=40300' /sys/bus/pci/devices/*/uevent")
[all …]

12