Merge pull request #11979 from evedon/ed-baremetal-fixes

Bare metal greentea tests compilation fixes
pull/11984/head
Martin Kojtal 2019-11-29 09:06:10 +01:00 committed by GitHub
commit 0b1210835e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@
"storage_tdb_internal",
"storage_filesystem",
"storage_tdb_external",
"fat_chan",
"lora",
"nfc",
"network-emac",

View File

@ -14,6 +14,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if !MBED_CONF_RTOS_PRESENT
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
#else
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#else
@ -334,3 +338,4 @@ int main()
}
#endif // !DEVICE_WATCHDOG
#endif // !MBED_CONF_RTOS_PRESENT