A big benefit of this somewhat special approach is that one can always rely on having the full specified main stack as ISR stack independent of any user code in main
.
I consider main
as just the FreeRTOS bootloader not being part of the FreeRTOS application itself because the runtime environment resp. model completely changes when starting the scheduler (the OS).