Error in AVR_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
Contact:

Error in AVR_CAL_UART.c

Post by Pascal_2016 »

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: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Error in AVR_CAL_UART.c

Post by mnf »

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

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

Re: Error in AVR_CAL_UART.c

Post by Benj »

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

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

Re: Error in AVR_CAL_UART.c

Post by Pascal_2016 »

Hello Benj,
thanks for the fast help

Post Reply