diff mbox series

[meta-oe] canopenterm: update to version 2.02+git

Message ID 20260422104646.7769-1-mail@michael-fitzmayer.de
State Under Review
Headers show
Series [meta-oe] canopenterm: update to version 2.02+git | expand

Commit Message

Michael Fitzmayer April 22, 2026, 10:46 a.m. UTC
- 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

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
---
 .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb

Comments

Gyorgy Sarvari April 22, 2026, 6:08 p.m. UTC | #1
I think you forgot to include the deleted old recipe in this patch.


On 4/22/26 12:46, Michael Fitzmayer via lists.openembedded.org wrote:
> - 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
> 
> Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
> ---
>  .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
> 
> diff --git a/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
> new file mode 100644
> index 0000000000..b544fc4a9f
> --- /dev/null
> +++ b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Gyorgy Sarvari April 22, 2026, 6:28 p.m. UTC | #2
On 4/22/26 20:08, Gyorgy Sarvari via lists.openembedded.org wrote:
> 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

> 
> On 4/22/26 12:46, Michael Fitzmayer via lists.openembedded.org wrote:
>> - 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
>>
>> Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
>> ---
>>  .../canopenterm/canopenterm_2.02.bb           | 31 +++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>>  create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
>>
>> diff --git a/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
>> new file mode 100644
>> index 0000000000..b544fc4a9f
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
>> @@ -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 (#126554): https://lists.openembedded.org/g/openembedded-devel/message/126554
> Mute This Topic: https://lists.openembedded.org/mt/118952637/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
new file mode 100644
index 0000000000..b544fc4a9f
--- /dev/null
+++ b/meta-oe/recipes-extended/canopenterm/canopenterm_2.02.bb
@@ -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"