README: fix nrf example and add arduino example

Этот коммит содержится в:
Ayke van Laethem 2018-09-13 00:23:53 +02:00
родитель 7e7502a990
коммит 422c848163
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

Просмотреть файл

@ -143,7 +143,19 @@ After LLVM has been built, you can run an example with:
For a blinky example on the PCA10040 development board, do this: For a blinky example on the PCA10040 development board, do this:
make flash-blinky TARGET=pca10040 make flash-blinky2 TARGET=pca10040
Note that you will have to execute the following commands before the blinky
example will work:
git submodule update --init
make gen-device-nrf
You can also run a simpler blinky example (blinky1) on the Arduino:
git submodule update --init # only required the first time
make gen-device-avr # only required the first time
make flash-blinky1 TARGET=arduino
## License ## License