-
Notifications
You must be signed in to change notification settings - Fork 731
Upmerge 2023.04.17 #1132
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
Merged
carlescufi
merged 1,907 commits into
nrfconnect:main
from
mbolivar-nordic:upmerge-2023.04.17
May 3, 2023
Merged
Upmerge 2023.04.17 #1132
carlescufi
merged 1,907 commits into
nrfconnect:main
from
mbolivar-nordic:upmerge-2023.04.17
May 3, 2023
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
Switch the NXP i.MX RT1060 evaluation kit from using FlexCAN2 to FlexCAN3. FlexCAN1 and FlexCAN2 are standard FlexCAN controllers supporting CAN 2.0b, whereas FlexCAN3 supports both CAN 2.0b and CAN-FD. Switching to FlexCAN3 by default allows testing the CAN-FD capabilities of this board. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Private Beacons and Secure Network Beacons are not mutually exclusive by spec. This means both beacons can be sent simultaneously. For both beacons spec defines their own observation intervals and related parameters, which means we need to monitor both beacons types separately. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Private Beacons are mesh-1.1 feature and without mesh-1.1 spec enabled, the node shall not process such beacons. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Add missing code for restoring Private Beacon state after reboot. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
add support for async call and repeat sample test 1. change the DMA req to 2 byte each 2. increase the buffer pre-dma 3. add protection on invalid buffer depends on: PR #56104 fixing: issue #56070 Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
Some functions such as the ISH power management function needs to reserve GDT entry place holders which are filled during runtime. Add config option to define the number of GDT entry place holders reserved and change the ia32 linker script accordingly. Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
This new configuration option, SHELL_BACKEND_RTT_BUFFER, allows selecting an alternative buffer for the Shell's RTT backend. By default buffer 0 is used, which conflicts with the default logging subsystem RTT backend buffer. This option is the counterpart to the logger's LOG_BACKEND_RTT_BUFFER. Signed-off-by: Maurits Fassaert <maurits.fassaert@sensorfy.ai>
Allows to bypass delay block (DLYB). Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This test is going away when #55976 is merged. Add a sleep to work around this sequence of events: - central establishes channels - peripheral tries to establish channels, fails (max num reached) - central (still thinking chans are valid) triggers reconfigure - collision mitigation on the peripheral, triggering a disconnect of both sides - channels are established again, but the reconfigure isn't triggered again - devices wait forever for the reconfigure cb Fixes #55912 Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
Fix broadcast audio source and sink samples' conf file to use Broadcast ISO feature in Zephyr Bluetooth Controller. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
The native_tasks definition was directly in the soc_inf soc.h header. But soc.h pulls a lot of other headers. Some of those could cause conflicts, say with application headers, for users who only wanted the be able to register native tasks in a module. Let's refactor the native tasks definitions into their own header and include that header from soc_inf's soc.h. In this way users who need only need to register a native tasks can just include posix_native_tasks.h, and all previous users see no change. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The platform nrf52_bsim was specified as an integration platform, but was missing from the allow list. This commit adds this platform to the allow list. Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
Included consideration for the packet sequence number and time stamps together with the SDU interval in matching the event for fragmentation of SDUs to unframed PDUs. Implemented: -- Increase in kconfig limit of BT_CTLR_ISO_TX_BUFFERS to allow full 32 buffers to be available for LL/CIS/PER/BV-39C -- ISO-AL microsecond time wrapping exposed to be used externally to adjust incoming Group Reference Points and Time-stamps where required -- Function that handles adjustment of payload number according to incoming SDU exposed for external use to allow next payload number to be accessed by ISO transmit tests -- Changed internal fragmentation source identification parameter from the source structure pointer to the source handle so that only the source handle needs to be used for external calls Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
-- Unit test to check that the correct payload number is selected based on the SDU packet number and the time stamp when fragmenting SDUs into PDUs. -- Ran clang-format on isoal_test_tx and isoal_test_rx Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
The temperature sensor of the STM32F0x0 is similar to C0 (with one value for calibration) but uses a negative coefficient, so we add it to the bindings, just like in st,stm32-temp.yaml Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add support for negative temperature coefficient for single calibration chips in the STM32 temperature driver. That feature is necessary for STM32F0x0. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add support of temperature sensor in the dtsi of the STM32F0x0 family Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add temperature sensor for the Nucleo FO70RB. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add bt-hci-rpmsg-ipc to DTS. Move common items to their own files. Align debug setup with nrf5340 DK. Remove scratch partition. Signed-off-by: Andrew Hedin <andrew.hedin@lairdconnect.com>
Add display to default configuration. Update board file to work with changes to graphics library. Enable compatibility with new version of LVGL. Prevent hard fault when running LVGL sample. Add alias for touch controller. Signed-off-by: Andrew Hedin <andrew.hedin@lairdconnect.com>
Find and match only Central role ticker when applying the BT_CTLR_CENTRAL_SPACING value. Use the EVENT_TICKER_RES_MARGIN_US value as +/- jitter margin when ticker advanced scheduling is used to group radio events. When using CONFIG_BT_CTLR_CENTRAL_SPACING, do not add the +/- jitter to the ticks_slot. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Move the use of rx chain delay value used to calculate the window offset into lll_scan_prepare_connect_req() instead of current two places, one for legacy and other for extended connection setup. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Update Advanced Scheduling implementation to use remainder value in precisely calculating the connection request window offset in microseconds. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix window offset calculation which is missing the radio rx ready delay timing be subtracted because the connection offset from the start of the radio for scan window to the end of the ADV_IND PDU includes the radio rx ready delay timing, where as the determined window offset by advanced scheduling calculates the offset from the ticks_at_expire of the scan window to an active central connection's ticks_at_expire. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Test that if all targets are lost because of failing each DFU Transfer step `target_lost` callback is called on every one, and `end` callback is called as procedure aborts. Signed-off-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl>
Add LPADC support to LPC55S36 SOC platform Signed-off-by: David Leach <david.leach@nxp.com>
Enable VREF peripheral in the LPADC init so that ADC can measure voltages properly. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Enable LPADC on lpcxpresso55s36 board Support lpcxpresso55s36 on ADC driver sample Signed-off-by: David Leach <david.leach@nxp.com>
The audio code utilizes BT_CONN so ensure its only built if CONFIG_BT_CONN is set. This is to fix a build issue we see with arm-clang for: sample.bluetooth.broadcast_audio_source which fails to link since bt_conn_get_info is missing. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
20 tasks
Fix some additional cases in in-tree applications (samples and tests). Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> (cherry picked from commit 26d3157)
ba031b8 to
1d214e7
Compare
… SFD OpenThread requires that the `mTimestamp` parameter from the `mRxInfo` struct points to the end of SFD, i.e. beggining of PHR. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no> (cherry picked from commit 760d8fc)
…o tx is supported After `otPlatRadioSleep` was fixed to properly set radio state to sleep, radios supporting `IEEE802154_HW_SLEEP_TO_TX` capability would not be able to handle `PENDING_EVENT_TX_DONE` while in sleep state. This commit fixes such case. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no> (cherry picked from commit 2c4cf25)
… uni cli The unicast client did not properly guard the sent and recv callbacks. Upstream PR: zephyrproject-rtos/zephyr#57079 Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
…T_AUDIO_TX Modify the guard of bt_bap_stream_send to use the CONFIG_BT_AUDIO_TX. Upstream PR: zephyrproject-rtos/zephyr#57079 Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This overlay is still needed for non-leaudio tests. Signed-off-by: Magdalena Kasenberg <magdalena.kasenberg@codecoup.pl> (cherry picked from commit 0b5f976)
squash! [nrf noup] ci: scripts: add quarantine file Add configuration failing due to ram/rom overflows which won't be fixed Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
jfischer-no
approved these changes
Apr 27, 2023
…ctive_image() The commit adds img_mgmt_active_slot() which allows to get active (running) slot for given application image. Added img_mgmt_active_image() allows to get number of image running on current MCU core. Upstream PR: zephyrproject-rtos/zephyr#56725 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…r confirm The commit adds img_mgmt_set_boot_next function which uses boot_set_next MCUboot/bootutil function to set application slot for next boot. The img_mgmt_set_boot_next is intended to replace img_mgmt_state_confirm and img_mgmt_state_set_pending. Upstream PR: zephyrproject-rtos/zephyr#56725 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
In case when CONFIG_MCUMGR_SMP_LEGACY_RC_BEHAVIOUR=n then the image erase command would incorrectly return MGMT_ERR_EMSGSIZE, even though no such error occurred. (cherry picked from commit 00f1639) Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…594291` Bumping version of openthread and rename of `OT_MTD_NETDIAG` to `OT_NETDIAG_CLIENT` Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no> (cherry picked from commit de20ba8)
1b8d4d8 to
ebd08e6
Compare
The data can only be used if CONFIG_BT_CODEC_MAX_DATA_COUNT is non-0. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit da9096c)
Several input parameter checks were missing in the BAP broadcast source API. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit fa95a7a)
Move the BT_AUDIO_TX guard so that it does not cover the verification functions for valid_codec and qos, as they are also relevant for receivers to verify what remote devices send. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit 32e8392)
The qos->latency is not available for broadcast sink-only builds. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit 2c5a249)
…sabled Add configurations where CONFIG_BT_AUDIO_TX and CONFIG_BT_AUDIO_RX are disabled. Fixes issues found in the BT shell implemented caused by these configurations. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit 303bcfd)
In the broadcast sink when the streams disconnected (without the PA disconnecting), the streams were not properly removed from the sink's list of streams. This allowed the same stream to be added to the list twice, which would cause a infinite loop as the stream would point to itself as the next. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> (cherry picked from commit 5076476)
Changing this enumeration breaks backward compatibility with Wi-Fi shell as we rely on these values to decide the Wi-Fi security. Add them at the end to fix backward compatibility. Signed-off-by: Krishna T <krishna.t@nordicsemi.no> (cherry picked from commit f7dbc59)
carlescufi
approved these changes
May 3, 2023
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.
Regularly scheduled upmerge.
(This replaces #1130 since that targeted the wrong branch)