<?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[Demo Sketches for Module USB V1.2 do not compile or link]]></title><description><![CDATA[<p dir="auto">I am experiencing an issue with a Module USB V1.2 I just purchased. None of the example Sketches compile. I would like to try the module out on a CoreS3.</p>
<p dir="auto">The first issue was a missing header file "M5_Max3421E_Usb.h". I did not find any library through the Library Manager in the Arduino IDE, so I downloaded the M5-Max3421E-USBShield library ZIP file from github and installed it that way.</p>
<p dir="auto">This allowed the USB mouse example Sketch to compile, but it fails to link due to duplicate symbols, like tuh_init, that already exist in the arduino_tinyusb.a library.</p>
<p dir="auto">If I take arduino_tinyusb.a out of the platform.txt file, for the CoreS3, I still have a few tuh_ symbols missing as well as a __atomic_test_and_set symbol missing. I don't see any atomic library anywhere.</p>
<p dir="auto">If I take steps to remove conflicts from the M5-Max3421E-USBShield library, I am still left with the missing _<em>atomic_test_and_set symbols. I am not sure if changing the library is correct as I don't know if there is a version conflict between all the tuh</em> functions in the M5-Max3421E-USBShield library and arduino_tinyusb.</p>
<p dir="auto">Does anyone have any advice on correcting this issue?</p>
<p dir="auto">I would really like to use the mass storage capability of the module, so any recent links for M5Stack projects that successfully use the module would be helpful.</p>
]]></description><link>https://community.m5stack.com/topic/7808/demo-sketches-for-module-usb-v1-2-do-not-compile-or-link</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:02:00 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7808.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Sep 2025 13:55:26 GMT</pubDate><ttl>60</ttl></channel></rss>