Skip to content

Commit

Permalink
Revert "[nxp noup][scripts] Add mcxw71 build_examples support"
Browse files Browse the repository at this point in the history
This reverts commit c70135a.

Signed-off-by: Martin Girardot <martin.girardot@nxp.com>
  • Loading branch information
Martin-NXP committed Aug 8, 2024
1 parent 134b914 commit ebffee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
9 changes: 4 additions & 5 deletions scripts/build/build/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,7 @@ def BuildNxpTarget():
target.AppendFixedTargets([
TargetPart('k32w0', board=NxpBoard.K32W0),
TargetPart('k32w1', board=NxpBoard.K32W1),
TargetPart('rw61x', board=NxpBoard.RW61X),
TargetPart('mcxw71', board=NxpBoard.MCXW71)
TargetPart('rw61x', board=NxpBoard.RW61X)
])

# OS
Expand All @@ -511,8 +510,8 @@ def BuildNxpTarget():

# apps
target.AppendFixedTargets([
TargetPart('lighting', app=NxpApp.LIGHTING).OnlyIfRe('(k32w0|k32w1|mcxw71)'),
TargetPart('contact-sensor', app=NxpApp.CONTACT).OnlyIfRe('(k32w0|k32w1|mcxw71)'),
TargetPart('lighting', app=NxpApp.LIGHTING).OnlyIfRe('(k32w0|k32w1)'),
TargetPart('contact-sensor', app=NxpApp.CONTACT).OnlyIfRe('(k32w0|k32w1)'),
TargetPart('all-clusters', app=NxpApp.ALLCLUSTERS).OnlyIfRe('rw61x'),
TargetPart('laundry-washer', app=NxpApp.LAUNDRYWASHER).OnlyIfRe('rw61x'),
TargetPart('thermostat', app=NxpApp.THERMOSTAT).OnlyIfRe('rw61x')
Expand All @@ -522,7 +521,7 @@ def BuildNxpTarget():
target.AppendModifier(name="low-power", low_power=True).OnlyIfRe('contact-sensor')
target.AppendModifier(name="lit", enable_lit=True).OnlyIfRe('contact-sensor')
target.AppendModifier(name="fro32k", use_fro32k=True).OnlyIfRe('k32w0')
target.AppendModifier(name="smu2", smu2=True).OnlyIfRe('(k32w1|mcxw71)-freertos-lighting')
target.AppendModifier(name="smu2", smu2=True).OnlyIfRe('k32w1-freertos-lighting')
target.AppendModifier(name="dac-conversion", convert_dac_pk=True).OnlyIfRe('factory').ExceptIfRe('(k32w0|rw61x)')
target.AppendModifier(name="rotating-id", enable_rotating_id=True).ExceptIfRe('rw61x')
target.AppendModifier(name="sw-v2", has_sw_version_2=True)
Expand Down
5 changes: 0 additions & 5 deletions scripts/build/builders/nxp.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class NxpBoard(Enum):
K32W0 = auto()
K32W1 = auto()
RW61X = auto()
MCXW71 = auto()

def Name(self, os_env):
if self == NxpBoard.K32W0:
Expand All @@ -50,8 +49,6 @@ def Name(self, os_env):
return 'rd_rw612_bga'
else:
return 'rw61x'
elif self == NxpBoard.MCXW71:
return 'mcxw71'
else:
raise Exception('Unknown board type: %r' % self)

Expand All @@ -65,8 +62,6 @@ def FolderName(self, os_env):
return 'zephyr'
else:
return 'rt/rw61x'
elif self == NxpBoard.MCXW71:
return 'mcxw71'
else:
raise Exception('Unknown board type: %r' % self)

Expand Down

0 comments on commit ebffee7

Please sign in to comment.