and now, I’ve got that working. I looked at the initial definition (which was local) and copied that (local) as you can see by the code I attached. Should have been left alone and the definition of the memory region in main.c in a user section.
I was looking for a complex solution and missed the simple one.
Thanks, it all works properly.
I still have a problem with ST not giving the option to set the flag, but that’s their problem and I can always define the flag in the user section of FreeRTOSconfig.h