티스토리 뷰
728x90
출처 : 델마당 - 라즈베리 파이(Raspberry Pi) 보드 크로스 컴파일 환경 구축 성공(Win7 => 라즈베리)
Cross-Build for RasberryPi
TOPIC: How to build app for Raspberry Pi from Windows 7
Setup Cross Compile For ARM
Lazarus
Lazarus라는 RAD툴 입니다.
아직 설치 방법은 작성중이고, 우선 개발된 소스와 실행 파일을 올립니다.
기본언어는 Pascal 이고, 상용툴로 Delphi와 비슷합니다.
Raspberry PI용 화면개발을 하실 일이 있다면 편하게 작성하실수 있습니다.
설치방법과 GPIO관련 내용은 따로 작성해서 올리겠습니다.
GPIO 컴포넌트
CodeTyphon 다운로드
Cross-Build for RasberryPi 다운로드
설치
CodeTyphonIns\install.bat 관리자로 실행
Lazarus 실행
화면디자인
소스코드 Unit1.pas project1.zip
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Edit1: TEdit; procedure Button1Click(Sender: TObject); private { private declarations } public { public declarations } end; var Form1: TForm1; implementation {$R *.lfm} { TForm1 } procedure TForm1.Button1Click(Sender: TObject); begin // Edit1.Text := 'Hello Raspberry !!!'; end; end.
Windows에서 실행
Raspberry PI 용 컴파일 옵션 설정
Raspberry PI에서 실행
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- KOBA
- android
- ffmpeg
- 레이싱모델 익스트림 포토 페스티벌
- Delphi Tip
- SAS
- flex
- oracle
- Delphi
- NDK
- Java
- 일본여행
- Linux
- ubuntu
- Spring
- 서울오토살롱
- MySQL
- JavaScript
- Xcode
- 지스타2007
- ble
- Mac
- 동경
- 송주경
- sas2009
- 튜닝쇼 2008
- koba2010
- BPI-M4
- Spring MVC
- 전예희
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함