2022-02-20 02:14 PM
I'd like to publish an STM32CubeIDE project on Github, but I haven't found a method that works. I'd like to be able to upload my project from
STM32CubeIDE
Version: 1.8.0
Build: 11526_20211125_0815 (UTC)
OS: Linux, v.5.13.0-28-generic, x86_64 / gtk 3.24.20
Java version: 11.0.11
on Linux to Github (https://github.com/carlk3/Digital-Automotive-Generator-Voltage-Regulator) in such a way that it could be downloaded and built by others, including those running on Windows.
Has anyone ever done this, or am I the first to try it?
2022-02-21 02:37 AM
Add the .cproject file, it is required.
The next issue is where will be ST HAL and cmsis drivers, so that it works for both Linux and Windows users.
2022-03-28 10:47 AM
Thanks; I've added the .cproject file.
I've now got it working successfully with EGit (https://marketplace.eclipse.org/content/egit-git-integration-eclipse).
The big problem was that I use the "Generate peripheral initialization as a pair of .c/.h files per peripheral", so a file named "freertos.c" is generated. In order to export various queue, timer, mutex, and event handles from that file I had created a file name "freertos.h". On Windows, which isn't so picky about case sensitivity, this conflicts with "Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h".