Hi guys,
Recently i am trying to use Processor Expert to generate codes for PWM on K70F120.
However, after I generated the codes, some errors occurred after compiling.
Errors:
Description | Location | Resource | Path | Type |
mingw32-make: *** [Generated_Code/Cpu_c.obj] Error 1 | bsp_twrk70f120m | C/C++ Problem |
Description | Location | Resource | Path | Type |
mingw32-make: *** [Sources/Events_c.obj] Error 1 | bsp_twrk70f120m | C/C++ Problem |
Description | Location | Resource | Path | Type |
mingw32-make: *** Waiting for unfinished jobs.... | bsp_twrk70f120m | C/C++ Problem | ||
my events.c:
void PWM_OnCounterRestart(LDD_TUserData *UserDataPtr)
{
/* Write your code here ... */
PWM_SetPeriodTicks();
PWM_ResetCounter();
PWM_GetCounterValue();
PWM_SetOffsetTicks();
PWM_GetCaptureValue();
PWM_Init();
}
/*
** ===================================================================
** Event : Cpu_OnLLSWakeUpINT (module Events)
**
** Component : Cpu [MK70FN1M0MJ15]
*/
/*!
** @brief
** This event is called when Low Leakage WakeUp interrupt
** occurs. LLWU flags indicating source of the wakeup can be
** obtained by calling the [GetLLSWakeUpFlags] method. Flags
** indicating the external pin wakeup source are automatically
** cleared after this event is executed. It is responsibility
** of user to clear flags corresponding to internal modules.
** This event is automatically enabled when [LLWU interrupt
** request] is enabled.
*/
/* ===================================================================*/
void Cpu_OnLLSWakeUpINT(void)
{
/* Write your code here ... */
Cpu_DisableInt();
}
/* END Events */
#ifdef __cplusplus
} /* extern "C" */
#endif
hello MingZhao,
To investigate your problem correctly and efficiently, please provide us the follows:
1. your CW version: Start the IDE and click on Help | About CodeWarrior Development Studio. Send me the version and build id.
2. upload the entire sample code folder(include .project, .c..) in zip format to me. so that i can test it on my side directly.
3. error screenshot.
thanks!
BEst Regards,
ZhangJun