You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xoviat edited this page Jan 24, 2021
·
6 revisions
Cortex-M is a widely used microcontroller that is present in a variety of industrial and consumer electronics.
A common variant of the Cortex-M is the STM32F4xx series. Here, we will give instructions for building for
the STM32F4xx.
First, install the embedded arm gcc compiler from the arm website. Then, create the following toolchain file and build as follows.
In your embedded application, the following functions need to be provided for OpenBLAS to work correctly:
voidfree(void*ptr);
void*malloc(size_tsize);
Note: if you are developing for an embedded platform, it is your responsibility to make sure that the device
has sufficient memory for malloc calls. Libmemory provides one implementation of malloc for embedded
platforms.