Nano BLE Bootloader Crash?

Your filter lines take no part in modifying your analog read value .
If a program doesn’t run and you don’t know why , run the simple blink program from the IDE first before worrying about the loading bootloaders.