Hi, few day ago I bought PWM Click board. From LibStock I downloaded Click_PWM_ARM.mpkg and installed it, but when I want use this and try add PWM_click_HAL_m4 or PWM_click_HW_m4 Lib to my project the after build project I received error : ....\pwm_hal_M4.c or pwm_hw_M4.c 'not found. Why after instalation of Lib the folder not have included this files ?
What I doing wrong?
PWM Click Lib not working
- uros.cvetinovic
- mikroElektronika team
- Posts: 803
- Joined: 14 Dec 2015 09:24
Re: PWM Click Lib not working
Hi,
You need to add search path to the source and header files.
This is set in the compiler: Project->Edit Search Paths
There set the path to this folder which is located where your compiler is installed:
...\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses
Best regards,
Uros
You need to add search path to the source and header files.
This is set in the compiler: Project->Edit Search Paths
There set the path to this folder which is located where your compiler is installed:
...\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses
Best regards,
Uros
-
- Posts: 2
- Joined: 16 Aug 2010 13:57
Re: PWM Click Lib not working
Thank you for reply but still have same problem afere build:
340 File 'D:\Programy\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses\pwm_hal_M4.c' not found
340 File 'D:\Programy\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses\pwm_hw_M4.c' not found
102 Finished (with errors): 24 paź 2016, 13:19:48 Auto_Switch_IR_V1.mcpar[/color]
I checked folder "...\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses" and ther is not file pwm_hal_M4.c and pwm_hw_M4.c
is only :
pwm_hal.h
pwm_hal_M3.emcl
pwm_hal_M4.emcl
pwm_hal_M5.emcl
pwm_hw.h
pwm_hw_M3.emcl
pwm_hw_M4.emcl
pwm_hw_M5.emcl
and folder Examples is empty.
340 File 'D:\Programy\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses\pwm_hal_M4.c' not found
340 File 'D:\Programy\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses\pwm_hw_M4.c' not found
102 Finished (with errors): 24 paź 2016, 13:19:48 Auto_Switch_IR_V1.mcpar[/color]
I checked folder "...\Mikroelektronika\mikroC PRO for ARM\Packages\Click_PWM\Uses" and ther is not file pwm_hal_M4.c and pwm_hw_M4.c
is only :
pwm_hal.h
pwm_hal_M3.emcl
pwm_hal_M4.emcl
pwm_hal_M5.emcl
pwm_hw.h
pwm_hw_M3.emcl
pwm_hw_M4.emcl
pwm_hw_M5.emcl
and folder Examples is empty.
- uros.cvetinovic
- mikroElektronika team
- Posts: 803
- Joined: 14 Dec 2015 09:24
Re: PWM Click Lib not working
Hi,
If you have set right path, you shouldn't get this error.
That is because pwm_hal_M4.c and pwm_hw_M4.c correspond to pwm_hal_M4.emcl and pwm_hw_M4.emcl.
I have just tested this, and compiled without any error.
Can you please zip and send your whole project that demonstrates this behavior so I can test it?
Best regards,
Uros
If you have set right path, you shouldn't get this error.
That is because pwm_hal_M4.c and pwm_hw_M4.c correspond to pwm_hal_M4.emcl and pwm_hw_M4.emcl.
I have just tested this, and compiled without any error.
Can you please zip and send your whole project that demonstrates this behavior so I can test it?
Best regards,
Uros