Error in RPI_CAL_UART.c

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times

Error in RPI_CAL_UART.c

Post by Pascal_2016 »

Hello,
after the last update of "RPI UART" 21.12.2018 when I use the UART in Raspberry "RPI2" I get the following error message:

Target folder: C:\PR6751~1\RASPBE~1
Source name: C:\Projekte_Flowcode_8\Raspberry\Flowcode1.fcfx
Title:
Description:
Device: RPI.RPI.RPI2
Generated by: Flowcode v8.1.0.8
Date: Friday, December 21, 2018 13:57:54
Users: 1
Registriert für:HansJuergenHalder
Lizenzschlüssel:UMPKEQ
https://www.matrixtsl.com
Start des Compilers...
C:\Program Files (x86)\Flowcode\Common\Compilers\rpi\batch\rbuild.bat "Flowcode1" "C:\PR6751~1\RASPBE~1\"
Building Flowcode1
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:1129:0,
from Flowcode1.c:649:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\RPI\RPI_CAL_UART.c: In function 'FC_CAL_UART_UpdateBaud_1':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\RPI\RPI_CAL_UART.c:337:23: error: 'B250000' undeclared (first use in this function)
case 8: ioc_speed = B250000; break;
^~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\RPI\RPI_CAL_UART.c:337:23: note: each undeclared identifier is reported only once for each function it appears in
Error(s) in build!

C:\Program Files (x86)\Flowcode\Common\Compilers\rpi\batch\rbuild.bat Hat den Fehlercode 1 gemeldet

Can anyone help me

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: Error in RPI_CAL_UART.c

Post by LeighM »

Hi
Sorry, looks like a recent update has introduced a bug.
Please drop the attached file into the directory...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\RPI
(And reject any further auto-updates of this file until the new year when the fixed file will get into the update system)
Thanks
Leigh
Attachments
RPI_CAL_UART.c
(10.74 KiB) Downloaded 167 times

Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times

Re: Error in RPI_CAL_UART.c

Post by Pascal_2016 »

Hi
many thanks for the quick help

Post Reply