Skip to content

Dependencies for SOC_FLASH_MCUX are incorrect on LPC55xxx platforms #79576

@danieldegrasse

Description

@danieldegrasse

Describe the bug
Samples enabling CONFIG_FLASH fail to build on the LPC55S69 CPU1 target, due to the IAP flash driver being enabled when it should not be.

Please also mention any information which could help others to understand
the problem you're facing:

  • What target platform are you using?
    lpcxpresso55s69/lpc55s69/cpu1
  • Is this a regression? If yes, have you been able to "git bisect" it to a
    specific commit?
    Yes, the introduction of HWMv2

To Reproduce

Expected behavior
Build should pass

Impact
Blocking CI on #72102

Logs and console output

 /__w/zephyr/zephyr/drivers/flash/soc_flash_mcux.c:41:2: error: #error No matching compatible for soc_flash_mcux.c
   41 | #error No matching compatible for soc_flash_mcux.c
      |  ^~~~~
/__w/zephyr/zephyr/drivers/flash/soc_flash_mcux.c:53:10: fatal error: fsl_flash.h: No such file or directory
   53 | #include "fsl_flash.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK
  • Commit SHA or Version used: d7ab4f2 (main)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug, or the PR is fixing a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions