'sdk_config.h wizard'에 해당되는 글 1건

  1. [BLE] SEGGER Studio CMSIS Configuration Wizard / sdk_config.h

[BLE] SEGGER Studio CMSIS Configuration Wizard / sdk_config.h

노르딕 SDK는 여러 컴파일러를 지원 합니다.

기존 상용 컴파일러를 지원 하던 중에( Keil, IAR ) 현재는 SEGGER사(JLink 만드는 독일 회사)와 계약을 했는지

nRF 씨리즈에 한정하여 무료로 사용 할 수 있습니다.

 

SDK 업데이트 하면서 기존 Keil버젼은 더 이상 지원하지 않아서 SEGGER로 변경 해보았는데,

생각 보다 괜찮습니다.

JLink 기술의 원천 회사 라서 그런지 괴랄하게 빠른 flash download속도와 디버깅 속도를 보여 주네요.

 

아무튼...

SDK 사용중에는 sdk_config.h을 자주 건드리게 되는데, 기존에 Keil의 경우 GUI Wizard형식으로 보기가 편하게 

되어 있습니다.

이게 SEGGER에서는 지원하지 않는 줄 알고, 우울해지려고 할 타임에 검색 해보니 플러그인 형태로 지원 하는게 있네요.

 

설정 하는 법 유튜브 링크

https://www.youtube.com/watch?v=b0MxWaAjMco&list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&index=4

 

Keil 컴파일러 sdk_config wizard

 

 

SEGGER sdk_config wizard

 

설정법

File-Open Studio Folder..-External Tools Configuration 에서 아래 문구를 넣어 주면 됩니다.

SEGGER sdk_config wizard 설정법

<tools>

  <!-- PC-lint - http://www.gimpel.com/html/pcl.htm -->

  <if host_os="win">
    <item name="Tool.PClint">
      <menu>&amp;PC-lint (Unit Check)</menu>
      <text>PC-lint (Unit Check)</text>
      <tip>Run a PC-lint unit checkout on the selected file or folder</tip>
      <key>Ctrl+L, Ctrl+P</key>
      <match>*.c;*.cpp</match>
      <message>Linting</message>
      <commands>
        &quot;$(LINTDIR)/lint-nt&quot; -v -incvar(__CW_ARM) -i$(LINTDIR)/lnt co-gcc.lnt $(DEFINES) $(INCLUDES) -D__GNUC__ -u -b +macros +macros -w2 -e537 +fie +ffn -width(0,4) -hF1 &quot;-format=%f:%l:%C:\s%t:\s%m [-e%n]&quot; &quot;$(InputPath)&quot;
      </commands>
    </item>
    <item name="Tool.CMSIS_Config_Wizard" wait="no">
      <menu>&amp;CMSIS Configuration Wizard</menu>
      <text>CMSIS Configuration Wizard</text>
      <tip>Open a configuration file in CMSIS Configuration Wizard</tip>
      <key>Ctrl+Y</key>
      <match>*config*.h</match>
      <message>CMSIS Config</message>
      <commands>
        java -jar &quot;$(CMSIS_CONFIG_TOOL)&quot; &quot;$(InputPath)&quot;
      </commands>
    </item>
  </if>

</tools>

 

추가로

sdk_config.h 설정에 관한 문법 설명 입니다.

https://www.keil.com/pack/doc/CMSIS/Pack/html/configWizard.html

 

Configuration Wizard Annotations

Annotation Rules Configuration Wizard Annotations consist of annotation items and annotation modifiers. They create GUI-like elements in IDEs for configuration files (see Tool-specific display). Using a GUI-like approach makes it easier for the user to che

www.keil.com

 

'BLE' 카테고리의 다른 글

[BLE] nRF5 Offline Document Download  (0) 2020.02.05
[BLE]nRF52832 DCDC Mode Enable  (0) 2020.02.05