This is my first attempt at using Serial.print() on Linux.
This sketch compiles and uploads, but when I click on the "Serial Monitor" button, error message says, "no serial port name defined".
From the Aduino IDE menu, Serial ports is dimmed
Tools > USB Type: Serial
Tools > Port > Serial ports (dimmed)
Do I need to set something on Linux to use Serial ports?
I am using Arduino 1.6.5 Teensyduino 1.24 on fedora 22.
Thank you.
This sketch compiles and uploads, but when I click on the "Serial Monitor" button, error message says, "no serial port name defined".
From the Aduino IDE menu, Serial ports is dimmed
Tools > USB Type: Serial
Tools > Port > Serial ports (dimmed)
Do I need to set something on Linux to use Serial ports?
I am using Arduino 1.6.5 Teensyduino 1.24 on fedora 22.
Code:
void setup()
{
delay(1000);
Serial.begin (115200);
Serial.println ("in setup()");
}
void loop()
{
Serial.println ("test ");
delay(1000);
}
Code:
Arduino: 1.6.5 (Linux), TD: 1.24, Board: "Teensy 2.0, Serial, 16 MHz, US English"
Build options changed, rebuilding all
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /tmp/build4676105813708626320.tmp/serial.cpp -o /tmp/build4676105813708626320.tmp/serial.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/keylayouts.c -o /tmp/build4676105813708626320.tmp/keylayouts.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/pins_teensy.c -o /tmp/build4676105813708626320.tmp/pins_teensy.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/WInterrupts.c -o /tmp/build4676105813708626320.tmp/WInterrupts.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/usb.c -o /tmp/build4676105813708626320.tmp/usb.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/wiring.c -o /tmp/build4676105813708626320.tmp/wiring.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/malloc.c -o /tmp/build4676105813708626320.tmp/malloc.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/main.cpp -o /tmp/build4676105813708626320.tmp/main.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/WString.cpp -o /tmp/build4676105813708626320.tmp/WString.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/IPAddress.cpp -o /tmp/build4676105813708626320.tmp/IPAddress.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/HardwareSerial.cpp -o /tmp/build4676105813708626320.tmp/HardwareSerial.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/new.cpp -o /tmp/build4676105813708626320.tmp/new.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/WMath.cpp -o /tmp/build4676105813708626320.tmp/WMath.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/usb_api.cpp -o /tmp/build4676105813708626320.tmp/usb_api.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/Print.cpp -o /tmp/build4676105813708626320.tmp/Print.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/yield.cpp -o /tmp/build4676105813708626320.tmp/yield.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/Stream.cpp -o /tmp/build4676105813708626320.tmp/Stream.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy/Tone.cpp -o /tmp/build4676105813708626320.tmp/Tone.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/keylayouts.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/pins_teensy.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/WInterrupts.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/usb.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/wiring.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/malloc.c.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/main.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/WString.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/IPAddress.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/HardwareSerial.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/new.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/WMath.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/usb_api.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/Print.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/yield.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/Stream.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-ar rcs /tmp/build4676105813708626320.tmp/core.a /tmp/build4676105813708626320.tmp/Tone.cpp.o
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-gcc -Os -Wl,--gc-sections,--relax -mmcu=atmega32u4 -o /tmp/build4676105813708626320.tmp/serial.cpp.elf /tmp/build4676105813708626320.tmp/serial.cpp.o /tmp/build4676105813708626320.tmp/core.a -L/tmp/build4676105813708626320.tmp -lm
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/build4676105813708626320.tmp/serial.cpp.elf /tmp/build4676105813708626320.tmp/serial.cpp.eep
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-objcopy -O ihex -R .eeprom /tmp/build4676105813708626320.tmp/serial.cpp.elf /tmp/build4676105813708626320.tmp/serial.cpp.hex
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/teensy_post_compile -file=serial.cpp -path=/tmp/build4676105813708626320.tmp -tools=/home/wolfv/Downloads/arduino-1.6.5/hardware/tools -board=TEENSY2
Sketch uses 3,248 bytes (10%) of program storage space. Maximum is 32,256 bytes.
Global variables use 65 bytes (2%) of dynamic memory, leaving 2,495 bytes for local variables. Maximum is 2,560 bytes.
no serial port name defined
Thank you.