There's a few files (as we use DRY even on params 😉 The procedure to do this is here
When you reload the airframe (via these parameters) you'll end up losing calibration and having to go through the calibration process. This is documented here
You'll end up loading these, in this order:
configures core airframe for m500 with 4S battery (standard):
https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/raw/master/platforms/v1.10/m500_4s_config.params
VIO indoor EKF
https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/raw/master/helpers/ekf2_indoor_vio.params
Serial params (to be safe, these should be set by default)
https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/blob/master/helpers/mavlink_serial_ports.params
If needed and applicable, radio
https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/blob/master/helpers/gimbal_dx8_config.params