<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[USB Serial missing on Maple Mini]]></title><description><![CDATA[<p dir="auto">I am trying to use a Maple Mini clone with MySensors, with an NRF24 radio wired to SPI1 as described in <code>MyHwSTM32F1.cpp</code></p>
<ul>
<li>I can flash the board with a simple test script that has <code>Serial.begin()</code> in setup(), and it will present as a USB serial device to the Windows host (as COM23) ... so far, so good</li>
<li>When I flash a script using MySensors, <em>no</em> USB serial device is presented</li>
<li>When I redirect MySensors output to the "real" serial port with <code>#define MY_SERIALDEVICE Serial1</code> and <code>#define MY_DEBUG</code>, I get the MySensors splash screen and all the expected log messages at the real serial output, but the script hangs after the call to <code>Serial.begin()</code> in setup()</li>
</ul>
<p dir="auto">Oh, and I'm doing all this in Platformio, and my <code>platformio.ini</code> both for the "working" simple script and the "non-working" MySensors script contains</p>
<pre><code>platform = ststm32
framework = arduino
board = maple_mini_b20
board_build.core = maple
build_flags = 
    -D USBD_USE_CDC
    -D USB_MANUFACTURER="Leaflabs"
    -D USB_PRODUCT="\"Maple Mini\""
    -D ENABLE_USB_SERIAL
    -D ARDUINO_ARCH_STM32F1
monitor_port = COM23
</code></pre>
<p dir="auto">How does MySensors interfere with the creation of the USB serial device?</p>
]]></description><link>https://forum.mysensors.org/topic/11903/usb-serial-missing-on-maple-mini</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 08:40:41 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/11903.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Feb 2022 20:56:44 GMT</pubDate><ttl>60</ttl></channel></rss>