Electronics > Open Source Hardware

Open sourcing STM32 firmware

(1/2) > >>

alan.bain:
Does anyone have any advice on how to open source firware source code for an STM32 project? The hardware design is open too, but that's easy as it is just KiCad files/Gerbers.  The issue is the tangled way in which the STM32CubeIDE mixes in bits of STM code, other projects like LWIP and RTOS buf often in bespoke ST modified forms.

I can obviously put an appropriate public domain (or similar if something else is deemed preferable) license header in the files which I wrote, but given that to build it into a working image the rest of the files need to be there and the right versions - and making the mix work is often the hardest part of doing a build. I'm wondering what other people do?

I'd like to be able to dump it on a suitable public access SVN repository like sourceforge.

robca:
Does this help? https://github.com/STMicroelectronics/STM32Cube_MCU_Overall_Offer

Each of the linked projects contains a licensing file like https://github.com/STMicroelectronics/STM32CubeF1/blob/master/License.md

Worst case, you can simply provide your code and a list of dependencies to the STM Github repositories

dobsonr741:

--- Quote ---suitable public access SVN repository like sourceforge
--- End quote ---
GitHub please. SVN is the past, retired, forgotten

orzel:

--- Quote from: dobsonr741 on November 22, 2023, 09:02:40 pm ---GitHub please. SVN is the past, retired, forgotten

--- End quote ---

mercurial please ! (https://www.mercurial-scm.org/) Git is the past ! And use gitlab instead of github. There's even a gitlab fork for mercurial, https://heptapod.net/.

zapta:
I use platformio. The libraries are separated from your app and you just need to publish your files and platformio fetches the dependencies automatically.

MxCube IDE's approach of adding user snippet code in auto generated files is very bad IMO and makes the app code less manageable and readable.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod