Next: 4.5.1 PIC Code Pages Up: 4. Notes on supported Previous: 4.4 The HC08 port Contents Index

# 4.5 The PIC14 port

The PIC14 port adds support for Microchip(TM)'s 14bit PIC MCUs. This port is not yet mature and still lacks many features. However, it can work for simple code.

Currently supported devices include:

12F: 629, 635, 675, 683

16C: 432, 433

16C: 554, 557, 558

16C: 62, 620, 620a, 621, 621a, 622, 622a, 63a, 65b

16C: 71, 710, 711, 715, 717, 72, 73b, 745, 74b, 765, 770, 771, 773, 774, 781, 782

16C: 925, 926

16F: 627, 627a, 628, 628a, 630, 636, 639, 648a, 676, 684, 685, 687, 688, 689, 690

16F: 716, 72, 73, 737, 74, 76, 767, 77, 777, 785

16F: 818, 819, 84, 84a, 87, 870, 871, 872, 873, 873a, 874, 874a, 876, 876a, 877, 877a, 88

16F: 913, 914, 916, 917

An up-to-date list of currently supported devices can be obtained via `sdcc -mpic14 -phelp foo.c` (foo.c must exist...).

Subsections

- 4.5.1 PIC Code Pages and Memory Banks
- 4.5.2 Adding New Devices to the Port
- 4.5.3 Interrupt Code
- 4.5.4 Linking and Assembling
- 4.5.5 Command-Line Options
- 4.5.6 Environment Variables
- 4.5.7 The Library
  - 4.5.7.1 error: missing definition for symbol ''__gptrget1''
  - 4.5.7.2 Processor mismatch in file ''XXX''.
- 4.5.8 Known Bugs
  - 4.5.8.1 Function arguments
  - 4.5.8.2 Regression tests fail