File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tools/python/mbed_tools/build/_internal/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ jobs:
133133 apt-get update
134134 apt-get install -y python3-venv
135135
136+ # Always build with baremetal profile, as it should work with every target
136137 - name : Build ${{ matrix.target }} with baremetal profile
137- if : ${{ matrix.profile == 'baremetal' }}
138138 # Note: We have to set a wifi network name and password so that the test will compile on devices that use wifi
139139 run : |
140140 rm -rf __build
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class BaseJSONConfig(BaseModel):
153153 def verify_memory_bank_config_used_where_appropriate (self ) -> Self :
154154 for name , value in self .overrides .items ():
155155 if name == "target.memory_bank_config" :
156- if self . __class__ != MbedAppJSON :
156+ if not isinstance ( self , MbedAppJSON ) :
157157 msg = 'target.memory_bank_config is only allowed in "overrides" mbed_app.json5!'
158158 raise ValueError (msg )
159159 if not isinstance (value , MemoryBankConfiguration ):
You can’t perform that action at this time.
0 commit comments