Writing data to internal flash
I have a custom board using a STM32F071VTB processor. I would like to store a small amount of configuration data in flash. The configuration can change during operation so that I need to be able to write to the flash from the executing application running on the processor. The application is written in C/C++ and is being developed on the STM32CubeIDE supplied by ST. I see some documentation discussing how to use the HAL drivers to write to flash but not any real documentation of how to make sure that I don't write over the code/etc stored in the flash.
I see the STM32F071BTX_FLASH.ld file but it says that it was auto generated by the IDE and changing it so that it doesn't regenerate and overwrite it.
Also documentation of how to use the .ld file seems hard to find. I've used similar type files on Analog BlackFin processors but some of the syntax etc of the .ld file is unfamiliar to me.
I only need a small amount of Flash probably 128 bytes would be more than enough. Is there a quick explanation (or even a longer explanation) of how I might accomplish my goal?