Skip to content
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

Remove nRF54L15 EngA #2147

Open
wants to merge 61 commits into
base: main
Choose a base branch
from
Open

Conversation

57300
Copy link
Contributor

@57300 57300 commented Oct 22, 2024

Cherry-pick board & SoC removal.

@57300 57300 changed the title [nrf fromlist] nRF54H20 EngB fixes nRF54H20 EngB fixes + Remove nRF54L15 EngA Oct 23, 2024
@57300 57300 force-pushed the nrf54h20-engb-fixes-ncs branch 2 times, most recently from fa176fe to 48de1cd Compare October 23, 2024 09:53
@NordicBuilder
Copy link
Contributor

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@7781570 zephyrproject-rtos/hal_nxp@f4e26fa zephyrproject-rtos/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@57300 57300 changed the title nRF54H20 EngB fixes + Remove nRF54L15 EngA Remove nRF54L15 EngA Oct 23, 2024
@rlubos rlubos requested review from de-nordic, nordic-krch and a team as code owners October 24, 2024 14:37
…before"

This reverts commit d801762.

Signed-off-by: Grzegorz Swiderski <[email protected]>
…cted accuracy"

This reverts commit 438fad3.

Signed-off-by: Grzegorz Swiderski <[email protected]>
… gain for nrf54."

This reverts commit 3f00446.

Signed-off-by: Grzegorz Swiderski <[email protected]>
This reverts commit 57edf6e.

Signed-off-by: Grzegorz Swiderski <[email protected]>
This reverts commit e0ea947.

Signed-off-by: Grzegorz Swiderski <[email protected]>
This reverts commit a392ecc.

Signed-off-by: Grzegorz Swiderski <[email protected]>
…s for run once config"

This reverts commit 4f0db94.

Signed-off-by: Grzegorz Swiderski <[email protected]>
…un once config"

This reverts commit 59371c3.

Signed-off-by: Grzegorz Swiderski <[email protected]>
…oC extension"

This reverts commit 0d8c22b.

Signed-off-by: Grzegorz Swiderski <[email protected]>
This reverts commit 5de335b.

Signed-off-by: Grzegorz Swiderski <[email protected]>
This reverts commit 3eb953f.

Signed-off-by: Grzegorz Swiderski <[email protected]>
michal-smola and others added 29 commits November 6, 2024 08:32
Enable ADC tests for frdm_mcxc242 board.

Signed-off-by: Michal Smola <[email protected]>
(cherry picked from commit f810e13)
Add virtual Cortex R8 SoC. This target does not represent a real SoC,
but can be easily run in Renode.

This will allow to easily test basic architecture support.

Signed-off-by: Krzysztof Sychla <[email protected]>
Signed-off-by: Marek Slowinski <[email protected]>
Signed-off-by: Piotr Zierhoffer <[email protected]>
Signed-off-by: Mateusz Hołenko <[email protected]>
(cherry picked from commit dc433dd)
This commit adds a virtual target using the `cortex_r8_virtual` SoC.
It can be used for testing purposes and a starting point to add new R8
platforms.

Signed-off-by: Krzysztof Sychla <[email protected]>
Signed-off-by: Marek Slowinski <[email protected]>
Signed-off-by: Piotr Zierhoffer <[email protected]>
Signed-off-by: Mateusz Hołenko <[email protected]>
(cherry picked from commit 92d4a88)
The input/output documentation of dts.cmake and pre_dt.cmake was
outdated.

Signed-off-by: Florian Grandel <[email protected]>
(cherry picked from commit 5688a95)
Full name or description of a board is something we are missing in
HWVv2. It is right now being added to yaml files parsed by twister. This
should be generically available to tooling and documentation
independently from twister.

As we rework how twister parses board meta-data (#77250) and how we
generate board documentation (#79160), this becomes neceassry.

Moving the board full name/description from the twister yaml files to
the board.yaml is something we can automate once the schema is agreed
upon.

Signed-off-by: Anas Nashif <[email protected]>
(cherry picked from commit 50ffc77)
Use the description field for the full name/description of the boards.

Signed-off-by: Anas Nashif <[email protected]>
(cherry picked from commit 55489f5)
The recently introduced board.full_name property can now be used as part
of the format string in the `west boards -f ...` command.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit acbda31)
Only add js/css needed for live code sample search to the pages
that actually need it.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit 4eb415e)
This commit adds support for generating an interactive catalog of all
the supported boards that can be included in the documentation using
the `.. zephyr:board-catalog::` directive.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit f2f1496)
Full name was set based on the information available either in board
documentation or in Twister files.
Whenever applicable, vendor name was dropped from the full name so that
all boards have a consistent naming scheme.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit 05d59f7)
…15 FP1

