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