LEDの点灯
Build Optionの設定
Project ExplorerでProject選択後、OptionsボタンからOption画面を開く。その後、左上のdrop-down listでPrivate ConfigurationのCommonを選択し、以下のOptionを追加設定する
Preprocessor -> User Include Directories
Path |
---|
(SDK_PATH)/components/libraries/button |
(SDK_PATH)/components/drivers_nrf/nrf_soc_nosd |
(SDK_PATH)/components/libraries/util |
(SDK_PATH)/components/toolchain/cmsis/include |
(SDK_PATH)/modules/nrfx/mdk |
(SDK_PATH)/integration/nrfx |
(SDK_PATH)/modules/nrfx |
(SDK_PATH)/modules/nrfx/hal |
(SDK_PATH)/components/boards |
(SDK_PATH)/components/libraries/bsp |
SDK Source Fileの取り込み
Projectに以下のSourceを取り込む
Path |
---|
(SDK_PATH)/components/boards/boards.c |
main.c
1 2 3 4 5 6 7 8 9 |
|