void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.5k stars 2.11k forks source link

Package Request: stm32cubemx #35499

Open ardadem opened 2 years ago

ardadem commented 2 years ago

https://www.st.com/en/development-tools/stm32cubemx.html

Graphical software configuration tool for STM32 micro controllers that allows generating C initialization code.

rawhuul commented 2 years ago

Is this a free software?

ardadem commented 2 years ago

It is free but it has it's own license.

classabbyamp commented 2 years ago

Yes it costs nothing but it requires agreeing to ToS and giving STmicro your name and email to get the download link. This is probably not very packagable

rawhuul commented 2 years ago

This is probably not very packagable

True

ardadem commented 2 years ago

There is a static download link: https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${version//./}-lin.zip. But i don't know their license allow redistribute or not.

classabbyamp commented 2 years ago

I tried that url with version 6.5.0 and got:

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>packs/resource/library/stm32cube_mx_v6.5.0-lin.zip</Key>
<RequestId>some string</RequestId>
<HostId>some base64 string</HostId>
</Error>

Maybe you need to be logged in?

classabbyamp commented 2 years ago

nevermind, it has to be the version without .s. Taking a look at the AUR pkgbuild, this is not a source distribution, but the resulting binary, which decreases the likelihood of acceptance to void-packages.

ardadem commented 2 years ago

Yeah, maybe in non-free but still i am even open to only template (like discord). It is necessary to develop HAL applications on STM32.

ericonr commented 2 years ago

https://github.com/void-linux/void-packages/pull/22843

IIRC I didn't manage to find anything conclusive in the ToC to say I couldn't redistribute it, but I decided to avoid it for now.

ardadem commented 2 years ago

@ericonr Oh, didn't see the pr. Could you consider re-open it?