[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Bug in Windows 7/8 version? RSS feed
Forum Index » tcMenu Designer UI
Author Message
jaudo


Joined: Mar 19, 2021
Messages: 4
Offline
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?
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
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?
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.