-
Notifications
You must be signed in to change notification settings - Fork 716
Update collab nrfx 4.0 #3296
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
magp-nordic
wants to merge
90
commits into
nrfconnect:collab-nrfx-4.0
from
magp-nordic:update-collab-nrfx-4.0
Closed
Update collab nrfx 4.0 #3296
magp-nordic
wants to merge
90
commits into
nrfconnect:collab-nrfx-4.0
from
magp-nordic:update-collab-nrfx-4.0
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
The following error is issued by clang when building with SPI_NOR_SFDP_RUNTIME enabled: error: fields must have a constant size: 'variable length array in structure' extension will never be supported 1379 | uint32_t dw[MIN(php->len_dw, 20)]; Instead, hardcode the array length to 20 32-bit words (it's instantiated in the stack anyway). Signed-off-by: Carles Cufi <[email protected]> (cherry picked from commit 267469b)
…ency to 854" This reverts commit d0a0769. The reason for reverting this is that the only safe startup time for 54L series is the one defined in the SoC .dtsi files (1650us), and other startup times are not reliable even when tested on a particular board. Signed-off-by: Carles Cufi <[email protected]> (cherry picked from commit 9e52df0)
Enable Direct XIP with revert MCUboot mode through sysbuild configuration. Signed-off-by: Tomasz Chyrowicz <[email protected]> (cherry picked from commit 7a54526)
nRF92 series is not supported in the IEEE 802.15.4 stack yet, so remove it from the board for now. Signed-off-by: Bernt Johan Damslora <[email protected]> (cherry picked from commit cb1b569)
Add revision support and overlays for rev. 0.2.0. Signed-off-by: Bernt Johan Damslora <[email protected]> (cherry picked from commit 46e9b4a)
This reverts commit a56cf02. Signed-off-by: Jamie McCrae <[email protected]>
This reverts commit 018554d. Signed-off-by: Jamie McCrae <[email protected]>
… images Adds support for images signed with SHA512. Upstream PR #: 95332 Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Jamie McCrae <[email protected]>
Increase stack size as support for SHA512 requires more data. Upstream PR #: 95332 Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Jamie McCrae <[email protected]>
This reverts commit 640dbac. Signed-off-by: Jamie McCrae <[email protected]>
… overlay" This reverts commit 73df5dd. Signed-off-by: Jamie McCrae <[email protected]>
…mised sample" This reverts commit d2ca243. Signed-off-by: Jamie McCrae <[email protected]>
add a wrapper function to read the number of bytes currently buffered and pending for the next flash write operation. Signed-off-by: Syver Haraldsen <[email protected]> (cherry picked from commit 6331225)
Add a test for the new API to query the buffered data size in the stream_flash subsystem. Signed-off-by: Syver Haraldsen <[email protected]> (cherry picked from commit bd9dc90)
Add test case where TDM is tested with 8 channels, 32 bit word size and 48k sample rate. Add Kconfig that enables test skip if the driver supports 8 channels but fails in this configuration. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit ce68b5a)
… generic case Supply empty vendor specific macros for cases where vendor specific functions are not needed by driver. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 98c0cc4)
The remainder of this driver functions when pin control is disabled, so make the include conditional as well to fully support this case. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit cb31e67)
…nterrupts Multilevel interrupts require that the irq number be read with DT_IRQN, so update the driver to use this macro. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 5dbaa86)
Bitmask offsets for the MSPI_DW peripheral are incorrect for the 4.03a databook for the DW APB SSI. Add a "v2" compatible to handle these changed offsets. The compatible does not define new binding properties, just modifies the register offsets. Additionally, handle writing the DFS32 mask for v2 of this compatible, as newer IP supports a dataframe size up to 32 bits. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 59d8fbc)
…ming The SSI DW peripheral supports an RX_SAMPLE_DLY register in some instances- this register controls the number of clock cycles from the default sample time before the RX input is actually sampled. This can be used to improve reliability when operating the SSI at a higher clock speed. Add an implementation of the mspi_timing_cfg api, and header to define the identifier so that users can configure this parameter Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 9c829a1)
The designware controller has an *interesting* implementation of the CS signal- CS will be de-asserted whenever the TX FIFO is empty, so slower cores may see CS de-assert prematurely if they cannot keep pace with their SPI peripheral. To help reduce odds of de-assertion, implement the following changes: - don't write SER bit until directly before we enable interrupts, so that transfers don't start early - prefix the TX FIFO before writing SER, so the FIFO can drain a bit before have to service an interrupt Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit e425b3d)
Support DDR mode within the mspi_dw driver Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit fc64fec)
…ed at entry Some systems (IE cores with bootloaders) may not disable the DW SPI peripheral at boot time. Make sure the peripheral is disabled before we try to configure it. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit a294653)
…RIVE_EDGE setting TXD_DRIVE_EDGE setting will typically be set to BAUDR/4 for DDR mode, but this may not cover all cases. Add a configurable multiplier and divisor to apply to the BAUDR value so the value's relation to BAUDR can be customized. Signed-off-by: Daniel DeGrasse <[email protected]> (cherry picked from commit 6e3a8da)
…PI_XIP disabled Move `api_timing_config()` impl outside of the block gated behind CONFIG_MSPI_XIP. Signed-off-by: Utsav Munendra <[email protected]> (cherry picked from commit 030b9f3)
Add possibility of using data strobe signal (DQS) called RXDS in the SSI documentation. This signal may be necessary to make use of DDR modes. Remove also a TODO comment that should have been removed when support for DDR was added in fc64fec. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 0e1dfd9)
…ly-gpios" property" This reverts commit fce86d0. Signed-off-by: Andrzej Głąbek <[email protected]>
…itial Quad disabling" This reverts commit 7cee84c. Signed-off-by: Andrzej Głąbek <[email protected]>
This reverts commit 6d48f83. Signed-off-by: Andrzej Głąbek <[email protected]>
…QER, add handling of OER" This reverts commit a4d3616. Signed-off-by: Andrzej Głąbek <[email protected]>
Add back tomli to the requirements-actions.txt as it is still used by some dependencies. Signed-off-by: Tim Pambor <[email protected]> (cherry picked from commit 12ba98b)
Remove mock from requirements-actions.in as it is not needed anymore. Signed-off-by: Tim Pambor <[email protected]> (cherry picked from commit 3d077c6)
No more users of lxml in the tree so drop the 3rd party dependency (it might still be pulled in by other projects, ex. gcovr). Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 9913817)
PyGithub >= 2.7.0 is required for the `Repository.get_collaborator_role_name` function used by the maintainer check script. Signed-off-by: Stephanos Ioannidis <[email protected]> (cherry picked from commit 3c1f7f1)
Remove an old workaround requiring lxml to be present as junitparser was not working with xml.etree.ElementTree until version 3.0.0. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit db47c89)
This is needed for any Kconfig processing Upstream PR #: 95771 Signed-off-by: Jamie McCrae <[email protected]>
Loads this file in a better way that means samples and modules should not have to source the file before referencing Kconfig module path variables Upstream PR #: 95771 Signed-off-by: Jamie McCrae <[email protected]>
Previously reopening of PR did not reopen manifest PR. This commit will enable reopening of manifest PR in such case. Signed-off-by: Kari Hamalainen <[email protected]>
…ound for partitions" This reverts commit 002838a. Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit dd95a7d)
The nRF54L1 has 1012 KB RRAM and not 1022 KB as it was set before. This adjusts the NS target with the correct size. Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit 9f0d277)
The nRF54L1 has 1012 KB RRAM and not 1022 KB as it was set before. This adjusts the NS target RRAM size for the relevant Ezurio boards which use the nRF54L10. Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit 7f94595)
…r coverage dump" This reverts commit 103b06a. Signed-off-by: Krzysztof Chruściński <[email protected]>
…ess test" This reverts commit 6bbe5d6. Signed-off-by: Krzysztof Chruściński <[email protected]>
…RF54LM20 rename Remove duplicated test configuration after nrf54l20pdk/nrf54l20/cpuxxx was renamed to nrf54lm20dk/nrf54lm20a/cpuxxx. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit afd90f4)
Remove possibility to run tests on nrf54l09pdk as this is an obsolete board that is going to be removed. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit d673851)
Add stress test that randomly starts and aborts multiple timers from various contexts. Test checks if timers do not expire prematurely. Upstream PR #: 87944 Signed-off-by: Krzysztof Chruściński <[email protected]>
…ge dump If test is to be run in coverage mode, wait for output to dump at the end of a failing testcase. Upstream PR #: 95162 Signed-off-by: Michał Stasiak <[email protected]>
…plementation Add Kconfig entries to allow compile own s2ram implementation. Signed-off-by: Karol Lasończyk <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]>
Added support for hardening decision on resume from S2RAM by MCUboot bootloader. Application sets additional variable to MCUBOOT_S2RAM_RESUME_MAGIC which allows the bootloader to doublecheck. Signed-off-by: Andrzej Puzdrowski <[email protected]>
…art instances The uart driver for nRF54h20 doesn't call pm_device_runtime_enable(). During an uart driver init `pm_device_driver_init()` return early, because the `pm_device_is_powered()` returns `false`. Power domains, where uarts are instantiated, are disabled: `pm->domain->pm_base->state` is not equal to `PM_DEVICE_STATE_ACTIVE`. At the end of the day, an uart instance is left disabled. This is a workaround to make the uart usable when CONFIG_PM, CONFIG_PM_DEVICE and CONFIG_PM_DEVICE_RUNTIME are enabled. Signed-off-by: Piotr Pryga <[email protected]> (cherry picked from commit eaede77)
Set PSA as the entropy source for nRF54lm20a target. PSA is the only NCS-supported interface to CRACEN. There is no other entropy source in 54lm20a than CRACEN. The commit also disables `rng` compatible with `nrf-cracen-ctrdrbg`, the nrfx based interface to CRACEN that is used in upstream Zephyr. Only one CRACEN interface may be enabled. Signed-off-by: Piotr Pryga <[email protected]>
…8.72.3 New hal_nordic revision contains MDK 8.72.3 with changes for nRF54LV10A EngA SoC. Upstream PR #: 95907 Signed-off-by: Michał Stasiak <[email protected]>
This reverts commit 08e0cf4. Signed-off-by: Tomasz Chyrowicz <[email protected]>
This alignment cannot be done through nrf fromlist commit, since it was introduced in the tree-wide commit: 2d22884 Once tried to pull all changes to merge it cleanly, the chain ended up in the doc/releases/migration-guide-4.3.rst file, which would bring nearly all of the changes from the Zephyr 4.3 release, making a small PR with just 4 white characters a Zephyr upmerge PR. Feel free to drop this commit during the next Zephyr upmerge. Signed-off-by: Tomasz Chyrowicz <[email protected]>
If the area, dedicated for the interrupt stack is not available, allow to specify a memory region that will be used as the stack for the S2RAM resume logic. Upstream PR #: 95914 Signed-off-by: Tomasz Chyrowicz <[email protected]>
Add the definition of pm_s2ram_stack memory region for nRF54H20. Upstream PR #: 95914 Signed-off-by: Tomasz Chyrowicz <[email protected]>
Added support for hardening decision on resume from S2RAM by MCUboot bootloader. Application sets additional variable to MCUBOOT_S2RAM_RESUME_MAGIC which allows the bootloader to doublecheck. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit 08e0cf4)
Adjusting the max shortest ticks value for slow PPR core. Signed-off-by: Paweł Pelikan <[email protected]> (cherry picked from commit 1192dbf)
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.
No description provided.