Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Designer UI » Bug in Windows 7/8 version?

Author: jaudo
22/03/2021 10:12:59
Hi, I have tested TCDesigner in Windows 10 and works like a charm, however, when I try to use the Windows 7/8 version in another computer, I can't compile the code.

Arduino gives me the following error:
Arduino: 1.8.13 (Windows 8.1), Board: "Generic STM32F1 series, BluePill F103C8, HID Bootloader 2.2, Enabled (generic 'Serial'), CDC (generic 'Serial' supersede U(S)ART), Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















sketch\Projects_menu.cpp: In function 'void setupMenu()':

Projects_menu.cpp:93:24: error: cannot convert 'USBSerial*' to 'HardwareSerial*'

93 | remoteServer.begin(&Serial, &applicationInfo);

In file included from sketch\Projects_menu.h:20,

from sketch\Projects_menu.cpp:13:

sketch\SerialTransport.h:76:29: note: initializing argument 1 of 'void SerialTagValServer::begin(HardwareSerial*, const ConnectorLocalInfo*)'

76 | void begin(HardwareSerial* portStream, const ConnectorLocalInfo* localInfo);

| ~~~~~~~~~~~~~~~~^~~~~~~~~~

Multiple libraries were found for "tcMenu.h"

Used: C:\Users\user_01\Documents\Arduino\libraries\tcMenu

Not used: C:\Users\user_01\Documents\Arduino\libraries\arduino_808000

exit status 1

cannot convert 'USBSerial*' to 'HardwareSerial*'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Does anyone know a fix for this or should I stay with the Windows 10 version?

Author: davetcc
22/03/2021 12:08:37
To be honest, this looks more like a board incompatibility than a problem with the designer. As both generate the same code for remote connectors, first I would check you are targetting the same board.

BluePill is not a configuration that we test with, and I suspect there is something non-standard about its USB serial interface.

We test with:

AVR: Uno, Mega
SAMD: MKR, Xio
ESP: ESP32 and ESP8266
STM32F4: mbed framework with ST boards
Nano 33 BLE

It will probably work with many other boards, but the serial can be tricky because there are many implementations and no standard defined. Can you check if framework versions or board types differ between the two?




Register / Login  |  Desktop view  |  Jump to top of page