Skip to content

Commit 606e650

Browse files
Baremetal for everything!
1 parent f0f6652 commit 606e650

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/greentea_cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tools/python/mbed_tools/build/_internal/config/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)