forum.alglib.net http://forum.alglib.net/ |
|
How to compile alglib on stm32? http://forum.alglib.net/viewtopic.php?f=2&t=4600 |
Page 1 of 1 |
Author: | Einstin_david [ Sun Mar 24, 2024 7:34 am ] |
Post subject: | How to compile alglib on stm32? |
I want to use it for PX4 project, https://docs.px4.io/main/en/. I want to use this lib to solve an LP problem of a control allocation of aircraft. |
Author: | Sergey.Bochkanov [ Wed Mar 27, 2024 6:40 pm ] |
Post subject: | Re: How to compile alglib on stm32? |
If it has double precision floating point support (hardware or software), then you can simply compile ALGLIB without OS-specific and CPU-specific #defines. It will work as a generic C code that does not use any 'advanced' OS-related functions which are absent on your system. The only question is how to fit ALGLIB binary into limited resources one usually has on such systems. A full ALGLIB binary needs several megabytes of RAM, and if you compile just linear programming, it is still likely to be more than a megabyte. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |