I'll try the -gcoff option - see if that does the trick...
Martin
Compile problem with FC11
-
mnfisher
- Valued Contributor
- Posts: 1871
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 885 times
-
mnfisher
- Valued Contributor
- Posts: 1871
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 885 times
Re: Compile problem with FC11
Testing the -gcoff option - it produced a file 'coff'. I'm not sure if renaming this proj.cof would do the trick - it does contain data (human readable) - but don't think it is a .cof file?
Re: Compile problem with FC11
Is it not possible to replace the xc8 v2.10 compiler which is integrated into the current toolchain with version 1.45 which works on my other micro?
-
Steve-Matrix
- Matrix Staff
- Posts: 1774
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 258 times
- Been thanked: 414 times
Re: Compile problem with FC11
If I use the following, I get a .cof file:
Code: Select all
--output=mcof-
mnfisher
- Valued Contributor
- Posts: 1871
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 885 times
Re: Compile problem with FC11
Yes - thanks Steve - that does seem to work!
To add: find the file pic_xc8_comp.bat (in C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch (or V10 if you are on v10))
Change the 'new compiler call' to :
Just needed the right incantations to work!
Martin
To add: find the file pic_xc8_comp.bat (in C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch (or V10 if you are on v10))
Change the 'new compiler call' to :
Code: Select all
@REM New compiler call - allowing for additional parameters
"%MX_COMPILER%bin\xc8.exe" --chip=%MX_CHIP% "%MX_PROJECT%.c" --double=32 --float=32 --msgdisable=359,1273,1388 %MX_ADDPARAM% --output=mcof
Martin
Re: Compile problem with FC11
Thank you both.
I'm sorry, but I didn't understand where I'm supposed to change the "new compiler call". In the "compilation options" tab?
I did find the pic_xc8_comp.bat file. What do I do with this?
Could you please send me a screenshot?
Sorry I didn't understand.
I'm sorry, but I didn't understand where I'm supposed to change the "new compiler call". In the "compilation options" tab?
I did find the pic_xc8_comp.bat file. What do I do with this?
Could you please send me a screenshot?
Sorry I didn't understand.
-
mnfisher
- Valued Contributor
- Posts: 1871
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 885 times
Re: Compile problem with FC11
Edit the file pic_xc8_comp.bat (notepad will do). Add the extra option (--output=mcof) to the line as above (about half way down the file)
Take a backup (of the file) before saving...
Martin
Martin
Take a backup (of the file) before saving...
Martin
Martin
Re: Compile problem with FC11
A huge thank you to you both!
It works perfectly; I have the .cof file, and I can access VSM debug mode in Proteus.
That's great!
Sorry again for not understanding right away. I tried to edit the file, but I didn't have the "open with" option; I clicked "edit."
If this helps anyone...
It works perfectly; I have the .cof file, and I can access VSM debug mode in Proteus.
That's great!
Sorry again for not understanding right away. I tried to edit the file, but I didn't have the "open with" option; I clicked "edit."
If this helps anyone...