Hi,
I started playing with this new device and had the following compilation errors:
1. C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_ADC.c: FC_CAL_ADC_Disable()
5583: ANSELC = 0x00;
^ (192) undefined identifier "ANSELC"
2. 12132: IOEBP=0xFF;
^ (192) undefined identifier "IOEBP"
3. Test18f67k40.c: myisr()
19875: PIR1bits.TMR2IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S226
Thanks in advance!
some 18F67K40 compilation errors
Moderator: Benj
- 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: some 18F67K40 compilation errors
Hello,
Thanks for letting us know of the problem. Please can you attach your Flowcode project so we can investigate the issues.
Thanks for letting us know of the problem. Please can you attach your Flowcode project so we can investigate the issues.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 52
- Joined: Fri Apr 07, 2017 1:55 am
- Location: Greece
- Has thanked: 16 times
- Been thanked: 14 times
- Contact:
Re: some 18F67K40 compilation errors
Hi,
here is a flowcode exaple that can produce the compilation errors I previously posted plus errors of I2c, SPI, UART. It is not my main project , but I think it shoul help.
I am actualy migrating a flowcode project from 18f47k40 to this new one (pins are never enough )
Thanks!
here is a flowcode exaple that can produce the compilation errors I previously posted plus errors of I2c, SPI, UART. It is not my main project , but I think it shoul help.
I am actualy migrating a flowcode project from 18f47k40 to this new one (pins are never enough )
Thanks!
- Attachments
-
- test18f67k40.fcfx
- (17.2 KiB) Downloaded 243 times
-
- Posts: 52
- Joined: Fri Apr 07, 2017 1:55 am
- Location: Greece
- Has thanked: 16 times
- Been thanked: 14 times
- Contact:
Re: some 18F67K40 compilation errors
Hi Ben,
Did you have any chance to look at those compilation errors?
Is there a possibility to include a fix together with your next (bug fix-new features) update please?
Thanks!
Did you have any chance to look at those compilation errors?
Is there a possibility to include a fix together with your next (bug fix-new features) update please?
Thanks!
- 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: some 18F67K40 compilation errors
Hello,
Looking at your program, some of the compilation errors are being caused by the SPI_Master component as there are no hardware remap pins specified in the comp properties.
Another problem is being caused by the ADC CAL so here is an updated version that solves that problem. Simply copy to the "Flowcode 7/CAL/PIC" folder.
Finally the timer 2 and IOC interrupt problems are being caused by the definition file, these have also now been fixed. Simply copy the attached to the "Flowcode 7/FCD/PIC" folder.
Your program is now compiling correctly for me.
Please let me know if you spot anything else and how you get on.
Looking at your program, some of the compilation errors are being caused by the SPI_Master component as there are no hardware remap pins specified in the comp properties.
Another problem is being caused by the ADC CAL so here is an updated version that solves that problem. Simply copy to the "Flowcode 7/CAL/PIC" folder.
Finally the timer 2 and IOC interrupt problems are being caused by the definition file, these have also now been fixed. Simply copy the attached to the "Flowcode 7/FCD/PIC" folder.
Your program is now compiling correctly for me.
Please let me know if you spot anything else and how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 52
- Joined: Fri Apr 07, 2017 1:55 am
- Location: Greece
- Has thanked: 16 times
- Been thanked: 14 times
- Contact:
Re: some 18F67K40 compilation errors
Hi Ben!
All good!
No more compilation errors!!
Thanks alot!!
George
All good!
No more compilation errors!!
Thanks alot!!
George