Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License conflict building AtomVM with libopencm3? #942

Closed
UncleGrumpy opened this issue Nov 13, 2023 · 2 comments
Closed

License conflict building AtomVM with libopencm3? #942

UncleGrumpy opened this issue Nov 13, 2023 · 2 comments
Labels

Comments

@UncleGrumpy
Copy link
Collaborator

The discussion around modifying the linker script source file in PR #897 has drawn my attention to the fact that libopencm3 is GPL-3 licensed, and has no special clause allowing for the use of the linked libraries in projects with more permissive licenses. A discussion was started as few years ago in the libopencm3 project about adding such a clause, but to this date no change has been made. This leaves it up for debate whether using libopencm3 effectively forces the entire build to be GPL-3.

See the discussion on the libopencm3 wiki:

https://github.com/libopencm3/libopencm3/wiki/Licensing

@bettio
Copy link
Collaborator

bettio commented Nov 14, 2023

This applies only to the STM32 port until we use libopencm3.

As far as I know, from a practical point of view this is an issue when trying to distribute a closed source (or any GPL not compliant) version of the STM32 native firmware.

This is not an issue for any proprietary application running on the VM on STM32.

I think we should close this issue since I don't see any actual conflict, however feel free to open an issue about adopting either NuttX or Zephyr that allows proprietary STM32 customized base firmwares.

@UncleGrumpy
Copy link
Collaborator Author

We should probably mention this somewhere in the documentation for the time being. With the general lack of maintenance, and the recently discovered bug #932 with some libopencm3 device builds (which requires modifying the LGPL-3 linker script template to fix) migrating to a different base for stm32 seems advantageous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants