nRF9160DK Edge Impulse FW example build fails

Question/Issue:
I try to build Edge Impulse example firmware from GitHub - edgeimpulse/firmware-nordic-nrf9160dk: Official Edge Impulse firmware for the nRF9160 DK to nRF9160DK, using the instructions, but I get error “No board named ‘nrf9160dk_nrf52840’ found.”

Steps Taken:

  1. Install latest ncs v3.1.1
  2. Clone and import to ncs GitHub - edgeimpulse/firmware-nordic-nrf9160dk: Official Edge Impulse firmware for the nRF9160 DK
  3. Run
    $ cd board-controller/
    $ west build -b nrf9160dk_nrf52840@1.0.0

Expected Outcome:
Builds successfully.

Actual Outcome:
No board named ‘nrf9160dk_nrf52840’ found.

Reproducibility:

  • [X] Always
  • [ ] Sometimes
  • [ ] Rarely

Environment:

  • Platform: nRF9160 DK
  • Build Environment Details: ncs v3.1.1

Edit:
Additional info, I tried with ncs v2.1.0, and board-controller builds OK. But nrf9160dk_nrf9160 still fails:
devicetree error: ‘mxicy,mx25r-power-mode’ appears in /soc/peripheral@40000000/spi@b000/mx25r6435f@1 in C:/Users/ett12784/84/repos/firmware-nordic-nrf9160dk/build/zephyr/zephyr.dts.pre, but is not declared in ‘properties:’ in C:/ncs/v2.1.0/zyr/ephyr/dts/bindings\mtd\jedec,spi-nor.yaml