Added dedicated nrfx configuration files for
nRF54L15 FP1, which differ from ENGA variant with
inclusion of PDM.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 005587f)
A bunch of copy-paste mistakes when adding the nRF54L15 DK added stale
references to the Preview DK (PDK).

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit c85e418)
The nRF54L15 Development Kit is now available, so remove the Preview
Development Kit (PDK).

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit cb47c62)
The production version of the nRF54L15 SoC is now available, so remove
the initial Engineering A (EngA) preview version.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 51c1e45)
We now use hwmv2 to list boards instead of relying on twister specific
config files.
One yaml files (twister.yaml for now) will have all the data needed for
all possible targets and variations of a board reusing most of the data
where possible and variations can override the top level data.

Twister keeps track of 'aliases' of boards and identifies that for
example native_sim is the same as native_sim/native, so either names
will be possible in both test yaml files or on the command line,
however, the reporting will always use the full name, so no there is no
confusion about what is being tested/built.

Signed-off-by: Anas Nashif <[email protected]>
(cherry picked from commit dfc7860)
Add overlay and enable test for nrf52840dk.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit dc9a9dc)
Add overlay and enable test for nrf54h20dk.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit d4c8b35)
Add overlay and enable test for nrf54l15dk.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit 108f6cd)
…r nrf54.

It will increase test coverage for adc driver, no test uses
ADC_GAIN_2_3 setting yet.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit 008f8ba)
…uracy

On nrf boards expected accuracy from ref voltage is 64 instead of 32.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit 557b5bd)
…ampling

Calibrate adc before taking measurement.

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit dfbcea7)
Just like on nRF54H20 EngC.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit b3b0c63)
Cleanup the Kconfig generating code in hwm_v2.cmake by moving common
logic inside the kconfig_gen() helper function.

This prepares the code for board extension feature.

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit e2f5ac0)
Fixes: #69548

Support extending an existing board with new board variants.

This commit introduces the following changes to allow a board to be
extended out-of-tree.

The board yaml schema is extended to support an extend field which
will be used to identify the board to be extended.

A board 'plank' can be extended like this:
> board:
>   extend: plank
>   variants:
>     - name: ext
>       qualifier: soc1

For the rest of the build system this means that there is no longer a
single board directory.
The existing CMake variable BOARD_DIR is kept and reference the
directory which defines the board.
A new CMake variable BOARD_DIRECTORIES provides a list of all
directories which defines board targets for the board.
This means the directory which defines the board as well as all
directories that extends the board.

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 536d34f)
Fixes: #72374

Support extending an existing SoC with new CPU clusters.

This commit introduces the following changes to allow an SoC to be
extended out-of-tree.

The SoC yaml schema is extended to support an extend field which
will be used to identify the SoC to be extended with extra CPU clusters.

A SoC 'a_soc' can be extended like this:
> socs:
>   extend: a_soc
>   cpuclusters:
>     - name: extra_core

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 98b186c)
…sion

This commit adds new tests for verifying the functionality of the board
and SoC extension feature.

It does so by defining:
- A new CPU cluster on an existing SoC
- Two new board variants on top of an existing board

The new board variants are defined on top of the existing `native_sim`
board, so that the following native_sim board targets are available for
the test.
Existing board targets:
- native_sim/native
- native_sim/native/64

Extended board targets:
- native_sim/native/one
- native_sim/native/64/two

The new CPU cluster is defined for the existing `an521` SoC.
Existing CPU Clusters on an521:
- cpu0
- cpu1

New CPU Cluster:
- cputest

For SoC tests the mps2 board is used.
This means that for testing, the following board targets using the an521
SoC are:
- mps2/an521/cpu0
- mps2/an521/cpu1
- mps2/an521/cputest

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit f315157)
…config

Adds an optional priority parameter to the flash runner run once
configuration which allows for deciding upon which file should
ultimately be used

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit a04dfc4)
…n once config

Removes validating the qualifiers for flash run once configuration
as files may be present that contain information for qualifiers
that are not present in a single repository but are spaced out in
other repositories, or might be optional

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 33e70b3)
In the `Board` class, the `dir` member was renamed to `directories`,
both to indicate that it is now a list (in HWMv2 with board extensions)
and to reflect the addition of the `BOARD_DIRECTORIES` CMake variable.
Considering that the build system also keeps the `BOARD_DIR` variable,
and for the sake of backwards compatibility and brevity, it should be
useful to retain `Board.dir` in Python as well, symmetrically.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit a1f3f88)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.