Skip to contentSkip to conversation

canopenterm: update to version 2.02+git

PATCH In review Michael Fitzmayer 2 participants 3 messages Apr 22 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 canopenterm: update to version 2.02+git

- Introduced a new API function: print_result()
- Added support for configuring a dynamic number of filters when executing replay.lua
- Added script to interact with the STM32 CAN bootloader (stm32.lua)
- Add Unified Diagnostic Services (ISO 14229-1) script written in Lua (uds.lua)
- Various updates and fixes required by the Debian package and to be able to get certified by Microsoft
- Added manpages

---
 .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb new file +31 -0
new file mode 100644
index 0000000000..b544fc4a9f
@@ -0,0 +1,31 @@
+
+SUMMARY = "CANopenTerm is a versatile software tool to analyse and \
+          configure CANopen devices. \
+          "
+DESCRIPTION = "CANopenTerm is an open-source software tool designed for the \
+              development, testing, and analysis of CANopen CC networks and \
+              devices.  It extends its capabilities to support other CAN CC \
+              protocols, including SAE J1939 and OBD-II. \
+              "
+HOMEPAGE = "https://canopenterm.de"
+BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79"
+
+DEPENDS = "canvenient cjson isocline libinih libsdl3 lua pocketpy"
+
+PV = "v2.02+git${SRCPV}"
+
+SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;branch=main;protocol=https"
+
+SRCREV  = "7a9466029a6e88345e65e794ff1779f778c9358a"
+
+
+inherit cmake ptest
+
+EXTRA_OECMAKE += "-DUSE_SYSTEM_LIBS=ON"
+
+FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}"
+
+RDEPENDS:${PN} = "canvenient cjson libinih libsdl3 lua pocketpy"
#1 lore raw

I think you forgot to include the deleted old recipe in this patch.

Quoted 64 lines · Michael Fitzmayer via lists.openembedded.org

- Introduced a new API function: print_result()
- Added support for configuring a dynamic number of filters when executing replay.lua
- Added script to interact with the STM32 CAN bootloader (stm32.lua)
- Add Unified Diagnostic Services (ISO 14229-1) script written in Lua (uds.lua)
- Various updates and fixes required by the Debian package and to be able to get certified by Microsoft
- Added manpages

---
 .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb new file +31 -1
new file mode 100644
index 0000000000..b544fc4a9f
@@ -0,0 +1,31 @@
+
+SUMMARY = "CANopenTerm is a versatile software tool to analyse and \
+          configure CANopen devices. \
+          "
+DESCRIPTION = "CANopenTerm is an open-source software tool designed for the \
+              development, testing, and analysis of CANopen CC networks and \
+              devices.  It extends its capabilities to support other CAN CC \
+              protocols, including SAE J1939 and OBD-II. \
+              "
+HOMEPAGE = "https://canopenterm.de"
+BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79"
+
+DEPENDS = "canvenient cjson isocline libinih libsdl3 lua pocketpy"
+
+PV = "v2.02+git${SRCPV}"
+
+SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;branch=main;protocol=https"
+
+SRCREV  = "7a9466029a6e88345e65e794ff1779f778c9358a"
+
+
+inherit cmake ptest
+
+EXTRA_OECMAKE += "-DUSE_SYSTEM_LIBS=ON"
+
+FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}"
+
+RDEPENDS:${PN} = "canvenient cjson libinih libsdl3 lua pocketpy"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 2 lines · Gyorgy Sarvari via lists.openembedded.org

I think you forgot to include the deleted old recipe in this patch.

Sorry for the spam, one more thing that I just noticed now: it is not recommended to include "v" at the start of PV, because the next time when it is updated, and this value is removed, then it will look like that the version is going backwards - which might cause problems with updating the package on a running system for example.

It is really enough just to set PV .= "+git" in the recipe, verbatim. Yocto will take care of the rest - there are many examples, like
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/ne10/ne10_1.2.1.bb#n13

Quoted 71 lines · Michael Fitzmayer via lists.openembedded.org
Quoted 48 lines

- Introduced a new API function: print_result()
- Added support for configuring a dynamic number of filters when executing replay.lua
- Added script to interact with the STM32 CAN bootloader (stm32.lua)
- Add Unified Diagnostic Services (ISO 14229-1) script written in Lua (uds.lua)
- Various updates and fixes required by the Debian package and to be able to get certified by Microsoft
- Added manpages

---
 .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb new file +21 -0
new file mode 100644
index 0000000000..b544fc4a9f
@@ -0,0 +1,31 @@
+
+SUMMARY = "CANopenTerm is a versatile software tool to analyse and \
+          configure CANopen devices. \
+          "
+DESCRIPTION = "CANopenTerm is an open-source software tool designed for the \
+              development, testing, and analysis of CANopen CC networks and \
+              devices.  It extends its capabilities to support other CAN CC \
+              protocols, including SAE J1939 and OBD-II. \
+              "
+HOMEPAGE = "https://canopenterm.de"
+BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79"
+
+DEPENDS = "canvenient cjson isocline libinih libsdl3 lua pocketpy"
+
+PV = "v2.02+git${SRCPV}"
+
+SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;branch=main;protocol=https"
+

meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb line 31

Quoted 10 lines
meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb new file +10 -0
+SRCREV  = "7a9466029a6e88345e65e794ff1779f778c9358a"
+
+
+inherit cmake ptest
+
+EXTRA_OECMAKE += "-DUSE_SYSTEM_LIBS=ON"
+
+FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}"
+
+RDEPENDS:${PN} = "canvenient cjson libinih libsdl3 lua pocketpy"

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