0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

NRF Connect for VSCode を MBP2021で使ったときにハマった所メモ

Last updated at Posted at 2021-12-12

環境
pc: MacBook Pro 2021 14inch
debugger:J-link mini edu
board: adafruit feather nrf52840

VSCode以外にインストールするもの三つ

  1. NRF Connect for desktop
  2. NRF Connect Command line tool
  3. J-Link関連ソフトウェア

どハマりポイント
M1 Mac用にビルドされたVSCodeだとデバッグはできるがJ-LinkのDLLの読み込みに失敗してフラッシュはできない。
Intelアーキテクチャ用のVSCodeとJ-Linkソフトウェアをインストールする必要がある。
Intelアーキテクチャ用でもM1Mac上で動作は問題なかった

Application作成時のボード選択のところでadafruit_nrf52840_featherを選ぶとフラッシュする所でnrfjprogがエラーが吐くので、

/opt/nordic/ncs/v1.7.1/zephyr/boards/arm/adafruit_feather_nrf52840/board.cmake に

include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)

↑を書き加えておくこと

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?