LonelyWolf / stm32

STM32 stuff
The Unlicense
949 stars 496 forks source link

What is the code license ? #10

Closed marcelobarrosalmeida closed 7 years ago

marcelobarrosalmeida commented 7 years ago

Hello Dmitry,

I downloaded and modified your nRF24 library. A summary of changes is below and the code is attached. I would like to know your original license, as it is not specified in the project.

If possible, I want to release it together my modifications using some BSD like license.

My modifications in the original code base are:

nrf24.c/.h

nrf24_hal.c/.h

I created a nrf24_app.h/.c where user can choose between two communication scenarios:

1) unidirectional, PRX does not send anything but automatic ACK is enabled 2) bidirectional, where PRX sends a response using the ACK+PAYLOAD features

Users can choose between scenarios and set if they want to be PTX or PRX. Callbacks are provided for tx and rx operations (see main.c). It is easy to use.

nrf24.zip

LonelyWolf commented 7 years ago

Hello.

I've already thought about to enclose some type of license (you not the first who asked about this), but unfortunately I have no much free time to dig in to all its features and nuances. Therefore, the text of the license may sound like this:

Basically, you can do whatever you want with the source: use, modify, sell, etc.
As long as I will not be held responsible.

In any case, I'll be happy if someone will find my code useful :)

marcelobarrosalmeida commented 7 years ago

Perfect, Dmity. I will cite your name/repository and adopt BSD Clause 3, together my modifications/extensions. If you like, I can clone your code and submit a pull request. I believe the "scenario" (nrf24_app.c) concept can help people starting with nRF24.