summaryrefslogtreecommitdiff
path: root/branches/historical-pic-firmware/README
blob: 35b0cd048caa29fd878405cb2bdeaa4695ebb696 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45


The build process will automatically download and build an appropriate
version of sdcc.  This will take a little while on the first build.

For this to work you will need access to /usr/tmp; on some systems this may
not exist.  As the superuser:

  $ cd /usr
  $ ln -s /tmp

to create a symbolic link from /usr/tmp to the /tmp directory.


A default build (ie make) will build all devices and tools for the pic16f628

The output is put into the build subdirectory.  A subdirectory will
be created for each output architecture and within that a directory
for each device.


Build options:
PROCESSOR
  Build for a different processor

  eg
  > PROCESSOR=16f627 make

  This will build for the 16f627 rather than the default 16f628

DEVICES
  Build only specific devices

  eg
  > DEVICES=stepmotor make

  This will only build the stepmotor device (no other devices or tools)

Other examples

  > PROCESSOR=16f627 DEVICES=stepmotor make && PROCESSOR=16f628 DEVICES=stepmotorb make

  This will build one controller for the 16f627 and the other for
  a 16f628