STM32F37xx migrating standard peripheral driver to HAL/LL, and FreeRTOS default task question
I am working on updating a relatively old Atollic TrueSTUDIO FreeRTOS project for an STM32F37xx microcontroller to STM32CubeIDE. I have successfully ported and built the project in STM32CubeIDE using the Atollic project import tool.
I have a few questions:
1. The project uses standard peripheral drivers developed by ST (copyright 2012), and the source files were copied into the project rather than being added as references. I'd like to update the project so the drivers reference either the current HAL or LL libraries, is one of them a more suitable replacement for the standard peripheral drivers (i.e. does one of them supersede the standard peripheral drivers)?
2. I also started building a new project completely in CubeIDE to update both the drivers and FreeRTOS source, and plan to add/update the custom source files from the old project to the new one. The old project calls FreeRTOS functions directly, without the middleware abstraction provided by ST, e.g. xTaskCreate() instead of osThreadCreate(), and I'd like to use that approach rather than the middleware abstraction. Is there a way to instruct the device configurator not to generate the middleware abstraction functions and use the FreeRTOS functions instead, or do I need to do that on my own?
Additionally, it appears an additional "Default Task" is needed by the middleware abstraction, which seems problematic since it's adding an additional task to the scheduler that was not in the old project. It's not very clear from the description in the configurator (below) when this task is actually needed; can it be safely removed if the middleware abstraction is not used?

