back to non-static FreeRTOS with heap1; Rust tasks running again and probably stable as well

This commit is contained in:
2023-11-20 22:46:40 +01:00
parent c08d15215b
commit 5bb01f1731
3 changed files with 94 additions and 132 deletions

View File

@ -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();