Compilation fixes

pull/11979/head
Evelyne Donnaes 2019-11-28 14:45:07 +00:00
parent ffdd54315f
commit f32292952e
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