AVR_CAL_PWM.c

A forums to allow resolved bugs and problems with Flowcode v7 to be stored and marked as resolved.

Moderator: Benj

User avatar
Alan_37
Posts: 152
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 53 times
Been thanked: 53 times
Contact:

AVR_CAL_PWM.c

Postby Alan_37 » Sat Sep 10, 2016 11:39 am

Hi

After making the last update I can't compile my project to hex , I am having these Errors
See Attachment .
Attachments
Error.png
Error.png (51.14 KiB) Viewed 3422 times

User avatar
Alan_37
Posts: 152
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 53 times
Been thanked: 53 times
Contact:

Re: AVR_CAL_PWM.c

Postby Alan_37 » Sat Sep 10, 2016 12:28 pm

Changing cal_pwm.fcpx with the old in the component folder will fix the problem .

But don't know why .
Last edited by Alan_37 on Sun Sep 11, 2016 12:32 am, edited 1 time in total.

EtsDriver
Valued Contributor
Valued Contributor
Posts: 411
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 328 times
Been thanked: 210 times
Contact:

Re: AVR_CAL_PWM.c

Postby EtsDriver » Sat Sep 10, 2016 8:48 pm

It might be the same problem as PIC side of PWM macro had with declaring some things inside the PWM file:

viewtopic.php?f=64&t=18084
Ill just keep the good work up!

User avatar
Alan_37
Posts: 152
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 53 times
Been thanked: 53 times
Contact:

Re: AVR_CAL_PWM.c

Postby Alan_37 » Sat Sep 10, 2016 9:56 pm

Hi EtsDriver

Just tried to replace the file from that POST but it seems to be the same File in the
Last update so it dose not fix the problem . :(

User avatar
Benj
Matrix Staff
Posts: 14150
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4078 times
Contact:

Re: AVR_CAL_PWM.c

Postby Benj » Tue Sep 13, 2016 5:47 pm

Hi Alan,

Please can you post the project that is generating these compilation errors and I will investigate.

Thanks

User avatar
Benj
Matrix Staff
Posts: 14150
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4078 times
Contact:

Re: AVR_CAL_PWM.c

Postby Benj » Tue Sep 13, 2016 5:52 pm

This should fix the problem.

The file needs to be placed into the "Flowcode 7/CAL/AVR" directory.

AVR_CAL_IO.h
(9.14 KiB) Downloaded 102 times

User avatar
Alan_37
Posts: 152
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 53 times
Been thanked: 53 times
Contact:

Re: AVR_CAL_PWM.c

Postby Alan_37 » Mon Sep 19, 2016 10:08 pm

Hi Benj

Yes i Can confirm that the file AVR_CAL_IO.h Fixes the problem

Thanks

Alan