Nano BLE Bootloader Crash?

So take all the filter stuff out and just run the led flashing part .
If that works then add the library only - see if it works - if not there is a compatibility problem with it ( the Ble has a different processor and that library might not work with it ).
Having checked the hardware is ok with the example flashing program , Build your program up a line at a time and see where it fails , then you’ve found the problem and can look for a fix