Error in AVR_CAL_UART.c

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

Moderator: Benj

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

Error in AVR_CAL_UART.c

Postby Pascal_2016 » Sun Dec 16, 2018 6:07 pm

Hello,
after the last update of "AVR UART" 13.12.2018 when I use the UART in Arduino "UNO" I get the following error message

C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra.bat atmega328p "C:\...\Advent\ARDUIN~1\Advent_9.elf" "C:\..\Advent\ARDUIN~1\Advent_9.c" "C:\...\Advent\ARDUIN~1\Advent_9.lst"

C:\...\Advent\ARDUIN~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\...\Advent\ARDUIN~1\Advent_9.elf" "C:\...\Advent\ARDUIN~1\Advent_9.c" -lm -Wl,-gc-sections
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:1127,
from C:\...\Advent\ARDUIN~1\Advent_9.c:392:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_UART.c: In function 'FC_CAL_UART_UpdateBaud_1':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_UART.c:1948: error: 'MX_HARD_HIGH_250000' undeclared (first use in this function)
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_UART.c:1948: error: (Each undeclared identifier is reported only once
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/AVR\AVR_CAL_UART.c:1948: error: for each function it appears in.)
C:\...\Advent\ARDUIN~1\Advent_9.c: At top level:
C:\...\Advent\ARDUIN~1\Advent_9.c:421: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MX_UINT16'

Error returned from [avr-gcc.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra.bat Hat den Fehlercode 1 gemeldet

BEENDET


Can anyone help me

mnf
Valued Contributor
Valued Contributor
Posts: 696
Joined: Wed May 31, 2017 11:57 am
Has thanked: 63 times
Been thanked: 402 times
Contact:

Re: Error in AVR_CAL_UART.c

Postby mnf » Sun Dec 16, 2018 6:13 pm

Hi Beendet,

See viewtopic.php?f=78&t=20742&hilit=Cal+uart

For a fix, though Ben should have the latest version running smoothly again soon.

Martin
These users thanked the author mnf for the post:
Benj (Mon Dec 17, 2018 11:57 am)
Rating: 5%
 

User avatar
Benj
Matrix Staff
Posts: 14786
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4750 times
Been thanked: 4358 times
Contact:

Re: Error in AVR_CAL_UART.c

Postby Benj » Mon Dec 17, 2018 11:58 am

Thanks, Should be fixed in the check for updates system now.

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

Re: Error in AVR_CAL_UART.c

Postby Pascal_2016 » Mon Dec 17, 2018 5:00 pm

Hello Benj,
thanks for the fast help
These users thanked the author Pascal_2016 for the post:
Benj (Mon Dec 17, 2018 6:24 pm)
Rating: 5%