bugfix: retry_limit was never actually triggered during the data transfer phase 
because errors never accumulated, and

enhancement: replace 3x getc() calls with a single recv() call, reducing timing 
and failed packets when using fast serial lines without flow control.

Signed-off-by: Liu Yiding <[email protected]>
---
 .../{python3-xmodem_0.4.7.bb => python3-xmodem_0.5.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-xmodem_0.4.7.bb => 
python3-xmodem_0.5.0.bb} (73%)

diff --git a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb 
b/meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb
rename to meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb
index e41afb56c0..55305c6cb9 100644
--- a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb
+++ b/meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb
@@ -3,9 +3,9 @@ DESCRIPTION = "XMODEM protocol implementation"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=90bc9522130d68de0dcbf33707bbf124"
 
-SRC_URI[sha256sum] = 
"2f1068aa8676f0d1d112498b5786c4f8ea4f89d8f25d07d3a0f293cd21db1c35"
+SRC_URI[sha256sum] = 
"a1a818f31c29412f1cab0cd69deccd7be77bc1feb516723af990d00161f6fb6a"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 do_install:append() {
     install -d ${D}${docdir}/${PN}
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125020): 
https://lists.openembedded.org/g/openembedded-devel/message/125020
Mute This Topic: https://lists.openembedded.org/mt/118237446/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to