Packs에 접근하여 사용하려면 GNU ARM Eclipse Packs Support plug-in (currently with experimental status)이 설치되어 있어야 합니다.
Configuration
pack을 사용하기 전에 pack이 다운로드되어 압축해제된 폴더를 확인하고 수정하는 것을 권장합니다.
나중에는 수정할 수 없습니다. (사실 가능하지만, 설치된 모든 패키지를 잃게 되고, 그것들을 다시 다운로드해야 합니다.)
이 폴더를 Packages 라고 부르고, 현재 workspace와 같은 레벨에 위치합니다.
여러개의 이클립스를 여러개의 workspace에서 사용한다면, 이 경로를 하나로 통합 할 것을 권장합니다.
즉, 모든 workspace에서 동일한 하나의 packs를 사용하도록 하는 것입니다.
플러그인은 packs를 읽어들일 사이트를 설정하기 위한 페이지를 제공하고 있습니다. 현재는 Keil URL 만이 연결되어 있지만, 다른 사이트가 나타나면, 리스트에 추가 될 수 있을 것입니다.
- URLs of packs repositories.
The Packs perspective
packs manager selection view와 outline view를 가지는 별도의 perspective를 사용합니다.
이 perspective를 보이도록 하려면, 이클립스 툴바에서 Packs 버튼을 클릭하여 활성화시킵니다.
두 가지 방법 중에 선택할 수 있습니다.:
- 이클립스 메뉴의 Window → Open Perspective → Other...
- 리스트에서 Packs perspective를 선택
다음과 같은 창이 나타납니다. :
처음에는 모든 View가 비어있는 상태로; 플러그인이 외부 packs 저장소에 접근해야 합니다. 인터넷 연결이 가능해야 하고, 노란색 화살표를 클릭하여 Refresh하면
잠시 후에 패키지 목록이 나타날 것입니다.
Filtering
제조사 목록으로 원하는 packs를 찾는 것이 유용합니다.
비슷한 방법으로 여러개의 디바이스를 필터링 할 수 있습니다. 벤더가 달라도 상관없습니다.
Pack versions
각각의 pack은 여러개의 버전을 갖고 있습니다.
현재 버전과 지난 버전의 리스트가 packs 트리에 다음처럼 나타납니다.
Pack install
대개는 최종 버전을 인스톨 하겠지만, 어떤 경우에는 특정 버전을 인스톨 해야 할 필요가 있습니다. 이런 경우 패키지 또는 버전을 선택하고, view 툴바에서 인스톨 버튼을 클릭합니다.
The result of this action is the download and unarchive of the desired packs, followed by write protecting all files, to protect them from inadvertent changes. To differentiate installed packages, the icon, initially grey, lights up in colour:
Full outline
Once a package is installed, you can get the full outline of the pack version by selecting the desired version. This will trigger an update of the outline window, with the brief outline being replaced by a full outline.
The full outline is a multi-level tree. Moving the mouse around brings new tooltip windows, where full details are displayed.
Most of the packs include various documents, either as local PDF or CHM files, or as links to web documents. Double clicking them opens the appropriate viewers for your platform.
Double clicking source and header files opens them in the main editor window:
Pack uninstall
If the packages are no longer needed, they can be removed from the local folder, in order to save space (some packages can be hundreds of megabytes long).
To achieve this, select the desired pack version, and click the uninstall button available in the view toolbar.
Uninstalling a package version removes both the archive and the unarchived folder, then changes the icons back to grey.
Examples
For installed packages, the plug-in presents the list of available examples below each pack version.
For selected examples, the outline presents details about the content of the example.
With right click, you can copy one or more examples to separate local folders. Unfortunately the examples currently available in the Keil packages can be used only with Keil MDK, so are of no direct use for Eclipse and GCC environments.
Where next?
당장은 packs에 대한 지원은 진행 중에 있습니다. 하지만, packs 기술에는 유용한 점들이 많고, 향후 플러그인 버전에서는 사용 가능해 질 것입니다.
현재는 Keil만 지원하고 있으므로, 더 많은 지원이 있기 전까지는 사용을 미루어야 겠습니다.
'ARM' 카테고리의 다른 글
GNU ARM Eclipse : DOCUMENTATION : HOW TO USE THE BUILD PLUG-IN (0) | 2015.02.16 |
---|---|
GNU ARM Eclipse : DOCUMENTATION : FEATURES (0) | 2015.02.16 |
GNU ARM Eclipse : INSTALL : DEBUGGER (0) | 2015.02.15 |
GNU ARM Eclipse : INSTALL : BUILD TOOLS (0) | 2015.02.15 |
GNU ARM Eclipse : INSTALL : TOOLCHAIN (0) | 2015.02.13 |