USB Serial

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

Moderator: Benj

kris Werbrouck
Posts: 18
Joined: Mon Feb 25, 2013 10:15 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

USB Serial

Postby kris Werbrouck » Sat Sep 07, 2019 3:06 pm

I got compilation errors with the USB Serial component. I test with Arduino UNO and Arduino leonardo and also with flowcode 7 and 8.

Compilation error with flowcode 8:

C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.o"
Could Not Find C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.o
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_specific_request.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_descriptors.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\power_drv.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_drv.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_task.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_standard_request.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>del "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_device_task.o"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -funsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.o" -c "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c" -lm
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:392:26: error: uart_usb_lib.h: No such file or directory
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'line_coding'
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'line_status'
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'serial_state'
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c: In function 'FCD_056e1_USB_Serial1__SendByte':
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:949: error: 'TX_EP' undeclared (first use in this function)
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:949: error: (Each undeclared identifier is reported only once
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.c:949: error: for each function it appears in.)
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_specific_request.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\usb_specific_request.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_descriptors.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\usb_descriptors.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\power_drv.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\lib_mcu\power\power_drv.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_drv.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\lib_mcu\usb\usb_drv.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_task.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\usb_task.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_standard_request.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\device_chap9\usb_standard_request.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_device_task.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\device_chap9\usb_device_task.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\conf" -I"C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\." -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\hid_task.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\HID\hid_task.c"
C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_specific_request.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_descriptors.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\power_drv.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_drv.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_task.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_standard_request.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\usb_device_task.o" "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\hid_task.o" -o "C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.elf"
avr-gcc.exe: C:\Users\krisw\ONEDRI~1\OD\FLOWCO~3\arduino leonardo USB serial.o: No such file or directory
Error returned from [avr-gcc.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra_usb.bat reported error code 1
FINISHED
Attachments
arduino leonardo USB serial.fcfx
(7.38 KiB) Downloaded 7 times

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

Re: USB Serial

Postby Benj » Tue Sep 10, 2019 3:28 pm

Hello,

The Arduino Uno just needs the UART component as the device does not host the USB connection itself and instead uses an external USB to serial IC.

As for the Leonardo, Many thanks for letting me know. Investigating for you now.

It looks like you just need to set the compiler options to allow the USB serial component to compile.

Change the Compiler path to.

$(compileravr)batchfiles\avra_usb.bat

and the parameters to.

$(chip:l) "$(outdir)" "$(target)" Serial

Then save as a new option, e.g. ARVUSB Serial and ensure the default checkbox is ticked.

CompOpt.jpg
CompOpt.jpg (65.45 KiB) Viewed 187 times

kris Werbrouck
Posts: 18
Joined: Mon Feb 25, 2013 10:15 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: USB Serial

Postby kris Werbrouck » Wed Sep 11, 2019 4:29 pm

The problem with the error is solved.
But I can't see something on the USB Serial 1 console with the arduino leonardo.
Attachments
USBError.JPG
USBError.JPG (130.47 KiB) Viewed 155 times

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

Re: USB Serial

Postby Benj » Wed Sep 11, 2019 5:25 pm

Hello,

Working fine for me.

Here is a Flowcode project to receive the data from the USB Serial Component.

Just set the correct port for the COM Port component, then click run and it should receive the data.

Flowcode1.fcfx
(6.93 KiB) Downloaded 16 times


Data.jpg
Data.jpg (27.39 KiB) Viewed 152 times

kris Werbrouck
Posts: 18
Joined: Mon Feb 25, 2013 10:15 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: USB Serial

Postby kris Werbrouck » Wed Sep 11, 2019 8:50 pm

A few weeks ago I change the settings to viewtopic.php?f=76&t=21420

Now i got this error with the example:

C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra_usb.bat atmega32u4 "C:\Users\krisw\DOWNLO~1\" "Flowcode1 (1)" Serial
.
Deleting existing .o files

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\Flowcode1 (1).o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_specific_request.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_descriptors.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\power_drv.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_drv.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_task.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_standard_request.o"

C:\Users\krisw\DOWNLO~1>del "C:\Users\krisw\DOWNLO~1\usb_device_task.o"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -funsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\Flowcode1 (1).o" -c "C:\Users\krisw\DOWNLO~1\Flowcode1 (1).c" -lm

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_specific_request.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\usb_specific_request.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_descriptors.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\usb_descriptors.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\power_drv.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\lib_mcu\power\power_drv.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_drv.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\lib_mcu\usb\usb_drv.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_task.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\usb_task.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_standard_request.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\device_chap9\usb_standard_request.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\usb_device_task.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\modules\usb\device_chap9\usb_device_task.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 -w -Os -fsigned-char -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC" -I"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\conf" -I"C:\Users\krisw\DOWNLO~1\." -o "C:\Users\krisw\DOWNLO~1\uart_usb_lib.o" -c "C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\AVR\USB\Series4\demo\CDC\uart_usb_lib.c"

C:\Users\krisw\DOWNLO~1>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega32u4 "C:\Users\krisw\DOWNLO~1\Flowcode1 (1).o" "C:\Users\krisw\DOWNLO~1\usb_specific_request.o" "C:\Users\krisw\DOWNLO~1\usb_descriptors.o" "C:\Users\krisw\DOWNLO~1\power_drv.o" "C:\Users\krisw\DOWNLO~1\usb_drv.o" "C:\Users\krisw\DOWNLO~1\usb_task.o" "C:\Users\krisw\DOWNLO~1\usb_standard_request.o" "C:\Users\krisw\DOWNLO~1\usb_device_task.o" "C:\Users\krisw\DOWNLO~1\uart_usb_lib.o" -o "C:\Users\krisw\DOWNLO~1\Flowcode1 (1).elf"
C:\Users\krisw\DOWNLO~1\usb_specific_request.o: In function `cdc_get_line_coding':
usb_specific_request.c:(.text+0xa8): undefined reference to `line_coding'
usb_specific_request.c:(.text+0xb0): undefined reference to `line_coding'
usb_specific_request.c:(.text+0xb8): undefined reference to `line_coding'
usb_specific_request.c:(.text+0xc0): undefined reference to `line_coding'
usb_specific_request.c:(.text+0xc8): undefined reference to `line_coding'
C:\Users\krisw\DOWNLO~1\usb_specific_request.o:usb_specific_request.c:(.text+0xd0): more undefined references to `line_coding' follow
C:\Users\krisw\DOWNLO~1\usb_specific_request.o: In function `cdc_set_control_line_state':
usb_specific_request.c:(.text+0x196): undefined reference to `line_status'
C:\Users\krisw\DOWNLO~1\usb_specific_request.o: In function `cdc_update_serial_state':
usb_specific_request.c:(.text+0x1a4): undefined reference to `serial_state'
usb_specific_request.c:(.text+0x1a8): undefined reference to `serial_state'
usb_specific_request.c:(.text+0x1fe): undefined reference to `serial_state'
usb_specific_request.c:(.text+0x206): undefined reference to `serial_state'

Error returned from [avr-gcc.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\avr\batchfiles\avra_usb.bat reported error code 1



FINISHED