diff --git a/SerialPrograms/Source/Controllers/ControllerSelectorWidget.cpp b/SerialPrograms/Source/Controllers/ControllerSelectorWidget.cpp index 3be61e498f..6dedbac2d3 100644 --- a/SerialPrograms/Source/Controllers/ControllerSelectorWidget.cpp +++ b/SerialPrograms/Source/Controllers/ControllerSelectorWidget.cpp @@ -75,6 +75,9 @@ ControllerSelectorWidget::ControllerSelectorWidget(QWidget& parent, ControllerSe layout1->addSpacing(5); m_status_text->setText(QString::fromStdString(session.status_text())); + m_status_text->setTextFormat(Qt::RichText); + m_status_text->setTextInteractionFlags(Qt::TextBrowserInteraction); + m_status_text->setOpenExternalLinks(true); m_reset_button = new QPushButton("Reset Ctrl.", this); #if 1 diff --git a/SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_Connection.cpp b/SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_Connection.cpp index b672b7c4da..599be6ba2a 100644 --- a/SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_Connection.cpp +++ b/SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_Connection.cpp @@ -11,6 +11,7 @@ #include "Common/Cpp/Exceptions.h" #include "Common/Cpp/PanicDump.h" #include "Common/Cpp/SerialConnection/SerialConnection.h" +#include "CommonFramework/Globals.h" #include "CommonFramework/GlobalSettingsPanel.h" #include "CommonFramework/Options/Environment/ThemeSelectorOption.h" #include "CommonFramework/Tools/GlobalThreadPools.h" @@ -213,7 +214,9 @@ void SerialPABotBase_Connection::throw_incompatible_protocol(){ throw SerialProtocolException( m_logger, PA_CURRENT_FUNCTION, "Incompatible protocol. Device: " + std::to_string(m_protocol) + "
" - "Please flash the .hex/.bin that came with this version of the program." + "Please flash your microcontroller (e.g. ESP32, Pico W, Arduino)
" + "with the .bin/.uf2/.hex that came with this version of the program.
" + + make_text_url(ONLINE_DOC_URL_BASE + "SetupGuide/Reflash.html", "See documentation for more details.") ); } ControllerType SerialPABotBase_Connection::process_device(bool set_to_null_controller){