2020-10-15 17:36:15 +00:00
|
|
|
#include "heap.h"
|
|
|
|
#include "errno.h"
|
|
|
|
|
2020-08-17 09:45:53 +00:00
|
|
|
/*
|
|
|
|
Flipper devices inc.
|
|
|
|
|
|
|
|
Local fw build entry point.
|
|
|
|
*/
|
|
|
|
|
2020-10-10 10:32:06 +00:00
|
|
|
int app();
|
2020-08-17 09:45:53 +00:00
|
|
|
|
|
|
|
int main() {
|
2020-10-15 17:36:15 +00:00
|
|
|
// this function is not thread-safe, so it must be called in single thread context
|
|
|
|
if(!prvHeapInit()){
|
|
|
|
return ENOMEM;
|
|
|
|
}
|
|
|
|
|
2020-10-10 10:32:06 +00:00
|
|
|
return app();
|
2020-08-17 09:45:53 +00:00
|
|
|
}
|