Any bugs you encounter with Flowcode should be discussed here.
DirkB
Posts: 103 http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times
Post
by DirkB » Fri Feb 06, 2026 9:35 am
Hello,
I ported a project from PIC16F1825 to PIC16F18426. PIC16F18426 does not have MIDI component and DAC component functions. If I create a project with only these two components, I get an error message.
new project:
https://www.flowcode.co.uk
Error creating C source code:
test-18426.c : 208 : error : Syntax error
Autoclose turned off
TERMINATED
portet project:
E:\Flowcode\V10\2025\Bambledrive\Final>"C:\Program Files\Microchip\xc8\v2.50\bin\xc8-cc.exe" -mcpu=16F18426 "Bambledrive-16F18426-V.2.5.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:298:1: error: (192) undefined identifier "DACCON0"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:311:1: error: (192) undefined identifier "DACCON1"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:317:1: error: (192) undefined identifier "DACCON0"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c:590:1: error: (192) undefined identifier "RX1DTPPS"
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
TERMINATED
BenR
Matrix Staff
Posts: 2122 Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 563 times
Been thanked: 749 times
Post
by BenR » Fri Feb 06, 2026 12:39 pm
Hello Dirk,
Thanks for letting us know, investigating for you now.
BenR
Matrix Staff
Posts: 2122 Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 563 times
Been thanked: 749 times
Post
by BenR » Fri Feb 06, 2026 12:50 pm
This should be fully resolved for you now in both v10 and v11.
Simply go to Help -> Library Updates to get the latest definition files.
Let us know if you come across any further issues.
DirkB
Posts: 103 Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times
Post
by DirkB » Fri Feb 06, 2026 1:22 pm
Hi Ben,
The ported project now compiles without errors, thank you for that. Here is a very small program. It runs without errors in the simulation, but produces an error message during compilation. What have I overlooked?
Error creating C source code:
test-18426.c : 208 : error : Syntax error
Autoclose turned off
thank you
Attachments
test-18426.fcfx
(13.1 KiB) Downloaded 14 times
BenR
Matrix Staff
Posts: 2122 Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 563 times
Been thanked: 749 times
Post
by BenR » Fri Feb 06, 2026 4:45 pm
Hello Dirk,
Great glad that solved the problem for you.
In your MIDI component properties there is no RX remap pin assigned which is causing your compilation error.
DirkB
Posts: 103 Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times
Post
by DirkB » Wed Feb 11, 2026 5:18 pm
grrrh!!!
thanks ;o)