Problem flashing to stm32L152 discovery

I am trying to flash a program to the board.

I get the wrong start address. In my config file which is at .cargo/config I have set:

runner = 'arm-none-eabi-gdb'

rustflags = [
  "-C", "link-arg=-Tlink.x",

target = "thumbv7m-none-eabi"

And in my memory.x I have the values from datasheet of stm32L152c discovery

 /* Linker script for the STM32L152RCT6 */
  FLASH : ORIGIN = 0x08000000, LENGTH = 256K
  RAM : ORIGIN = 0x20000000, LENGTH = 32K

I use openocd -f interface/stlink-v2.cfg -f board/stm32ldiscovery.cfg for target and interface selection and it seems its working fine since i get the data of microcontroller:

I dont know if it's important, but I am using nighlty as my default toolchain, but i dont think that matters since I build it with "cargo build --target thumbv7m-none-eabi" :

I should also add that the LED for communication is blinking on the STM

I dont know why nothing is flashing to the board. And the start address should not be 0x000000 since i have it set to a different value in memory.x
Any ideas?

The solution was that I had my config file saved as config.txt but it should have been config.toml
that fixed all the problems