All NuttX configs are called 'nsh' now, stop trying to guess based on the board name.
Use a better way of guessing whether we can use both-edges mode.