thread safety in newlib, newer lwip, optimized ISR for UART, some more stuff

This commit is contained in:
2023-10-06 17:29:07 +02:00
parent 1ba3d9412d
commit 1eb406074c
14 changed files with 75 additions and 157 deletions

View File

@@ -143,6 +143,7 @@ XScuWdt xWatchDogInstance;
other modules. */
XScuGic xInterruptController;
extern SemaphoreHandle_t malloc_mutex;
/*-----------------------------------------------------------*/
void mission(void *);
@@ -154,6 +155,12 @@ int main(void) {
printf("Booting Software\n");
malloc_mutex = xSemaphoreCreateRecursiveMutex();
if (malloc_mutex == NULL) {
printf("Could not obtaiin malloc mutex, bye...\n");
exit(-1);
}
int taskParameters =0;
xTaskCreate(