Precompiled HAL/LL files possible?

Post here all questions related to STM32 core if you can't find a relevant section!
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Precompiled HAL/LL files possible?

Post by ag123 »

nice ;)
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: Precompiled HAL/LL files possible?

Post by mrburnette »

One of the original scripts: https://forum.arduino.cc/index.php?topic=182849.0

Another oldie to clone chip firmware: https://forum.arduino.cc/index.php?topi ... msg1320206

And one for memory usage: https://forum.arduino.cc/index.php?topic=196101.0


The above are obviously in need of rework if Win 10 is the OS. I use Win10, just not (usually) for Arduino stuff.


Ray
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Precompiled HAL/LL files possible?

Post by ag123 »

i did pretty much all arduino stuff (and some arm stuff) in linux. linux is a 'native' environment for all these as the tools like make, find, gcc compilers etc are all there. and tools like make has quite a bit of unix dependencies it is rather hard to use the unix way of make on windows straight out.
so these days there are a lot of 'cross platform' solutions cmake, arduino-cli, etc for c/c++, then for java like ant, maven, etc

for shells linux has some of the most fluid ones since the beginning e.g. tcsh, bash etc. the regular expressions evolved from awk, perl and then other languages adopted them. then a little later powershell become popular on windows.
i'm still looking for a tool on windows that'd do the unix find command. it is one of the most flexible file handling tool that can handle a whole tree of folders and files.

using eclipse CDT and manually configuring defines, includes and compiler flags and source directories is 'extremely painful' if say there are about a hundred or more of them. arduino ide/cli hides a lot of that. switching to makefiles while still using eclipse has made it possible for me to make a different blink project by simply copying the project folder and editing the makefiles. sometimes, i could do so without editing and simply copy the folder and start writing up the sketch. it reduce all that manual labor setting up a sketch project folder from 1/2 day to mere minutes.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Precompiled HAL/LL files possible?

Post by ag123 »

more recently vscode works quite well (even in linux), i'm not sure what drives its build dependency tree framework
perhaps that is as close a 'cross platform' tool that works well in both windows and linux.

visual studio, visual c++ is still considered 'industrial strength' for windows based developments.
but in a way the 'environment' still feels different from unix.
the bundled automations in visual studio etc is where all that ide originates, then later eclipse catch up with it for java.
Post Reply

Return to “General discussion”