ST NUCLEO F401RE - "target.restrict_size": "0x20000" doesn't work

15 Mar 2018

Hi, I'm trying to develope a Bootloader for my ST Nucleo f401re board.

Following the bootloader tutorial I've setted

    "target_overrides": {
		"NUCLEO_F401RE": {
            "target.restrict_size": "0x20000"
        }
    }

but when I compile (GCC_ARM)

Using regions in this build:
  Region bootloader size 0x1ff00, offset 0x8000000
  Region application size 0x60100, offset 0x801ff00 

Region bootloader size is wrong, it must be 0x20000, as specified in mbed_app.json file. In this way it's not possible to align sector for erasing/program operation.