Searched +full:- +full:werror (Results 1 – 22 of 22) sorted by relevance
/Zephyr-latest/samples/drivers/espi/ |
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 10 zephyr_compile_options(-Werror)
|
/Zephyr-latest/cmake/compiler/gcc/ |
D | compiler_flags.cmake | 3 -Werror=implicit-int 4 -Wold-style-definition 5 -Wno-pointer-sign 15 set_compiler_property(PROPERTY no_optimization -O0) 17 set_compiler_property(PROPERTY optimization_debug -O0) 19 set_compiler_property(PROPERTY optimization_debug -Og) 21 set_compiler_property(PROPERTY optimization_speed -O2) 22 set_compiler_property(PROPERTY optimization_size -Os) 23 set_compiler_property(PROPERTY optimization_size_aggressive -Oz) 24 set_compiler_property(PROPERTY optimization_fast -Ofast) [all …]
|
/Zephyr-latest/cmake/compiler/arcmwdt/ |
D | compiler_flags.cmake | 3 -Werror=implicit-int 4 -Wold-style-definition 14 set_compiler_property(PROPERTY no_optimization -O0) 15 set_compiler_property(PROPERTY optimization_debug -O0) 16 set_compiler_property(PROPERTY optimization_speed -O2) 17 set_compiler_property(PROPERTY optimization_size -Os) 18 set_compiler_property(PROPERTY optimization_fast -O3) 27 -Wformat 28 -Wformat-security 29 -Wno-format-zero-length [all …]
|
D | target.cmake | 12 # toolchain-specific flags at generation time. 14 -c 15 -HL 16 -Hnosdata 17 -Hnolib 18 -Hnocrt 19 -Hnoentry 20 -Hldopt=-Bbase=0x0 # Set an entry point to avoid a warning 21 -Werror 31 # common compile options, no copyright msg, little-endian, no small data, [all …]
|
/Zephyr-latest/tests/misc/llext-edk/extension/ |
D | CMakeLists.txt | 3 set(CMAKE_C_COMPILER arm-zephyr-eabi-gcc) 4 set(CMAKE_FIND_ROOT_PATH $ENV{ZEPHYR_SDK_INSTALL_DIR}/arm-zephyr-eabi) 14 add_compile_options("-Werror") 15 add_compile_options("-c") 25 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext 30 --file ${PROJECT_NAME}.llext
|
/Zephyr-latest/modules/trusted-firmware-m/psa/ |
D | GNUARM.cmake | 3 # SPDX-License-Identifier: Apache-2.0 6 # https://github.com/ARM-software/psa-arch-tests/blob/master/api-tests/tools/cmake/compiler/GNUARM.… 9 # https://github.com/ARM-software/psa-arch-tests/pull/276 12 set(TARGET_SWITCH "-march=armv7-m") 14 set(TARGET_SWITCH "-march=armv8-m.main -mcmse") 16 set(TARGET_SWITCH "-march=armv8-m.base -mcmse") 19 set(CMAKE_C_FLAGS "${TARGET_SWITCH} -g -Wall -Werror -Wextra -fdata-sections -ffunction-sections … 20 set(CMAKE_ASM_FLAGS "${TARGET_SWITCH} -mthumb") 21 set(CMAKE_EXE_LINKER_FLAGS "-Xlinker --fatal-warnings -Xlinker --gc-sections -z max-page-size=0x400…
|
/Zephyr-latest/scripts/dts/ |
D | gen_edt.py | 3 # Copyright (c) 2019 - 2020 Nordic Semiconductor ASA 6 # SPDX-License-Identifier: Apache-2.0 17 # Note: Do not access private (_-prefixed) identifiers from edtlib here (and 28 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree', 48 "-Wno-simple_bus_reg" not in args.dtc_flags, 51 werror=args.edtlib_Werror, 57 with open(args.dts_out, "w", encoding="utf-8") as f: 63 def parse_args() -> argparse.Namespace: 64 # Returns parsed command-line arguments 67 parser.add_argument("--dts", required=True, help="DTS file") [all …]
|
/Zephyr-latest/boards/intel/common/scripts/ |
D | build_grub.sh | 4 # https://github.com/otcshare/contiki-x86 6 set -e 22 if [[ ! -d ./src ]]; then 27 git checkout grub-2.12-rc1 28 git clean -fdx 37 ./configure --with-platform=efi --target=${TARGET_ARCH} --disable-werror 39 make -j${JOBS} 41 ./grub-mkimage -p /EFI/BOOT -d ./grub-core/ -O ${TARGET_ARCH}-efi \ 42 -o grub_${TARGET_ARCH}.efi \ 53 mkdir -p bin [all …]
|
/Zephyr-latest/tests/lib/cpp/cxx/ |
D | testcase.yaml | 5 - mps2/an385 6 - qemu_cortex_a53 11 - CONFIG_MINIMAL_LIBC=y 16 - CONFIG_NEWLIB_LIBC=y 21 - CONFIG_NEWLIB_LIBC=y 22 - CONFIG_NEWLIB_LIBC_NANO=y 27 - CONFIG_PICOLIBC=y 29 # Note: the -std= variants below exclude the host compilers, which 33 # -Wno-pointer-sign or -Werror=implicit-int in C++ mode with 34 # -std=c++98) [all …]
|
/Zephyr-latest/cmake/compiler/clang/ |
D | compiler_flags.cmake | 10 # No printf-return-value optimizations in clang 14 # But clang has problems compiling these with -fno-freestanding. 19 set_compiler_property(PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping) 21 set_compiler_property(PROPERTY coverage --coverage -fno-inline) 25 set_compiler_property(PROPERTY diagnostic -fcolor-diagnostics) 28 set_compiler_property(PROPERTY save_temps -save-temps) 30 # clang doesn't handle the -T flag 31 set_compiler_property(PROPERTY linker_script -Wl,-T) 39 -Wall 40 -Wformat [all …]
|
/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 3 # SPDX-License-Identifier: Apache-2.0 63 bytesz = h.p_memsz - h.p_filesz 65 verbose("%d bytes of zero-fill at 0x%x" % (bytesz, addr)) 73 cf = open("zefi-segments.h", "w") 77 cf.write("/* Sizes and offsets specified in 4-byte units.\n") 78 cf.write(" * All addresses 4-byte aligned.\n") 114 # + UEFI API assumes 16-bit wchar_t 117 includes.extend(["-I", include_dir]) 118 cmd = ([args.compiler, "-shared", "-Wall", "-Werror", "-I."] + includes + 119 ["-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar", [all …]
|
/Zephyr-latest/include/zephyr/toolchain/iar/ |
D | iccarm.h | 4 * SPDX-License-Identifier: Apache-2.0 28 * detected and defined using arch-specific definitions. 96 __p->__v; \ 104 __p->__v = (v); \ 144 /* TG-WG: ICCARM does not support __fallthrough */ 219 /* __weak is an ICCARM built-in, but it doesn't work in all positions */ 229 * -wno-deprecated, which has implications for -Werror. 255 /* '.syntax unified' is a gcc-ism used in thumb-2 asm files */ 323 * - to generate constant integer, e.g. __aligned(Z_MAX(4,5)) 324 * - static variable, e.g. array like static uint8_t array[Z_MAX(...)]; [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has 46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"]) 48 enums_hpath = hpath('test-bindings/enums.yaml') 50 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-… 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/… 54 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… 55 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha… [all …]
|
/Zephyr-latest/include/zephyr/toolchain/ |
D | gcc.h | 2 * Copyright (c) 2010-2014,2017 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 11 #error Please do not include toolchain-specific headers directly, use <zephyr/toolchain.h> instead 41 * detected and defined using arch-specific definitions. 125 /* The GNU assembler for Cortex-M3 uses # for immediate values, not 141 __g->__v; \ 149 * bug in GCC for ARM Cortex-M3 and higher targets, when multiple 150 * byte, half-word and word stores (strb, strh, str instructions), 161 __p->__v = (v); \ 172 __p->__v = (v); \ [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 3 # SPDX-License-Identifier: BSD-3-Clause 17 but a binding can also come from a 'child-binding:' key in the binding for the 23 The top-level entry points for the library are the EDT and Binding classes. 31 # -------------------- 47 # - Consider using @property for APIs that don't need parameters. It makes 51 # - Think about the data type of the thing you're exposing. Exposing something 55 # - Avoid get_*() prefixes on functions. Name them after the thing they return 60 # - Don't expose dtlib stuff directly. 62 # - Add documentation for any new APIs you add. 95 def _compute_hash(path: str) -> str: [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.2.rst | 18 * Fix CVE-2020-10028 19 * Fix CVE-2020-10060 20 * Fix CVE-2020-10063 21 * Fix CVE-2020-10066 32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa… 33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or … 34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong 35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up 36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence 37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection… [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 [all …]
|
D | release-notes-2.6.rst | 13 * Added support for 64-bit ARCv3 14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture 15 * Added initial support for Arm v8.1-m and Cortex-M55 22 https://github.com/zephyrproject-rtos/example-application 34 * CVE-2021-3581: Under embargo until 2021-09-04 41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented. 47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned. 48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change 194 * Added support for null pointer dereferencing detection in Cortex-M. [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | runner.py | 3 # Copyright (c) 2018-2025 Intel Corporation 5 # SPDX-License-Identifier: Apache-2.0 76 completed = done - filtered_static 79 pass rate = passed / (total - filtered_configs) 80 case pass rate = passed_cases / (cases - filtered_cases - skipped_cases) 149 length = int(log10(-n))+2 153 selected_cases = self.cases - self.filtered_cases 154 selected_configs = self.done - self.filtered_static - self.filtered_runtime 509 config_re = re.compile('(CONFIG_[A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$') 510 dt_re = re.compile('([A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$') [all …]
|
/Zephyr-latest/ |
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 5 # Note that this is *NOT* the top-level CMakeLists.txt. That's in the 26 # and https://cmake.org/pipermail/cmake/2019-May/thread.html#69496 36 # -fmacro-prefix-map=${ZEPHYR_BASE}= 57 # - device dependencies structs must be generated (CONFIG_DEVICE_DEPS=y) 58 # - ISR tables must be generated (CONFIG_GEN_ISR_TABLES=y) 59 # - Kernel objects hash tables (CONFIG_USERSPACE=y) 60 # - Application memory partitions (CONFIG_USERSPACE=y) 66 # - zephyr_pre0: linker sections may resize / addresses may relocate 67 # - zephyr_pre1: All linker section sizes are fixed, addresses cannot change [all …]
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_runner.py | 4 # SPDX-License-Identifier: Apache-2.0 71 def project_builder(mocked_instance, mocked_env, mocked_jobserver) -> ProjectBuilder: 77 def runners(project_builder: ProjectBuilder) -> dict: 119 "-DCONFIG_t=\"test\"", 120 "-Dcmake1=foo", "-Dcmake2=bar", 121 "-Dbasearg1", "-DSNIPPET_t=test", 122 "-Dhandler_arg1", "-Dhandler_arg2", 123 "-DCONF_FILE=a.conf;b.conf;c.conf", 124 "-DDTC_OVERLAY_FILE=x.overlay;y.overlay;z.overlay", 125 "-DOVERLAY_CONFIG=extra_overlay.conf " [all …]
|