<?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[VSCode + Platform IO M5 Paper (EPD) board type]]></title><description><![CDATA[<p dir="auto">There is no forum for VSCode + PIO yet it is heavily used. Many of the M5 github examples obviously use it (at least for the Paper). So I post this here, despite it not being an Arduino IDE question.</p>
<p dir="auto">In those github examples, the platformio.ini has this content (partial extract)<br />
from <a href="https://github.com/m5stack/M5EPD_Calculator" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5EPD_Calculator</a></p>
<p dir="auto">[env:m5stack-fire]<br />
platform = espressif32<br />
board = m5stack-fire</p>
<p dir="auto">This project builds and runs fine.<br />
But I am surprised at the board used. In Arduino IDE,  there is a specific M5Stack board for the Paper.</p>
<p dir="auto">In following up with the PlatformIO community support forum, I got very helpful support from someone, who said this:</p>
<p dir="auto">"I see, indeed. You’re using the board package as instructed from m5-docs, which is using the Arduino core <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/m5stack-2.0.3.zip" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/m5stack-2.0.3.zip</a>. PlatformIO only supports the official Arduino-ESP32, which does not have the M5Stack-Paper (but other M5Stack boards), see here. Seems like the M5Stack people just fork the Arduino-ESP32 core, add their own boards, and don’t merge immediately back, leaving regular core users in the dark."</p>
<p dir="auto">but this user then discovered: "However, looking at the core download, it nicely has a package.json, so it can be used in PlatformIO, given the right board definition (already created in Create m5stack-paper.json by TomG736 · Pull Request #669 · platformio/platform-espressif32 · GitHub)."</p>
<p dir="auto"><a href="https://community.platformio.org/t/m5stack-paper-help-helloworld-does-not-execute-default-platform-ini-seems-broken-i-have-a-working-guess/28186/6" target="_blank" rel="noopener noreferrer nofollow ugc">https://community.platformio.org/t/m5stack-paper-help-helloworld-does-not-execute-default-platform-ini-seems-broken-i-have-a-working-guess/28186/6</a></p>
<p dir="auto">I wondered about the consequence of using</p>
<p dir="auto">board = m5stack-fire</p>
<p dir="auto">his reply was: "Board board = .. selection influences a great number of things, that is, ESP32 type, flash size and the Arduino variant e.g. The m5stack_fire and and m5stack_paper variant folders each have their pins_arduino.h in them, and they might have different things (e.g., default pins for attached devices or SPI bus etc.) in them, leading to incompatibilities later."</p>
<p dir="auto">So, is using</p>
<p dir="auto">board = m5stack-fire</p>
<p dir="auto">with VSCode/PIO ok?</p>
]]></description><link>https://community.m5stack.com/topic/4355/vscode-platform-io-m5-paper-epd-board-type</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:41:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4355.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Jun 2022 23:41:19 GMT</pubDate><ttl>60</ttl></channel></rss>