Platform Builder 기본 사용법

Download Report

Transcript Platform Builder 기본 사용법

Platform Builder 기본 사용법

목 차    Platform Builder를 이용한 Win CE 이미지 생성 Platform Builder 메뉴 설명 Platform Builder 실습 #1  Windows CE.NET Emulator BSP 및 플랫폼 생성 모바일운영체제 - Windows CE 2

Platform Builder를 이용한 Win CE 이미지 생성

Windows CE 이미지 생성 (1) 모바일운영체제 - Windows CE 4

Windows CE 이미지 생성 (2)  Platform Builder를 이용한 Win CE 이미지 생성   플랫폼(Platform)   타겟 하드웨어 보드 위에 올리려는 Windows CE 이미지 형태 예: Mobile Handheld Device, Internet Appliance, Web Pad, Gateway, Windows Thin Client 등 프로젝트(Project)   플랫폼에 포함되는 소프트웨어를 생성하는 단위 플랫폼은 프로젝트로 구성되며, PB에서 미리 정의된 프로젝트 및 사용자 정의 프로젝트를 포함한다.

모바일운영체제 - Windows CE 5

Platform Builder 메뉴 설명

Platform Builder 메뉴 설명 Resource CatalogView Warkspace FeatureView ParameterView ClassView ResourceView FileView Output 7 모바일운영체제 - Windows CE

Workspace Window   개발자가 구성한 OS환경과 OS 컴포넌트들을 확인 컴포넌트의 소스코드와 설정 파일 확인 FeatureView ParameterView FileView 모바일운영체제 - Windows CE 8

Catalog Window  OS를 구성할 때 사용될 수 있는 모든 컴포넌트 확인 모바일운영체제 - Windows CE 9

Output Window  OS Build 또는 디버깅 시 출력 정보  RETAILMSG / DBGMSG 모바일운영체제 - Windows CE 10

Edit Window  소스코드 또는 설정 파일 수정 모바일운영체제 - Windows CE 11

Platform Builder 메뉴 설명 모바일운영체제 - Windows CE 12

Windows CE 실험실습 #1

주제 : 에뮬레이터 BSP 및 플랫폼 생성, 애플리케이션 제작

Emulator BSP / Platform생성    Emulator BSP 생성 Emulator Platform 생성 Application 생성 모바일운영체제 - Windows CE 14

Emulator BSP 생성 (1) 1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

Builder 메뉴에서 'Platform -> BSP Wizard'를 선택 'BSP Wizard' 창이 나타나면 ‘다음’ 을 선택 ‘Clone an existing BSP’를 선택 ‘Emulator: x86’ 를 선택하고 ‘다음’을 선택 ‘New BSP name’ 에는 원하는 이름(예 : Emulx86_IA)을 입력, ‘다음’ 을 선택 ‘emulator’ 만 선택된 대로 나두고 ‘다음’ 선택 ‘확인’을 누르면 Platform Builder의 Catalog Windows가 갱신 ‘Third Party’ - ‘BSPs’ 안에 ‘Emulx86_IA’ 라는 것이 추가 Emulx86_IA 안에 각종 Device Driver들이 포함 WINCE50\PLATFORM 폴더 안에 ‘Emulx86_IA

생성 라는 폴더가 모바일운영체제 - Windows CE 15

Emulator Platform 생성 (2) 11.

12.

13.

14.

15.

16.

메뉴에서 ‘File -> New Platform...’을 선택 BSP를 선택 -> ‘Emulator: x86’를 선택  앞에서 작성한 ‘ Emulx86_IA

BSP를 선택하여도 된다 ‘Available Configuration’ -> ‘Internet Appliance’ 선택 'Platform name‘ -> 이름입력(ex, ‘emulator_test') Platform 에 포함될 Application 과 Media 컴포넌트를 선택 나중에 다시 Catalog Windows에서 추가가 가능 모바일운영체제 - Windows CE 16

Emulator Platform 생성 (3) 모바일운영체제 - Windows CE 17

Emulator Platform 생성 (4) 모바일운영체제 - Windows CE 18

Emulator Platform 생성 (5) 모바일운영체제 - Windows CE 19

Emulator Platform 생성 (6) 모바일운영체제 - Windows CE 20

Emulator Platform 생성 (7) 17.

18.

19.

20.

21.

22.

Build -> Build Platform Audito -> Emulator Waveform Audio Device Display -> Emulator Display Local Area Networking(LAN) devices ->Emulator DC21x40 Ethernet Controller Storage Device -> Storage Device Keyboard/Mouse -> Emulator Keyboard/Mouse Korean 모바일운영체제 - Windows CE 21

Emulator Platform 생성 (8) 모바일운영체제 - Windows CE 22

Emulator Platform 생성 (9) 모바일운영체제 - Windows CE 23

Emulator Platform 생성 (10) 23.

24.

25.

26.

Build가 완료되면 Emulator를 실행 시킨다.

Target -> Configure remote connection Download / Kernel -> Emulator 선택 Configure 메뉴에서 Skin File을 선택하면 Emulator에서 Skin 을 적용시킬 수 있다.

모바일운영체제 - Windows CE 24

Emulator Platform 실행 (1) 모바일운영체제 - Windows CE 25

Emulator Platform 실행 (2) 모바일운영체제 - Windows CE 26

Emulator Platform 실행 (3) 모바일운영체제 - Windows CE 27

Application 제작 I 3.

4.

5.

6.

1.

2.

File -> New Project or File

Projects 탭에서 WCE Application, 프로젝트 이름에 test_app 입력 Build -> Build test_app.exe를 실행 에뮬레이터 실행 Target -> Run Programs

또는 CE Target Control 창에서 1.

Windows CE> s test_app.exe를 입력 모바일운영체제 - Windows CE 28

Application 제작 II 1.

2.

3.

4.

5.

6.

7.

File -> New Project or File

WCE Consol Application / console_app 입력 Typical

hello world

app 선택 Build -> Build console_app.exe를 실행 에뮬레이터 실행 시작 -> 실행(R)

-> cmd 입력 cmd상에서 \>console_app를 입력 모바일운영체제 - Windows CE 29