#include "main.h" #ifdef GCC #pragma GCC diagnostic ignored "-Wext" #endif #ifdef __ghs__ #pragma ghs nowarning 14 #undef EN_CMBTRACE #define EN_CMBTRACE 0 #endif #include "EcuM.h" #include "Os.h" #include "func.h" #include "can_func.h" #include "spi_func.h" /* #include "cmbCallBack.h"*/ void Watchdog_Disable(void) { } Std_ReturnType OutWdg_SetMode(WdgIf_ModeType Mode) { Std_ReturnType ret = E_OK; return ret; } void OutWdg_SetTriggerCondition(uint16 Timeout) { } void DelayMS(void) { int speed1 = 1000; int Delay1 = 1000; while (Delay1--) { int Delay2 = speed1; while (Delay2--) { MCALLIB_NOP(); } } } Std_ReturnType Can_CheckWakeup(uint8 Controller) { Std_ReturnType ret = E_OK; return ret; } uint32 gmxcounter = 0x00; int main(void) { // EcuM_Init(); int i = 0; for(i = 0;i<10000;i++) { if(i==9999) { gmxcounter++; if(gmxcounter == 256) { gmxcounter= 0; } i=0; } } } void FOSCClkLossCallbackFunc(void) { } void WdgBefRefreshCallBackPtr (void) { } void WdgAftRefreshCallBackPtr (void) { } void Wdg_CallbackForGptNotification (void) { } /* void McalLib_Assert(const uint8 *File, uint32 Line) { //printf("File %s Line %d error ",File,Line); } */