forked from ROMEO/obsw
back to non-static FreeRTOS with heap1; Rust tasks running again and probably stable as well
This commit is contained in:
@ -131,8 +131,6 @@ int main(void) {
|
||||
/* Configure the hardware ready to run the demo. */
|
||||
prvSetupHardware();
|
||||
|
||||
initFreeRTOSHelper();
|
||||
|
||||
// printf("Booting Software\n");
|
||||
|
||||
int taskParameters = 0;
|
||||
@ -141,15 +139,15 @@ int main(void) {
|
||||
StaticTask_t xTaskBuffer;
|
||||
StackType_t xStack[stackSizeWords];
|
||||
|
||||
xTaskCreateStatic(
|
||||
xTaskCreate(
|
||||
mission, /* The function that implements the task. */
|
||||
"init", /* The text name assigned to the task - for debug only as it is
|
||||
not used by the kernel. */
|
||||
stackSizeWords, /* The size of the stack to allocate to the task. */
|
||||
10240, /* The size of the stack to allocate to the task. */
|
||||
&taskParameters, /* The parameter passed to the task - not used in this
|
||||
simple case. */
|
||||
4, /* The priority assigned to the task. */
|
||||
xStack, &xTaskBuffer);
|
||||
NULL);
|
||||
|
||||
vTaskStartScheduler();
|
||||
|
||||
|
Reference in New Issue
Block a user