Hi,
Im using a miac for a project, the programme runs fine in simulation and compiles to C but, when trying to compile to HEX, I get the failure notice included below. Please help
Pure Engine Control ECU.c
Starting preprocessor: C:\PROGRA~1\Flowcode\v5\Tools\boostc\pp.exe "Pure Engine Control ECU.c" -i C:\PROGRA~1\Flowcode\v5\Tools\boostc\include -d _PIC16LF1937 -la -c2 -o "Pure Engine Control ECU.pp" -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
....
Pure Engine Control ECU.c(1036:2): error: unknown identifier 'adcon2'
Pure Engine Control ECU.c(1036:2): error: invalid operand 'adcon2'
Pure Engine Control ECU.c(1036:9): error: failed to generate expression
Pure Engine Control ECU.c success
failure
....Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
Hex compiler problem
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
Re: Hex compiler problem
Yep, that was it! Dont know how that happened but it would have taken me a long time to find out myself.... Thanks VERY much for your help!
Regards,
Chris
Regards,
Chris