OSStatus mico_platform_init( void ) { platform_log( "Platform initialised" ); if ( true == watchdog_check_last_reset() ) { platform_log( "WARNING: Watchdog reset occured previously. Please see watchdog.c for debugging instructions." ); } return kNoErr; }
OSStatus mico_platform_init( void ) { #ifdef DEBUG #if defined(__CC_ARM) platform_log("Build by Keil"); #elif defined (__IAR_SYSTEMS_ICC__) platform_log("Build by IAR"); #endif #endif platform_log( "Mico platform initialised" ); if ( true == watchdog_check_last_reset() ) { platform_log( "WARNING: Watchdog reset occured previously. Please see watchdog.c for debugging instructions." ); } return kNoErr; }