Skip to content

Commit d50319c

Browse files
committed
Resolved issues related to receiving corrupted data over serial communication
1 parent d4af897 commit d50319c

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
The Changelog
22
=============
33

4+
0.5.3 - 29.4.2025
5+
------------------
6+
7+
* Resolved issues related to receiving corrupted data over serial communication.
8+
49
0.5.2 - 28.4.2025
510
------------------
611

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Plugin version
2-
version=0.5.2
2+
version=0.5.3
33
# IDE type
44
platformType=PC
55
# IDE version to build against

src/main/kotlin/dev/micropythontools/communication/MpySerialClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ internal class MpySerialClient(private val comm: MpyComm) : MpyClient {
4343
val count = event.eventValue
4444
val bytes = port.readBytes(count)
4545
comm.dataReceived(bytes)
46-
port.readBytes()
4746
this@MpySerialClient.thisLogger().debug("> ${bytes.toString(StandardCharsets.UTF_8)}")
4847
}
4948
}

src/main/resources/META-INF/plugin.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<name>MicroPython Tools</name>
33
<id>micropython-tools-jetbrains</id>
44
<change-notes><![CDATA[
5+
<h3>0.5.3 - 29-4-2025</h3>
6+
<ul>
7+
<li>Resolved issues related to receiving corrupted data over serial communication.</li>
8+
</ul>
9+
<br>
510
<h3>0.5.2 - 28-4-2025</h3>
611
<ul>
712
<li>Fixed communication retry logic issues, including mishandled timeout exceptions that caused silent connection failures.</li>

0 commit comments

Comments
 (0)