STM32L073 onCrash force Reboot

OS= MBED 5.15
MCU= STM32L073

I am looking for a function that will reboot the STM32L073 (NUCLEO-L073RZ) in case it crashes.

I already tried with: “platform.crash-capture-enabled”: true

but does not compile:
[Warning] @0,0: L3912W: Option ‘legacyalign’ is deprecated.

[Error] @0,0: L6218E: Undefined symbol Image$$RW_m_crash_data$$ZI$$Base (referred from BUILD/NUCLEO_L073RZ/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/mbed_fault_handler.o).

Warning: L3912W: Option 'legacyalign' is deprecated.

Error: L6218E: Undefined symbol Image$$RW_m_crash_data$$ZI$$Base (referred from BUILD/NUCLEO_L073RZ/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/mbed_fault_handler.o).

Finished: 0 information, 1 warning and 1 error messages.

[ERROR] Warning: L3912W: Option 'legacyalign' is deprecated.

Error: L6218E: Undefined symbol Image$$RW_m_crash_data$$ZI$$Base (referred from BUILD/NUCLEO_L073RZ/ARMC6/mbed-os/platform/source/TARGET_CORTEX_M/mbed_fault_handler.o).

Finished: 0 information, 1 warning and 1 error messages. 

is there any way to force to reboot in case of crash?

Thanks,