Page 1 of 1

error when compling

Posted: Thu Dec 01, 2022 3:18 pm
by itdave
Target folder: C:\Users\m2271077\Desktop
Source name: C:\Users\m2271077\Desktop\Flowcode coffee.fcfx
Title:
Description:
Device: PIC.16F.16F18877
Generated by: Flowcode v9.2.0.33
Date: Tuesday, November 29, 2022 15:55:51
Users: 50
Registered to: seamusmiley (34140353)
Licence key: ZUFYHZ
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...


C:\Users\m2271077\Desktop>REM REVISION: 1.0

C:\Users\m2271077\Desktop>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC

C:\Users\m2271077\Desktop>REM DATE: 29\03\2021

C:\Users\m2271077\Desktop>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat

Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_HBRIDGE.c: FC_CAL_HBRIDGE_Enable_1()
331: MX_HBRIDGE_A_RPOR_1 = MX_HBRIDGE_A_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_A_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_A_RPOC_1"
332: MX_HBRIDGE_B_RPOR_1 = MX_HBRIDGE_B_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_B_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_B_RPOC_1"
335: MX_HBRIDGE_C_RPOR_1 = MX_HBRIDGE_C_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_C_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_C_RPOC_1"
336: MX_HBRIDGE_D_RPOR_1 = MX_HBRIDGE_D_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_D_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_D_RPOC_1"
343: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
346: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
347: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Autoclose turned off


FINISHED

Re: error when compling

Posted: Thu Dec 01, 2022 5:09 pm
by LeighM
Please check that you have set port pins for each output of the Hbridge component properties

Re: error when compling

Posted: Thu Feb 02, 2023 11:33 am
by kkabuu
Hello, I have the same problem. I don't know what pins I still need to configure, I'll attach a pictureImage
Image

Re: error when compling

Posted: Thu Feb 02, 2023 12:45 pm
by medelec35
Hello.
Unfortunately, Images like that don't help.
Make sure your components database is up to date.
Select Help, Library Updates... Change the Files in-use to full database.
After updating reload your project.
If you are still having issues then please post your project file (.fcfx), C file (.c), and the compiler output message file (.msg.txt)