Skip to content

Commit 0b12108

Browse files
authored
Merge pull request #11979 from evedon/ed-baremetal-fixes
Bare metal greentea tests compilation fixes
2 parents d58e9d6 + f322929 commit 0b12108

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

TESTS/configs/baremetal.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"storage_tdb_internal",
1717
"storage_filesystem",
1818
"storage_tdb_external",
19+
"fat_chan",
1920
"lora",
2021
"nfc",
2122
"network-emac",

TESTS/mbed_hal/watchdog_reset/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
#if !MBED_CONF_RTOS_PRESENT
18+
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
19+
#else
20+
1721
#if !DEVICE_WATCHDOG
1822
#error [NOT_SUPPORTED] Watchdog not supported for this target
1923
#else
@@ -334,3 +338,4 @@ int main()
334338
}
335339

336340
#endif // !DEVICE_WATCHDOG
341+
#endif // !MBED_CONF_RTOS_PRESENT

0 commit comments

Comments
 (0)