<?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[How to change cpu frequency]]></title><description><![CDATA[<p dir="auto">Hi, how change cpu frequency  on the M5Stack.<br />
I use platformio<br />
Thanks</p>
]]></description><link>https://community.m5stack.com/topic/251/how-to-change-cpu-frequency</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 05:47:09 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/251.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Jun 2018 10:05:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to change cpu frequency on Mon, 02 Jul 2018 08:08:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/269">@Calin</a><br />
Thanks but it's not working</p>
<pre><code class="language-c++">board_build.f_cpu = 200000000L
</code></pre>
<p dir="auto">but when I use the function :</p>
<pre><code class="language-c++">//before Setup()
int cpuSpeed = ESP.getCpuFreqMHz();
//In loop()
Serial.println(cpuSpeed);
</code></pre>
<p dir="auto">In my serial monitor it display 240</p>
]]></description><link>https://community.m5stack.com/post/1223</link><guid isPermaLink="true">https://community.m5stack.com/post/1223</guid><dc:creator><![CDATA[PépéMax]]></dc:creator><pubDate>Mon, 02 Jul 2018 08:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to change cpu frequency on Fri, 29 Jun 2018 15:36:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/429">@pépémax</a> 在 <a href="/post/1214">How to change cpu frequency</a> 中说：</p>
<blockquote>
<p dir="auto">Hi, how change cpu frequency  on the M5Stack.<br />
I use platformio<br />
Thanks</p>
</blockquote>
<p dir="auto">on platformio.ini use</p>
<blockquote>
<p dir="auto">board_build.f_cpu = 240000000L</p>
</blockquote>
<p dir="auto">to set the CPU speed to 240Mhz</p>
]]></description><link>https://community.m5stack.com/post/1216</link><guid isPermaLink="true">https://community.m5stack.com/post/1216</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Fri, 29 Jun 2018 15:36:26 GMT</pubDate></item></channel></rss>