Hello everybody:
I have a source code for a Teensy LC, but I want translate it to a Teensy 3.2. I do not have experience with Arduino, but for a long time I develop for PIC32 and ARM STM32 microcontrollers, and also soon I will begin with NXP Kinetis. For me the more hard is C++, because all my developments with PIC32 and STM32 are in C, though I have develop something for PC with VC++.
The question is if its very hard translate source code from Teensy LC to Teensy 3.2. Currenty if I compile the source code for Teensy 3.2, there are these 3 errors:
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_seremu.h:90:25: error: conflicting declaration 'usb_seremu_class Serial'
extern usb_seremu_class Serial;
^
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_serial.h:139:25: error: 'Serial' has a previous declaration as 'usb_serial_class Serial'
extern usb_serial_class Serial;
^
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_keyboard.h:92:29: error: 'usb_keymedia_release_all' was not declared in this scope
usb_keymedia_release_all();
^
Thank you.
I have a source code for a Teensy LC, but I want translate it to a Teensy 3.2. I do not have experience with Arduino, but for a long time I develop for PIC32 and ARM STM32 microcontrollers, and also soon I will begin with NXP Kinetis. For me the more hard is C++, because all my developments with PIC32 and STM32 are in C, though I have develop something for PC with VC++.
The question is if its very hard translate source code from Teensy LC to Teensy 3.2. Currenty if I compile the source code for Teensy 3.2, there are these 3 errors:
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_seremu.h:90:25: error: conflicting declaration 'usb_seremu_class Serial'
extern usb_seremu_class Serial;
^
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_serial.h:139:25: error: 'Serial' has a previous declaration as 'usb_serial_class Serial'
extern usb_serial_class Serial;
^
C:\ARDUINO\hardware\teensy\avr\cores\teensy3/usb_keyboard.h:92:29: error: 'usb_keymedia_release_all' was not declared in this scope
usb_keymedia_release_all();
^
Thank you.
Last edited: