Can't use ninja flash for Nucleo board at macos


After install open-ocd and  gcc-arm-none-eabi-7-2018-q2-update-mac I can build zephyr seccess,but can’t use ninja flash to flash to my hw board on macOS.

Is there any file missing (board/st_nucleo_l4.cfg),how to fix this bug? Thanks.

Error message like this:

azhuodeMacBook-Pro:build azhuo$ ninja flash
[0/1] Flashing nucleo_l476rg
Using runner: openocd
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
/Users/azhuo/zephyr/zephyr/boards/arm/nucleo_l476rg/support/openocd.cfg:1: Error: Can't find board/st_nucleo_l4.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 60
at file "/Users/azhuo/zephyr/zephyr/boards/arm/nucleo_l476rg/support/openocd.cfg", line 1
ERROR: command exited with status 1: /usr/local/bin/openocd -f /Users/azhuo/zephyr/zephyr/boards/arm/nucleo_l476rg/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /Users/azhuo/zephyr/zephyr/samples/hello_world/build/zephyr/zephyr.bin 0x8000000' -c 'reset halt' -c 'verify_image /Users/azhuo/zephyr/zephyr/samples/hello_world/build/zephyr/zephyr.bin 0x8000000' -c 'reset run' -c shutdown
run as "west -v ... flash ..." for a stack trace

Join to automatically receive all group messages.