AVR_CAL_PWM.c

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

Moderator: Benj

Post Reply
User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

AVR_CAL_PWM.c

Post by Alan_37 »

Hi

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

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: AVR_CAL_PWM.c

Post by Alan_37 »

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
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: AVR_CAL_PWM.c

Post by EtsDriver »

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

http://www.matrixtsl.com/mmforums/viewt ... 64&t=18084
Ill just keep the good work up!

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: AVR_CAL_PWM.c

Post by Alan_37 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: AVR_CAL_PWM.c

Post by Benj »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: AVR_CAL_PWM.c

Post by Benj »

This should fix the problem.

The file needs to be placed into the "Flowcode 7/CAL/AVR" directory.
AVR_CAL_IO.h
(8.87 KiB) Downloaded 322 times

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: AVR_CAL_PWM.c

Post by Alan_37 »

Hi Benj

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

Thanks

Alan

Post Reply