Skip to content

KW45 SoC, and KW45B41-EVK board support #82034

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

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

Conversation

sumitbatra-nxp
Copy link
Contributor

@sumitbatra-nxp sumitbatra-nxp commented Nov 26, 2024

There are 3 commits in this PR -

  1. Adds KW45 SoC Family support
  2. Adds KW45B41Z-EVK board support
  3. Includes nxp hal support for KW45 series SoCs

This PR is dependent on a HAL PR - zephyrproject-rtos/hal_nxp#502
Also there is a PR dependent on this one - #84565

@zephyrbot
Copy link
Collaborator

zephyrbot commented Nov 26, 2024

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@5e5a498 zephyrproject-rtos/hal_nxp#502 zephyrproject-rtos/hal_nxp#502/files

DNM label due to: 1 project with PR revision

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

@zephyrbot zephyrbot added the DNM This PR should not be merged (Do Not Merge) label Nov 26, 2024
@sjanc sjanc removed their request for review November 26, 2024 10:26
Copy link
Collaborator

@kartben kartben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two commits should really be two different PRs
What's more, the comments I made in #81559 need to be addressed, in particular the lack of copyright notices for the third party code

@sumitbatra-nxp sumitbatra-nxp changed the title KW45 SoC, board support with OpendroneID Application KW45 SoC, and KW45B41-EVK board support Nov 27, 2024
@sumitbatra-nxp
Copy link
Contributor Author

The two commits should really be two different PRs What's more, the comments I made in #81559 need to be addressed, in particular the lack of copyright notices for the third party code

Here we go.. I have added OpenDroneID application code in the following PR -
#84565

select CPU_HAS_ARM_MPU
select ARMV8_M_DSP

rsource "../../common/Kconfig.nbu"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no indent

select CPU_HAS_ARM_SAU
select CPU_HAS_ARM_MPU
select ARMV8_M_DSP

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually why is a driver even here? Driver should be a driver in driver folder, it has no place being in SoC Kconfig tree

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

soc/nxp/imxrt/Kconfig also refers to rsource "../common/Kconfig.xspi_xip"
Also, If we are talking about nbu driver then -
nxp_nbu.c is present in soc/nxp/common

Comment on lines +10 to +11
config SOC_SERIES
default "kw45" if SOC_SERIES_KINETIS_KW45
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name does not match text

}

if (!unsupported_state) {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

return ret;
}

SYS_INIT(kw45_power_init, PRE_KERNEL_2, 0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

soc hook

drive-strength = "low";
};
};

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change


pwmleds {
compatible = "pwm-leds";
blue_pwm_led: pwm_led_0 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file has inconsistent spacing


CONFIG_ARM_MPU=y
CONFIG_TRUSTED_EXECUTION_SECURE=y
CONFIG_PINCTRL=y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not allowed

@rugeGerritsen rugeGerritsen removed their request for review January 27, 2025 07:37
@hermabe hermabe removed their request for review January 27, 2025 08:10
@fabiobaltieri fabiobaltieri added DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed DNM This PR should not be merged (Do Not Merge) labels Feb 4, 2025
@henrikbrixandersen henrikbrixandersen dismissed their stale review February 13, 2025 20:54

CAN change request addressed.

Copy link
Collaborator

@DerekSnell DerekSnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sumitbatra-nxp ,
We should add a documentation page with this board. See FRDM-MCXW71

Thanks

@alwa-nordic alwa-nordic removed their assignment Apr 10, 2025
Copy link

@jhedberg jhedberg assigned dleach02 and unassigned jhedberg May 12, 2025
@jhedberg jhedberg removed the area: Bluetooth Host Bluetooth Host (excluding BR/EDR) label May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth area: Boards area: Samples Samples area: SPI SPI bus DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_nxp platform: NXP Drivers NXP Semiconductors, drivers platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants