PixHawk Chip replacement

On a PixHawk(1), if I replace the MPU6000 with an ICM20689 accelerometer/gyro, will the firmware automatically recognize the new chip and initialize and use it, or will the code assume an MPU6000 since the board is an old one?

I believe you would need to create yourself a custom hwdef.dat for that.