Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Uuden

...

projektin

...

luominen

...

CCS:lla

...

1.

...

Määrittele

...

ensin

...

workspace:lle

...

hakemisto

...

2.

...

File

...

->

...

New

...

->

...

CCS

...

Project

...

3.

...

Anna

...

projektille

...

nimi

...

4.

...

Project

...

type:

...

MSP430

...

5.

...

Device:

...

CC430F6137

...

6.

...

Paina

...

"Finish"

...

Linkitys:

...

1.

...

Nyt

...

tarvitaan

...

hakemistoon

...

luotuja

...

tyhjiä

...

kansioita

...

2.

...

Projects

...

->

...

Link

...

files

...

to

...

active

...

project...

...

3.

...

Valitse

...

components/bsp/

...

kansiosta

...

.h

...

ja

...

.c

...

tiedostot

...

->

...

Open

...

4.

...

Raahaa

...

ne

...

tyjiin

...

linkkikansioihinsa

...

5.

...

Tee

...

samalla

...

tavalla

...

mrfi/,

...

nwk/,

...

ja

...

nwk_applications/

...

-kansioiden

...

sisällölle

...

(

...

eli

...

alikansoista)

...

6.

...

ja

...

confguratioinnille

...

sama

...

homma

...

Build

...

asetukset:

...

1.

...

Project

...

->

...

Properties

...

->

...

C/C+

...

+

...

Build

...

->

...

MSP430

...

compiler

...

->

...

Include

...

options

...

2.

...

Lisää

...

seuraavat

...

rivit:

{
Code Block
}"${PROJECT_ROOT}/../Components/bsp"

"${PROJECT_ROOT}/../Components/bsp/boards/CC430EM"

"${PROJECT_ROOT}/../Components/bsp/drivers"

"${PROJECT_ROOT}/../Components/mrfi"

"${PROJECT_ROOT}/../Components/simpliciti/nwk"

"${PROJECT_ROOT}/../Components/simpliciti/nwk_applivations"{code}

3.

...

MSP430

...

compiler

...

->

...

Command

...

Files

...

4.

...

Lisää

...

seuraavat

...

rivit:

Code Block


"${PROJECT_ROOT}/../Configuration/smpl_nwk_config.dat"

"${PROJECT_ROOT}/../Configuration/End_Device/smpl_config.dat"

5.

...

MSP430

...

compiler

...

->

...

Pre-defined

...

options

...

6.

...

Lisää

...

seuraavat

...

rivit:

Code Block


__CC430F6137_\_       (tämän pitäisi jo löytyäkkin, mikäli kaikki on ok)

MRFI_CC430

7.

...

Luo

...

main.c,

...

käännä

...

ja

...

toivo

...

parasta

...

!

CC430_ohjeita1.jpg

...

CC430_ohjeita2.jpg

...

CC430_ohjeita_3.txt

...