From ebffee7d8da15d6f6505413a0f370b608939aa20 Mon Sep 17 00:00:00 2001 From: Martin Girardot Date: Thu, 8 Aug 2024 09:53:30 +0200 Subject: [PATCH] Revert "[nxp noup][scripts] Add mcxw71 build_examples support" This reverts commit c70135a1bcafafa6d3728fb4b9dc91e22bffbfeb. Signed-off-by: Martin Girardot --- scripts/build/build/targets.py | 9 ++++----- scripts/build/builders/nxp.py | 5 ----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 88232889045a2d..50b7acde5bfea0 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -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 @@ -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') @@ -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) diff --git a/scripts/build/builders/nxp.py b/scripts/build/builders/nxp.py index 9dad702865957e..277f82ab16bcdc 100644 --- a/scripts/build/builders/nxp.py +++ b/scripts/build/builders/nxp.py @@ -38,7 +38,6 @@ class NxpBoard(Enum): K32W0 = auto() K32W1 = auto() RW61X = auto() - MCXW71 = auto() def Name(self, os_env): if self == NxpBoard.K32W0: @@ -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) @@ -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)