- 21 Jul, 2021 3 commits
-
-
Chen Peng1 authored
add a test into latency_measure test case to measure the average time for dynamic memory allocation and release. Signed-off-by:
Chen Peng1 <peng1.chen@intel.com>
-
Marcin Niestroj authored
Opened directory descriptor is leaked when returning 1. Fix that by utilizing goto in function return path. Fixes: 6b18e699 ("subsys/loggin/log_backend_fs: added recovery after file lost") Signed-off-by:
Marcin Niestroj <m.niestroj@grinn-global.com>
-
Daniel Leung authored
This limits the search for Extended BIOS Data Area (EBDA) to 0x80000 to 0x100000 as this is usually the area for it. If 0000:040e has an address not pointing to this area, it is probably an invalid address, and should not be de-referenced to avoid segfault. Signed-off-by:
Daniel Leung <daniel.leung@intel.com>
-
- 07 Jul, 2021 1 commit
-
-
Evgeniy Paltsev authored
Accumulator registers (ACCL, ACCH) are used on HS CPUs not only in case of FPU usage but also in case of MPY usage. We enable MPY for all ARCv2 HS in commit 18a24c3f ARC: gcc-m-cpu: use -mcpu=archs as a default for ARCv2 HS but we didn't enable accumulator registers management. Let's enable accumulator registers save/restore on all ARCv2 HS CPUs by default. Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by:
Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
-
- 02 Jul, 2021 1 commit
-
-
Kumar Gala authored
rv32m1_vega don't boot due to device init ordering and changes with the device model. The soc code is looking for a device pointer for the intmux. Change to using DEVICE_DT_GET here as that will ensure we get a valid pointer and by the time we need to utilize the pointer the intmux driver will have been initialized and thus the device pointer will be ready. Also set BUILD_OUTPUT_HEX since we utilize openocd to flash and west flash is looking for a hex file for openocd targets. Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
- 01 Jul, 2021 4 commits
-
-
Stephanos Ioannidis authored
When the host toolchain is used, `-nostdlib` option is not specified and therefore all default libraries, including the libgcc and its components, are automatically linked -- so it is not necessary to manually link them here. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
The host toolchain makes use of the host toolchain libraries (i.e. `-nostdlib` is not specified), so it is not necessary to detect the toolchain libgcc path and specify one manually. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit updates the build system to always detect the libgcc path for the host platforms regardless of the target architecture. The native_posix_64 target previously used the x32 ABI (`-mx32`) and the multilib for this ABI was not commonly available in the x86-64 host toolchains. That is no longer the case because native_posix_64 had been updated to use the x86-64 ABI (`-m64`). Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit removes the `NOT no_libgcc` condition for the automatic libgcc path detection. The `no_libgcc` variable was previously set in this file to exclude libgcc detection for the x86-64 targets because the x86-64 arch used x32 ABI (`-mx32`) and the multilib for this ABI was not commonly available. This is no longer the case (x86-64 targets now use `-m64`) and libgcc must always be available. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
- 30 Jun, 2021 3 commits
-
-
Vinayak Kariappa Chettimada authored
Reserve a minimum node rx of 2 that can happen when local central initiated PHY Update reserves 2 node rx, one for PHY Update complete and another for Data Length Update complete notification. Otherwise, a peripheral only needs 1 additional node rx to generate Data Length Update complete when PHY Update completes. Relates to #36381. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Replace the post decrement in loop's conditional into explicit decrement inside the loop so as to avoid decrementing the maximum count without enqueueing free rx buffers into the free rx buffer MFIFO. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Minor changes to use IS_ENABLED and updates to comments in code. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
- 29 Jun, 2021 2 commits
-
-
Martí Bolívar authored
This was modified in 2.6. Signed-off-by:
Martí Bolívar <marti.bolivar@nordicsemi.no>
-
Andy Ross authored
commit 5e9c583c ("arch/x86_64: Terrible, awful hackery to bootstrap entry") introduced a terrible trick which begins execution at the bottom of .locore with a jump, which then gets replaced with NOP instructions for the benefit of 16 bit real mode startup of the other CPUs later on. But I forgot that EFI enters in 64 bit code natively, and so never hits that path. And moving it to the 64 bit setup code doesn't work, because at that point when we are NOT loaded from EFI, we already have the Zephyr page tables in place that disallow writes to .locore. So do it in the EFI loader, which while sort of a weird place, has the benefit of being in C instead of assembly. Really all this code needs to go away. A proper x86 entry architecture would enter somewhere in the main blob, and .locore should be a tiny stub we copy in at runtime. Fixes #36107 Signed-off-by:
Andy Ross <andrew.j.ross@intel.com>
-
- 18 Jun, 2021 2 commits
-
-
Francois Ramu authored
The definition of the STM32_LSE_CLOCK is given by the drivers/clock_control/stm32_clock_control.h to the hci/ipm_stm32wb driver Signed-off-by:
Francois Ramu <francois.ramu@st.com>
-
Torbjörn Leksell authored
- Fixed some incorrect streamport references that pointed to the base streamport files instead of those dedicated for Zephyr. - Updated the source file compilation to match the updated TraceRecorder module. Signed-off-by:
Torbjörn Leksell <torbjorn.leksell@percepio.com> Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 10 Jun, 2021 1 commit
-
-
Martí Bolívar authored
Recent versions of mypy have learned that the yaml module has type stubs and the tool is now erroring out when it discovers we import yaml since the stubs are not involved. This is breaking CI on unrelated patches; fix it following the instructions here: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Signed-off-by:
Martí Bolívar <marti.bolivar@nordicsemi.no>
-
- 08 Jun, 2021 7 commits
-
-
Erwan Gouriou authored
Code snippet to demonstrate use of 'zephyr,user' binding for gpio pin was missing a #define to easily get the code compiling. Fix this. Signed-off-by:
Erwan Gouriou <erwan.gouriou@linaro.org>
-
Bhavesh Bhojwani authored
This commit adds a closing parenthesis for soc model of stm32g050. Resolves issue #36014 Signed-off-by:
Bhavesh Bhojwani <bhaavesh.bhojwaani@gmail.com>
-
Fabio Baltieri authored
The flash write function casts a void * to flash_prg_t, which can be 2, 4 or 8 bytes long depending on the SoC. This can trigger a hard fault exception if data is not aligned, such as when passing a constant string from settings_save_one(). Copying the chunk of data to a temporary variable on the stack to avoid the problem. Signed-off-by:
Fabio Baltieri <fabio.baltieri@gmail.com>
-
Stephanos Ioannidis authored
In order to increase test coverage, this commit updates the libcxx test to run with both full and nano variants of the newlib. Note that C++ exception handling feature is only enabled for the newlib full variant because the nano variant does not support C++ exception handling. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
Use the full version of newlib (i.e. not nano) for libcxx testing since some features (e.g. C++ exception handling) require the full version of newlib. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
This commit makes C++ exception handling feature depend on the full version of newlib (i.e. `CONFIG_NEWLIB_LIBC_NANO=n`). The `nano.specs`, which selects the nano variant of newlib, libstdc++, and libsupc++, does not support C++ exception handling because its lib*c++ is compiled with `-fno-exceptions`. For more details, refer to the issue #35972. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
Stephanos Ioannidis authored
The `.eh_frame_hdr` and `.eh_frame` ROM sections, which contain read- only C++ exception handling information, are currently specified in `cplusplus-ram.ld`, and this can cause the linker output location counter to take a ROM region address while in the RAM region. This commit relocates these sections to `cplusplus-rom.ld` in order to prevent the linker output location counter from getting corrupted. For more details, refer to the issue #35972. Signed-off-by:
Stephanos Ioannidis <root@stephanos.io>
-
- 05 Jun, 2021 1 commit
-
-
Anas Nashif authored
Readd EXTRAVERSION. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 04 Jun, 2021 15 commits
-
-
Kumar Gala authored
VERSION and conf.py updates for v2.6.0 release Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
* Fix header for release * Update issues before release Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
Update API Version Modified field for things that changed for the 2.6.0 release. Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
David Brown authored
Update release notes for 2.6, and the vulnerabilities page to mention CVE-2021-3581. This CVE is under embargo until Sept 4, 2021. Signed-off-by:
David Brown <david.brown@linaro.org>
-
Gerard Marull-Paretas authored
Mention the example application as a major enhancement and provide a link to its repository. Signed-off-by:
Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
-
Gerard Marull-Paretas authored
Mention example-application as a reference application. Signed-off-by:
Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
-
Torsten Rasmussen authored
Update to the Zephyr build configuration CMake package documentation with description on how a Zephyr build configuration CMake package can be located outside a Zephyr workspace. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
Fixes: #35890 The current implementation of Zephyr build configuration CMake package only allows the build configuration package to be placed inside a Zephyr workspace. This commit extends the usability by allowing users to locate the Zephyr build configuration CMake package outside the Zephyr workspace and then refer to the package using `-DZephyrBuildConfiguration_ROOT=<path>` `set(ZephyrBuildConfiguration_ROOT <path>)` This allows users greater flexibility in their workspace layouts. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Kumar Gala authored
* Added a bullet about new storage subsystem feature * Moved disk subsystem changes into disk section Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
Jakub Rzeszutko authored
The tabulator handler creates a single structure if it is handling dynamic commands. If the currently processed dynamic command has a dynamic subcommand they both share the same structure. As a result tabulation operation may result in undefined behaviour. As a solution, a new structure was introduced to keep subcommand information. Fixes #35926. Signed-off-by:
Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
-
Anas Nashif authored
CONFIG_DEVICE_POWER_MANAGEMENT is deprecated, use CONFIG_PM_DEVICE instead. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Vinayak Kariappa Chettimada authored
Fix incorrect and redundant use of ticker user id ULL_LOW instead of ULL_HIGH when setting up a connection using a mayfly to disable LLL context. Also, the LLL context pointer is invalid, where node rx is passed instead of LLL context. Use the ULL disabled callback when done event has not yet been processed, or a direct connection setup in ULL_HIGH context when ULL is already disabled (reference count is zero) is sufficient. Regression introduced in commit 30f260df ("Bluetooth: controller: Fix adv/scan context access post release"). Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Øyvind Rønningstad authored
The caller saved registers were restored both as caller saved and callee saved registers, i.e. register 0-15 were restored into both register 0-15 and 15-31. Signed-off-by:
Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
-
Stancu Florin authored
Fixes #35916. Signed-off-by:
Stancu Florin <niflostancu@gmail.com>
-
Pieter De Gendt authored
Update segger module version to revision that re-introduces zephyr Kconfig options Signed-off-by:
Pieter De Gendt <pieter.degendt@basalte.be>
-