-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Zephyr v3.7.1 RC1 #81222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Zephyr v3.7.1 RC1 #81222
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disco l475 board exposes I2C3 on standard Arduino Uno pins A4/A5, not I2C1. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 0f05f58)
According to the riscv's `arch.h`:
+------------+ <- thread.arch.priv_stack_start
| Guard | } Z_RISCV_STACK_GUARD_SIZE
+------------+
| Priv Stack | } CONFIG_PRIVILEGED_STACK_SIZE
+------------+ <- thread.arch.priv_stack_start +
CONFIG_PRIVILEGED_STACK_SIZE +
Z_RISCV_STACK_GUARD_SIZE
The start of the privilege stack should be:
`thread.arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE`
Instead of
`thread.arch.priv_stack_start - CONFIG_PRIVILEGED_STACK_SIZE`
For the `end`, use the same equation of `top_of_priv_stack` in
the `arch_user_mode_enter()`
Signed-off-by: Yong Cong Sin <[email protected]>
(cherry picked from commit 7db18ab)
Initialize TCM and SRAM contents only after a destructive reset (e.g. PoR reset). SRAM retains content during functional reset through a hardware mechanism, therefore accesses do not cause content corruption errors. Fixes zephyrproject-rtos#75912 Signed-off-by: Manuel Argüelles <[email protected]> (cherry picked from commit ec72890)
In case POLLIN is set, and no new application data has been detected, the ztls_poll_update_ctx() should only return -EAGAIN if no other events are available for the socket. Otherwise, the function may end up busy-looping, in case for example POLLOUT is also monitored for the socket. Current check verifying that was wrong, as it caused to function to return -EAGAIN even if some other events could've been reported for the socket. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit bfe958a)
Fix the NM iface type check error, should use (1 << WIFI_TYPE_STA), instead of WIFI_TYPE_STA. Same for WIFI_TYPE_SAP. Signed-off-by: Maochen Wang <[email protected]> (cherry picked from commit bf42164)
Offset should be *subtracted* from current clock value, not added. This was causing clock to accumulate error instead of actually "converging". Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit dff19c3)
Fixes issues with net_ptp_time arithmetic where second overflow/underflow would not be handled properly. Signed-off-by: Benjamin Cabé <[email protected]> Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 43b948f)
Some offloaded ifaces have an L2, but lack support for net_l2->send. This edge case is not handled by net_if_send_data, resulting in a NULL dereference under rare circumstances. This patch expands the offloaded iface guard in net_if_send_data to handle this edge case. Signed-off-by: Georges Oates_Larsen <[email protected]> (cherry picked from commit 1c79445)
The .ref_internal field in the adc_driver_api struct was previously unset. Now it's set to the proper value, 1 V. Signed-off-by: Julia Azziz <[email protected]> (cherry picked from commit e7cfb05)
The block number in block1/2 options can be encoded on up to 20 bits according to RFC 7959, therefore the underlying type used in helper functions to retrieve the block number should be large enough to hold the result. Therefore, replace the container for block number with uint32_t instead of uint8_t. Signed-off-by: Robert Lubos <[email protected]>
Parse the more flag in coap_get_block2_option(), so that the function can be used not only with requests but also with replies (where the more flag should not be ignored). Signed-off-by: Robert Lubos <[email protected]>
Add entry about the coap_get_block1_option() and coap_get_block2_option() API change. Signed-off-by: Robert Lubos <[email protected]>
Implementing HCI setup function to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <[email protected]> (cherry picked from commit 7ca2072)
Enabling BT_HCI_SETUP for STM32WB55 to have a correct and proper initialization procedure to fix zephyrproject-rtos#75318 issue Signed-off-by: Alessandro Manganaro <[email protected]> (cherry picked from commit 4fc7724)
Looks like this option is not tested with userspace enabled. Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit c5e6416)
k_usermode_string_copy does not accept const in its arguements. Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 2a39132)
Extended the x-nucleo-iks4a1 shield standard sample adding lsm6dsv16x sensor die temperature display. Signed-off-by: Armando Visconti <[email protected]> (cherry picked from commit 878b5a9)
When setting the full scale through SENSOR_ATTR_FULL_SCALE the driver must convert the g value (i.e. one of 2g/4g/8g/16g) to the corrispondent sensor fs raw value. Signed-off-by: Armando Visconti <[email protected]> (cherry picked from commit 2eaec8b)
The current implementation assumes that sensor odr and range are always configured in the Device Tree at compile time which might not be the case. Instead, application can set odr and range either at compile time through the DT or using SENSOR_ATTR_SAMPLING_FREQUENCY and SENSOR_ATTR_FULL_SCALE attributes at runtime, so each driver instance must keep trace of the latest values set and use them in the sensor APIs which require them (e.g. lis2dux12_mode_set). Signed-off-by: Armando Visconti <[email protected]> (cherry picked from commit cf20aa0)
Return to sensor_api i/f the temperature in Celsius instead of the register raw value in LSB. Fixes zephyrproject-rtos#75686 Signed-off-by: Armando Visconti <[email protected]> (cherry picked from commit a1f9793)
…evice If it's a I3C v1.0 device without any HDR modes do not treat as an error if GETCAPS gives no valid response. Signed-off-by: Jose Alberto Meza <[email protected]> (cherry picked from commit c76e776)
Caused by a simple typo. Signed-off-by: Martin Stumpf <[email protected]> (cherry picked from commit 706ba43)
The global otg interrupt hs/fs is enabled by the udc_stm32 driver. Get it in the list of interrupts of the OTG node. Use UDC_STM32_IRQ naming. Signed-off-by: Francois Ramu <[email protected]> (cherry picked from commit 9ec7697)
Remove HTS221 sensor support from sensortile_box_pro as it has been ruled out from final version. In fact, HTS221 is in the process of being terminated and is not recommended for new design. The candidate replacement is SHT40 from Sensirion, which is available also as a DIL24 adapter, which can be plugged on sensortile_box_pro board. See SENSEVAL-SHT4XV1: https://www.st.com/en/partner-products-and-services/senseval-sht4xv1.html Signed-off-by: Armando Visconti <[email protected]> (cherry picked from commit cdce68e)
There were code paths that could have lead to divide by zero given an invalid scale setting for accel or gyro. In practice this should be an invalid setup even before getting to these conversion functions. The conversion functions now better show all valid values are accounted for by using CODE_UNREACHABLE in the default case. Signed-off-by: Tom Burdick <[email protected]> (cherry picked from commit 5474b61)
Apparently, disabling the intterupt is not enough, because without clearing the flag, some errors are occurring. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit 9f56ff5)
fix to ensure that USB audio interface is not starved when no audio data is received over bluetooth. Signed-off-by: Tim Sørensen <[email protected]> (cherry picked from commit 86032bc)
This reverts commit 269729a. Signed-off-by: Chris Friedt <[email protected]> (cherry picked from commit 6a0593d)
A corner case involving C++, posix, networking, and native_sim was causing problems. Even though C and C++ builds should include zephyr/posix/.. in the default search path with `CONFIG_POSIX_API=y`, for some reason, the native compiler pulls in /usr/include first anyway. The stat.h header pulled in <sys/types.h> (which is normally fine) but due to the native build, it was pulling in /usr/include/sys/types.h, from the host toolchain. Explicitly include <zephyr/posix/posix_types.h> instead of <sys/types.h> from stat.h, and continue using the workarounds for native builds (explicitly including zephyr/posix/arpa/net.h from net/sockets.h . Signed-off-by: Chris Friedt <[email protected]> (cherry picked from commit 81f5205)
A number of types such as uid_t, gitd_t, etc, were defined in sys/stat.h to workaround compatibility issues many years ago. Since posix_types.h is slated to become equivalent to sys/types.h in terms of standard headers, move these types to where they belong. For more information, please see https://pubs.opengroup.org/onlinepubs/9699919799/\ basedefs/sys_types.h.html Signed-off-by: Chris Friedt <[email protected]> (cherry picked from commit 6667b50)
Update the EDTT module to: b9ca3c7030518f07b7937dacf970d37a47865a76 Including the following: * b9ca3c7 Fix for for python >= 3.11 * fe9b1d1 Corrected ISO interval for LL/CIS/PER/BV-05-C Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 59685b5)
The second condition needs to check ARP probes only The ACD is not properly implemented as described in RFC5227 ch. 2.1.1 The implementation incorrectly detects an IP conflict, if an ARP request is received for the target IP. The reason is that the current implementation checks for ARP requests instead of ARP probes. Signed-off-by: Andreas Huber <[email protected]> (cherry picked from commit 27d93f8)
Add support for the W25Q512JV with the FLEXSPI, using a custom LUT table. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 6bc73df)
WS25Q512JV can only run at 104MHz at 3.3V, unless the read parameter bits are changed. Since we don't reprogram these currently, reduce max frequency to safe value Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 23d2537)
The MCUmgr statistics only work correctly when selecting MCUMGR_SMP_LEGACY_RC_BEHAVIOUR option. Checks the option flag on the stat_mgmt_list and fix the behavior. Fixes: 80476 Signed-off-by: Gerson Fernando Budke <[email protected]> (cherry picked from commit b46e176)
To accommodate for some slow tests on up2. For example: tests/arch/x86/info/arch.x86.info.userspace Execution time of this test is close to 55s and sometimes above up to the 60s. Related issue: zephyrproject-rtos#80134 Signed-off-by: Artur Wilczak <[email protected]> (cherry picked from commit 9cce72d)
lots of values from the DT where not set corretly, if `CONFIG_SPI_NOR_SFDP_RUNTIME` was enabled. This fixes it. Signed-off-by: Fin Maaß <[email protected]> (cherry picked from commit 27aeabb)
simplify defines by using `DT_INST_**_OR` macros. Signed-off-by: Fin Maaß <[email protected]> (cherry picked from commit 83c3b1c)
Fix the order of the arguments to sys_write32(). Fixes: zephyrproject-rtos#80750 Signed-off-by: Henrik Brix Andersen <[email protected]> (cherry picked from commit 0bb5270)
- fixes overlay-udp.conf build for platforms without TRNG. - adds TEST_RANDOM_GENERATOR, as for most network samples. Signed-off-by: Andrej Butok <[email protected]> (cherry picked from commit 5c376ad)
Blanking On/Off calls should not return 0 when there is no panel controller to forward them to, instead they should return ENOSYS to signal to the application that they were not actually executed. "device_is_ready" does check for null, but also for "dev->state->initialized == false", so we need to isolate the "dev == NULL" case. Signed-off-by: Abderrahmane Jarmouni <[email protected]> (cherry picked from commit f7de44d)
There is a typo in the part number list for LPC55S69. The LPC55S69JET98 should be LPC55S69JEV98. Fixes zephyrproject-rtos#80541 Signed-off-by: David Leach <[email protected]> (cherry picked from commit 46042f7)
- Use `SHELL_CMD_ARG_REGISTER` for the main cmd to state the required number of arguments, this helps to remove the runtime check from the command, and also print the help message to the terminal when the argument count is unexpected. - Some changes to the help text that hopefully makes the mandatory and optional arguments more obvious to the user Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit 276ccd0)
The terminal offset for subcommands' help text isn't computed correctly, fix it. Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit fd1be98)
This commit places the chan_blen_transfer DMA test's TX and RX buffers in a separate file that gets entirely relocated. This ensures that the buffers reside in the correct memory, without breaking other things due to relocation of test data/code. Fixes zephyrproject-rtos#75676. Signed-off-by: Mathieu Choplain <[email protected]> (cherry picked from commit 3099491)
This commit moves the test buffer from ITCM (not accessible by DMA) to DTCM on several NXP boards, to make the test successful. Signed-off-by: Mathieu Choplain <[email protected]> (cherry picked from commit eaa799a)
This reverts commit 7d76162. Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 7aa4032)
This reverts commit 773739a. Fixes zephyrproject-rtos#80701 Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit e646b7f)
This change was in the same commit previously reverted and seem to be unrelated and should not be reverted. Fixes the problem: ..... /swap_helper.S:432:(.text.z_arm_svc+0x26): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `z_arm_int_exit' defined in .text._HandlerModeExit section in ....core/cortex_m/libarch__arm__core__cortex_m.a(exc_exit.c.obj) Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit d9bc0b6)
Added check where stream_flash_erase_page checks if requested offset is actually within stream flash designated area. Fixes zephyrproject-rtos#79800 Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 8714c17)
The commit adds test for stream_flash_erase_page range check. Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 2380530)
Add list of fixed bugs in the 3.7.1 release section. Signed-off-by: Anas Nashif <[email protected]>
Bump version to 3.7.1-rc1 Signed-off-by: Anas Nashif <[email protected]>
|
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v3.7-branch