<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Issue after upgrading to a PI4</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8aee3cbfcb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8aee3cbfcb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8aee3cbfcb/</id><updated>2021-09-09T13:29:02.882000Z</updated><subtitle>Recent posts to Issue after upgrading to a PI4</subtitle><entry><title>Issue after upgrading to a PI4</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8aee3cbfcb/?limit=25#2c97" rel="alternate"/><published>2021-09-09T13:29:02.882000Z</published><updated>2021-09-09T13:29:02.882000Z</updated><author><name>mrbrave</name><uri>https://forge.codesys.com/u/mrbrave/</uri></author><id>https://forge.codesys.com64e206fa72e979d2d8a2f348cad463c331b6654c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;br/&gt;
I have encountered this problem if the runtime is updated but the project setting is still set to a specific compiler version. Check under "Project Settings &amp;gt; Compile options" and make sure the project settings matches your compiler version (IDE version). &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issue after upgrading to a PI4</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8aee3cbfcb/?limit=25#3899" rel="alternate"/><published>2021-05-29T20:26:17.913000Z</published><updated>2021-05-29T20:26:17.913000Z</updated><author><name>sloob</name><uri>https://forge.codesys.com/u/sloob/</uri></author><id>https://forge.codesys.com3238781bad5c98f8aa1132eb90e9412bbd32cf43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I've recently upgraded from a PI2 to a Pi4 and I cannot get my program working. At first I just swapped the SD card from the PI2 to PI4 and the program ran for a few seconds and then crashed.&lt;br/&gt;
I later reinstalled PI os and upgraded the runtime/device(in codesys) to version 4. but my program won't compile and gives me the following error:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ERROR&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt;         &lt;/span&gt;&lt;span class="n"&gt;raspberry&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;pi&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;peripherals&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;4.0.0.0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;smart&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;software&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;solutions&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;gmbh&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;C0521&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;The&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;library&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;"raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions gmbh)"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;was&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;created&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;unknown&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;compiler&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;"3.5.16.0"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry></feed>