- 11 Nov, 2021 2 commits
-
-
Sylvio Alves authored
PR #39980 added qsort to minimal libc but caused shell_modules sample to fail building. Signed-off-by:
Sylvio Alves <sylvio.alves@espressif.com>
-
Krzysztof Chruscinski authored
Add spinlock unlocking before calling timer expiration handler. Locking was introduced by dde3d6ca . Signed-off-by:
Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
- 10 Nov, 2021 1 commit
-
-
Robert Lubos authored
The root CA used so far (GlobalSign R2) is about to expire soon (December 2021) and Google have switched to a new certificate, signed by GlobalSign R1 (valid until 2028). Therefore we need to replace the root CA used by the sample to the new one, in order to establish secure connection to with google.com. Additionally, the new certificate chain sent by Google is larger again, so it's needed to increase mbed TLS max content length parameter in order to process it correctly. This also implies an increase in heap usage, so increase the heap size as well. Signed-off-by:
Robert Lubos <robert.lubos@nordicsemi.no>
-
- 09 Nov, 2021 4 commits
-
-
Jacob Siverskog authored
see https://github.com/zephyrproject-rtos/zephyr/pull/39507 for context. Signed-off-by:
Jacob Siverskog <jacob@teenage.engineering>
-
Jacob Siverskog authored
make sure channel request reference is cleared if send fails. without this change this could happen when att_handle_rsp was called: 1. reqs before call: head: 0x2000f8e8, tail: 0x2000f8c0, elements: - addr 0x2000f8e8, function pointer NULL - addr 0x2000f8c0, function pointer 0x35c1d 2. att_handle_rsp called, calling bt_att_req_free with address 0x2000f8e8 3. reqs after call: head: 0x2000f8e8, tail: 0x2000f8c0, elements: - addr 0x2000f8e8, function pointer NULL - addr 0x2000f8d4, function pointer NULL - addr 0x2000f8ac, function pointer NULL - addr 0x2000f898, function pointer NULL - addr 0x2000f884, function pointer NULL - addr 0x2000f870, function pointer 0xd92b7e7c - addr 0x2000f85c, function pointer 0x462a03a9 - addr 0x2000f848, function pointer 0xf77b2f4b - addr 0x2000f834, function pointer 0x33714775 - addr 0x2000f820, function pointer 0x31ba37f8 - addr 0x2000f80c, function pointer 0x5fda8494 - addr 0x2000f7f8, function pointer 0xbcff174e - addr 0x2000f7e4, function pointer 0x341393f - addr 0x2000f7d0, function pointer 0xbcfee8b8 - addr 0x2000f7bc, function pointer 0x1e73d9e5 which obviously is broken. closes #39506. Signed-off-by:
Jacob Siverskog <jacob@teenage.engineering>
-
Szymon Janc authored
bt_conn_unref() requires valid conn pointer but could be called with NULL in case valid connection was not found in disconnect_eatt_chans(). Fixes #39851 Signed-off-by:
Szymon Janc <szymon.janc@codecoup.pl>
-
Lingao Meng authored
Should be continue when client->type not equal PROXY. Signed-off-by:
Lingao Meng <menglingao@xiaomi.com>
-
- 08 Nov, 2021 2 commits
-
-
Enjia Mai authored
Extend the timeout to prevent the cpp.libcxx.newlib_nano testcase runs failed in acrn_ehl_crb, ehl_crb and up_squared. We need to give these boards more time to finish the testcase's automation. Fixes #36852 Signed-off-by:
Enjia Mai <enjia.mai@intel.com>
-
Julien D'ascenzio authored
If a transmission is made with poll_out and immediately after an other transmission is made with interrupt api the transmission is locked. We fix this behavior by clearing the tx_poll_stream_on flag during the irq_tx_enable function Signed-off-by:
Julien D'ascenzio <julien.dascenzio@paratronic.fr>
-
- 05 Nov, 2021 4 commits
-
-
Francois Ramu authored
This commit is fixing the error on clock control for the AHB3 in the stm32_clock_control_off function. Signed-off-by:
Francois Ramu <francois.ramu@st.com>
-
Lingao Meng authored
When user only use pb-gatt provisioning, which unable to send out connectable advertising, due to adv thread not started. Signed-off-by:
Lingao Meng <menglingao@xiaomi.com>
-
Marcin Niestroj authored
After commit eeb15aa3 ("timer: hpet: enable 64 bit mode for better usages") was applied, main thread stack usage on qemu_x86 platform increased from 984 to 1040 bytes. Default stack size, which is 1024, is no longer enough. Change that to 1536 to make sure this sample runs correctly on qemu_x86. Signed-off-by:
Marcin Niestroj <m.niestroj@emb.dev>
-
Pieter De Gendt authored
The OpenThread stack uses uint32_t to calculate expiry time for alarms, while comparing to zephyr's uint64_t uptime. This commit fixes broken milliseconds alarms after ~49.7 days of uptime. Fixes #39704 Signed-off-by:
Pieter De Gendt <pieter.degendt@basalte.be>
-
- 29 Oct, 2021 1 commit
-
-
Andy Ross authored
There was a brief (but seen in practice on real apps on real hardware!) race with the switch-based z_swap() implementation. The thread return value was being initialized to -EAGAIN after the enclosing lock had been released. But that lock is supposed to be atomic with the thread suspend. This opened a window for another racing thread to come by and "wake up" our pending thread (which is fine on its own), set its return value (e.g. to 0 for success) and then have that value clobbered by the thread continuing to suspend itself outside the lock. Melodramatic aside: I continue to hate this arch_thread_return_value_set() API; it needs to die. At best it's a mild optimization on a handful of architectures (e.g. x86 implements it by writing to the EAX register save slot in the context block). Asynchronous APIs are almost always worse than synchronous ones, and in this case it's an async operation that races against literal context switch code that can't use t...
-
- 26 Oct, 2021 2 commits
-
-
Krzysztof Chruscinski authored
There were some leftovers in logging after attempt to use logging as tracing backend. Removing all references since it lead to test compilation failures. Signed-off-by:
Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Dominik Ermel authored
The commit updates mcumgr revision to include backport of 345caab img_mgmt: fix callback parameter values (backport-upstream-137-to-v2.7-branch) Signed-off-by:
Dominik Ermel <dominik.ermel@nordicsemi.no>
-
- 25 Oct, 2021 1 commit
-
-
Timo Teräs authored
DT_INST_NODE_HAS_PROP() returns true always since the boolean tag is valid. Use DT_INST_PROP_OR() to get the real value. Fixes: baecd7e5 drivers: uart_ns16550: Remove CMake-based templating Signed-off-by:
Timo Teräs <timo.teras@iki.fi>
-
- 22 Oct, 2021 2 commits
-
-
Martin Jäger authored
If a fallback hardware watchdog is used, it is fed together with the task watchdog in task_wdt_feed. However, the hardware watchdog was not yet set up before the first call to task_wdt_feed. This commit fixes the order of wdt_setup and task_wdt_feed calls. Fixes #39523 Signed-off-by:
Martin Jäger <martin@libre.solar>
-
Henrik Brix Andersen authored
Fix the limits for the timing parameter calculations. The lower limit for the phase_seg2 value is wrongly specified as 1 to 7, but 1U is substracted before writing it to the CTRL1:PSEG2 register field. This results in register field values between 0 and 6, but 0 is an invalid value for the PSEG2 register field. The upper limits for several of the timing parameters are wrong as well, but this does not result in invalid register field values being calculated. It can, however, result in not being able to meet CAN timing requirements. The confusion in specifying the limits likely stems from the timing calculations and timing limits using the "physical" values, whereas the registers fields all use the "physical" value minus 1. When the datasheet says "The valid programmable values are 1-7", the corresponding limits should be set to 2 to 8 to take the "minus 1" into account. Fixes: #39541 Signed-off-by:
Henrik Brix Andersen <hebad@vestas.com>
-
- 20 Oct, 2021 1 commit
-
-
Ryan Erickson authored
When creating a socket, be sure to check the address family and set the correct address family option in the AT command. Signed-off-by:
Ryan Erickson <ryan.erickson@lairdconnect.com>
-
- 19 Oct, 2021 2 commits
-
-
Jakub Rzeszutko authored
In panic mode, the function: z_shell_fprintf is expected to be called from an interrupt context. Therefore, the dedicated assert cannot be checked in this case. Fixes #38612 Signed-off-by:
Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
-
Torsten Rasmussen authored
Fixes: #36558 #32577 This commit introduces CMAKE_C_COMPILE_FEATURES and CMAKE_CXX_COMPILE_FEATURES. This allows users to use the `target_compile_features()` in their own code. In Zephyr, the CMAKE_C/CXX_COMPILE_FEATURES are defined based on the compiler and the Kconfig / CSTD setting. Doing so ensures that a user compiling Zephyr with c99 and specifies `target_compile_features(<target> ... c_std_11)` will get an error. And similar if building Zephyr with C++ support and c++11, but testing for `target_compile_features(<target> ... cxx_std_17)`. For example in the C++ case, the user must ensure that Zephyr is compiled with C++17, that is: CPLUSPLUS=y and STD_CPP17=y, in which case the CMAKE_CXX_COMPILE_FEATURES will contain support for C++17 and thus the `target_compile_features(<target> ... cxx_std_17)` will succeed. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
- 18 Oct, 2021 2 commits
-
-
Maureen Helm authored
Configures the default serial driver initialization priority for NXP SoCs to ensure that serial drivers initialize after clock control drivers. Signed-off-by:
Maureen Helm <maureen.helm@intel.com>
-
Maureen Helm authored
Refactors all of the serial drivers to use a shared driver class initialization priority configuration, CONFIG_SERIAL_INIT_PRIORITY, to allow configuring serial drivers separately from other devices. This is similar to other driver classes like I2C and SPI. The default is set to CONFIG_KERNEL_INIT_PRIORITY_DEVICE to preserve the existing default initialization priority for most drivers. The one exception is uart_lpc11u6x.c which previously used CONFIG_KERNEL_INIT_PRIORITY_OBJECTS. This change was motivated by an issue on the frdm_k64f board where the serial driver was incorrectly initialized before the clock control driver. Signed-off-by:
Maureen Helm <maureen.helm@intel.com>
-
- 17 Oct, 2021 6 commits
-
-
Henrik Brix Andersen authored
Poll the flash status instead of just reading the flash status once. Add support for controlling the number of SDO retries and the SDO timeouts. These changes allows for greater control of the CANopen program download, which is especially useful on noisy or congested CAN networks and on devices with slower flash access. Fixes: #39409 Signed-off-by:
Klaus H. Sorensen <khso@vestas.com> Signed-off-by:
Henrik Brix Andersen <hebad@vestas.com>
-
Evgeniy Paltsev authored
Don't allow to enable multiple register banks / fast interrupts if we have only one interrupt priority level. NOTE: we duplicate some checks by adding dependencies to ARC Kconfig and adding build-time checks in C code. We do it intentionally as for some reason we can violate dependencies in architecture-level Kconfig by adding incorrect default in SoC-level Kconfig. Such violation happens without any warnings / errors from the Kconfig. Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by:
Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
-
Jamie McCrae authored
This updates the broken image for the BL5340 board to a working one Signed-off-by:
Jamie McCrae <jamie.mccrae@lairdconnect.com>
-
Manivannan Sadhasivam authored
These 2 regions depends on the RegionBaseUS.c file. Fixes: #39297 Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-
Christopher Friedt authored
LTS2 Release \o/ Set version to 2.7.0 Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
Christopher Friedt authored
This change adds the list of closed issue as per the release process. Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
- 16 Oct, 2021 1 commit
-
-
Christopher Friedt authored
This change adds a summary of major enhancements introduced in v2.7.0 . There were so many it was difficult to narrow them down! Great work everyone! Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
- 15 Oct, 2021 6 commits
-
-
Alexander Wachter authored
This commit adds the CAN specific release-notes for the 2.7 release. Signed-off-by:
Alexander Wachter <alexander@wachter.cloud>
-
Christopher Friedt authored
Added release note for DNS-SD Services Type Enumeration Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
Christopher Friedt authored
Remove duplicate IPM entry. Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
Torsten Rasmussen authored
Updated the doc to use GNU Arm Embedded which is the correct term according to the official Arm documentation at the time of this commit. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
This commit adds description on how to use the Arm Compiler 6 / armclang toolchain with Zephyr. Signed-off-by:
Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Henrik Brix Andersen authored
Python 3.6 support is no longer available on macos-latest. Exclude it. Signed-off-by:
Henrik Brix Andersen <henrik@brixandersen.dk>
-
- 12 Oct, 2021 3 commits
-
-
Christopher Friedt authored
Set version to 2.7.0-rc5 Signed-off-by:
Christopher Friedt <chrisfriedt@gmail.com>
-
Bradley Bolen authored
Mention the addition of MPU support for Cortex-R. Signed-off-by:
Bradley Bolen <bbolen@lexmark.com>
-
David Leach authored
Documents significant changes to NXP SoC platforms in the 2.7.0 release. Signed-off-by:
David Leach <david.leach@nxp.com>
-