Boot fails with custom build / works with stable build

I’ve put together a driver for an NRA24 serial rangefinder (stock firmware, not special ArduCopter firmware), and am trying to test it with a custom Copter 4.5.7 build. Everything compiles cleanly — and this is the only thing I’ve added or changed in the stable branch — but when I load the firmware to my CubeOrange Plus it fails to boot every time with a WDT reset (with all parameters in the message being 0) almost immediately. So, the CubeOrange+ reboots and reboots and reboots… and the amber light stays solid. I’ve tried upgrading the bootloader (no change) as well as a variety of flashing methods.

However, if I flash the standard Copter-4.5.7 firmware, the CubeOrange+ boots right up with no problem. Is there some parameter or compilation issue I need to investigate for this? I’ve followed the documentation to a T so far as I can tell.