mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 11:13:09 +00:00
59740349fa
* memory managment calls now forwarded to freertos heap * memory managment tests * local target test compability * rename heap.c file to heap_4.c for local target and explicity init heap in single thread context * rebase BlockLink_t struct * check mutex in local heap Co-authored-by: aanper <mail@s3f.ru>
19 lines
No EOL
280 B
C
19 lines
No EOL
280 B
C
#include "heap.h"
|
|
#include "errno.h"
|
|
|
|
/*
|
|
Flipper devices inc.
|
|
|
|
Local fw build entry point.
|
|
*/
|
|
|
|
int app();
|
|
|
|
int main() {
|
|
// this function is not thread-safe, so it must be called in single thread context
|
|
if(!prvHeapInit()){
|
|
return ENOMEM;
|
|
}
|
|
|
|
return app();
|
|
} |