-
Notifications
You must be signed in to change notification settings - Fork 687
Wezen fpga test #3077
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
Draft
ajayparida
wants to merge
1,048
commits into
nrfconnect:main
Choose a base branch
from
ajayparida:wezen_fpga_test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Wezen fpga test #3077
+24,112
−4,667
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
Configure the active discharge feature for both the BUCK and LDO/LDSW blocks through the appropriate registers. Signed-off-by: Jordan Yates <[email protected]> (cherry picked from commit 5dcaf07)
Rename npm1300 drivers and header files to npm13xx to allow for usage with other nPM13xx product variants. Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit fb007db)
Rename npm1300 to npm13xx in function names, documentation, etc. where applicable for all the npm13xx drivers Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 89b8383)
Add nPM1304 device tree bindings. Extract the properties common to nPM1300 and nPM1304 into npm13xx-common files. Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 34188c4)
Add support for nPM1304 in the npm13xx drivers. The nPM1304 supports different voltage and current ranges which are handled through the initialization macros. Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 645159d)
Add notes about change in API and file locations from npm1300 to npm13xx Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 1bfeaba)
…ices Add the npm1300 and npm1304 devices tests to the appropriate build_all Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 3b03595)
POLLHUP event may be returned even if there is still data to read and POLLIN is set. To ensure all data is consumed, check for POLLHUP after handling POLLIN. https://man7.org/linux/man-pages/man2/poll.2.html Signed-off-by: Juha Ylinen <[email protected]> (cherry picked from commit ed79675199c321132ebb484895bba85400cad34b)
This is a follow up commit for 93b8dd9 where auto-swap feature was added. This commit fixes compilation of Host without the feature enabled. nrf-squash! [nrf noup] bluetooth: host: Add support for bonding with same peer Signed-off-by: Pavel Vasilyev <[email protected]>
…rror checking Modify the reset function to also reset the connection and PA sync states. Modify and add missing checks for mutex locks to use ASSERT when using K_FOREVER, as they should never fail/timeout. Cleanup some text and error checks. Ensure that the add_src_param is reset for each loop iteration as well. Modify so that we use K_FOREVER fewer places. Signed-off-by: Emil Gydesen <[email protected]> (cherry picked from commit 117dca0)
The usage of nrf_gpio_port_retain_disable/_enable, in cases where the soc pins support retention, every pin must be retained/unretained regardless of what power domain the pad is in. This patch ensures retain is applied to all pins in all domains by the gpio_nrfx device driver, not only pins specifically in the fast_active_1 domain. Without this patch, pinctrl will correctly retain pins, while gpio_nrfx will fail to unretain them when again. We no longer check the output state either, which was passed with the flags arg of gpio_nrfx_gpd_retain_set() so this arg has been removed. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 691b335)
Pins can be configured to retain their config even when the power domain they belong to is suspended. Update pinctrl_nrf to enable retain only if the pin has been configured and is not in use (pincnf is low-power/sleep), disable retain otherwise. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 652635f)
Add DEVICE_DEINIT variants of SPI_DEVICE_ macros. These include - SPI_DEVICE_DT_DEINIT_DEFINE() - SPI_DEVICE_DT_INST_DEINIT_DEFINE() Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 1663253)
Implement device deinit for nRF SPIM device driver. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 2609cfb)
Introduce test for device_deinit() which deinitializes the spi bus, then configures miso as input, mosi as output using gpio, utilizing the loopback to test directly controlling the pins. Then reinit the spi device. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit ecb5457)
…h miso/mosi Add miso-gpios and mosi-gpios to nrf overlays required for device_deinit testing. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 160c196)
Add device deinit variants of the I2C_DEVICE_DT_*_DEFINE macros. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit 8a928ea)
Implement device deinit for the nRF TWIM device drivers. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit bd73c73)
Implement device deinit hooks for nRF TWIS device driver. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit f22ffee)
…t case Add device_deinit test case which, in case there are two devices using gpio loopbacks, deinits both controller and target devices, then uses gpio to configure and toggle the pins of the bus, then reinitializes both devices. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit db1f14e)
…ith bus gpios Add bus gpios to zephyr,user node in nrf overlays to enable testing device_deinit test case. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit e0fa444)
This introduces a clock_control driver for bl60x Signed-off-by: Camille BAUD <[email protected]> (cherry picked from commit 46b5d05)
Introduce Nordic NRF AUXPLL binding include. Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit 8b5ff6a)
…pll binding Added new binding for macros of possible auxpll frequency settings. Will be used in future products also. Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit b4a9b8e)
…nrf2 Refactor of previous clock_control_nrf_auxpll.c to use the nrf2 clock control API Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit 49b0f1a)
Auxpll driver has been refactored to use nrf2 API instead. Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit 9087e82)
…f2_auxpll driver Test added for new nrf2_auxpll driver. Frequency checks are against known usecases of the auxpll (USB, CAN and AUDIO). Also update test to be more modular, only running certain tests if in the devicetree. Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit bd5aefb)
Move lfosc_get_accuracy away from common library as not all devices need this function. Signed-off-by: David Jewsbury <[email protected]> (cherry picked from commit 0285cf4)
Commit be40d854c2ccacf14ca3fcfb01bffdc9b075c6c9 introduced the ability of building Zephyr with deprecation warnings enabled, by making COMPILER_WARNINGS_AS_ERRORS depend on the newly added DEPRECATION_TEST Kconfig option. This has the downside of disabling **all** warnings, not only the deprecation ones. This patch instead makes DEPRECATION_TEST disable only the deprecation warning, but leaves COMPILER_WARNINGS_AS_ERRORS enabled. This has the advantage of being able to see other unrelated warnings (and fail if they appear) but has the disadvantage of not printing out the deprecation warnings themselves (since they are disabled). Signed-off-by: Carles Cufi <[email protected]> (cherry picked from commit 892ac07)
If test plan is used, memory usage metrics are overridden. Result of this operation is missing memory footprint. This change removes redundand metrics update and fixes described inconvenience. Signed-off-by: Katarzyna Giądła <[email protected]> (cherry picked from commit bec789d)
Enable 'spi_loopback' test for MAX32657 boards. Signed-off-by: Mert Ekren <[email protected]> (cherry picked from commit e7dd1e5)
…rted This early exit section is only reached if there is an error. In the case of not supported, the ret variable will be 0 and zassert won't happen. This is because the test was meant to be skipped, not passed or failed, in this case. So add the skip call. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit 0574ac7)
The tests was written wrong. It was meant to test using same spi bufs for both rx and tx, as in tree many sensor and other spi device drivers use this paradigm. But the 2nd buf setup call was overwriting the first. Fix by not using the helper function for this case. And for the write back test, test using same spi_buf_set. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit f7853df)
…LM20 rename Remove duplicated test configuration after nrf54l20pdk/nrf54l20/cpuxxx was renamed to nrf54lm20dk/nrf54lm20a/cpuxxx. Run test with 16MHz/32MHz bitrate using spi00 instance (spi2x instances support up to 16MHz/2). Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 31e8326)
This fixes the case where uart_tx() called from tx callback fill UART output fifo and immediately execute callback again. This can happen when hardware does not have interrupt for output FIFO empty and there is no non-blocking way to tell that transfer finished. For such case as soon as output FIFO is filled there is interrupt that informs that more data can be transmitted. For hardware with 32 byte fifo callback was seen to be executed recursively 3 times. That would not be a problem if chained_write_next_buf was set BEFORE next call uart_tx(). Additionally semaphore max value is increased to 2 to accommodate such case. Signed-off-by: Jerzy Kasenberg <[email protected]> (cherry picked from commit fea8ee4)
…erlays Add UART test overlays for Nucleo U385RG-Q board. Remove non serial boot conf file since they are now unnecessary. Signed-off-by: Khaoula Bidani <[email protected]> (cherry picked from commit 065900b)
…ek_ra8p1 Add support test uart_async_api for Renesas ek_ra8p1 Signed-off-by: Khoa Nguyen <[email protected]> (cherry picked from commit e6f9cd3)
…he memory Since nucleo_f746zg has NOCACHE_MEM defined (related to test cases drivers.uart.async_api.nocache_mem and drivers.uart.async_api.nocache_mem_dt.nucleo_f746zg), the TX buffer should be placed in a non-cacheable memory region for the uart_async_var_buf_length testsuite to pass. Signed-off-by: Fabrice DJIATSA <[email protected]> (cherry picked from commit 28c766b)
…frequency With the current configuration, we encounter a user setting error during the test with the log: "Wrong number of bytes received, got: 2, expected: 3." Workaround: Increase the clock frequency to enable faster data transmission and avoid user setting errors. Signed-off-by: Fabrice DJIATSA <[email protected]> (cherry picked from commit 7900f8d)
…F54LM20 rename Remove duplicated test configuration after nrf54l20pdk/nrf54l20/cpuxxx was renamed to nrf54lm20dk/nrf54lm20a/cpuxxx. Add test on fast instance uart00 on nrf54lm20dk. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit e5a9c35)
…RF54LM20 rename Remove duplicated test configuration after nrf54l20pdk/nrf54l20/cpuxxx was renamed to nrf54lm20dk/nrf54lm20a/cpuxxx. Reorganize testcase.yaml to make it easier to maintain. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 207c662)
…LM20 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 d05c971)
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 a918256)
…F54LM20 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 1cf511e)
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 c537fa7)
…up time" This reverts commit 79eff4e. Signed-off-by: Sebastian Głąb <[email protected]>
… 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 ebdbc24)
…alculation max_stddev calculation was previously patched to be more at least 1 system clock cycle to cover for platforms that use higher frequency system clock (32kHz). On that platform (nRF52) system clock frequency was the same as tick frequency but on nRF54x that is no longer true. Initially, the intention was to use 1 system tick and not cycle. Fixing it now. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 26fe43d)
Add SHIM layer for nrfx_mramc driver for zephyr Signed-off-by: Travis Lam <[email protected]> (cherry picked from commit f94a45c)
Use specific chipset for compat instead of a generic Series. Upstream PR #: 93567 Signed-off-by: Chaitanya Tata <[email protected]>
Add support for testing NRF71. Signed-off-by: Ajay Parida <[email protected]>
Application used to test RPU memory through read/write operations. Signed-off-by: Ajay Parida <[email protected]>
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Add support for nrf71. Signed-off-by: Ajay Parida <[email protected]>
44a6c92
to
0ac95fa
Compare
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.