Custom linker script

I’m trying to port my project over from stm32cubeide.
But I can’t get the linkerscript to be picked up.

[env:genericSTM32F411CE]
platform = ststm32
platform_packages = framework-stm32cubef4 @ https://github.com/lealoureiro/STM32CubeF4.git#v1.27.1-pio
board = genericSTM32F411CE
framework = stm32cube
upload_protocol = stlink
debug_tool = stlink
board_build.ldscript = STM32F411CEUX_FLASH.ld

when I upload it I expect to see:
RAM: *
Flash: *
CONFIG: *
Where config is the section I added to the linker script.
But config is missing.

Any suggestions as to what I missed?

Where? In the info section about the built firmware?

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  42.0% (used 27528 bytes from 65536 bytes)
Flash: [======    ]  59.2% (used 155240 bytes from 262144 bytes)

If yes, no, that’s not how it’s implemented, see https://github.com/platformio/platformio-core/issues/4059.

Oh i see. It does work just doesn’t get reported.

had to run inspect the memory through pio to see it

Thanks