"Flash is Full".
The linker script provided with a CircleOS app defines a limit at 8KB so that the CircleOS+app size does not exceed 23K. This limitation is set so that you can debug your app. But CircleOS apps can be greater than that, so you should edit the linker script.
Apart from that, if you define the function main(), it means to me that you are not using the CircleOS.
In that case, don't select the STM32F103RBT6_CircleOS pseudo-device when creating the project, but rather the STM32F103RBT6.
You will be given the standard linker scripts automatically generated by Ride7.
Lionel