Skip to content

danaolcott/PIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

PIC

The purpose of this repository is to present small programs for Microchip PIC-series 8-bit processors. The programs demonstrate the use of various peripherals such as gpio, timer, interrupts, etc. All programs are compiled using the Small Device C Compiler.

Notes:

  • Compiled using Small Device C Compiler using snapshot build version sdcc-snapshot-amd64-unknown-linux2.5-20171224-10186.tar.bz2
  • In addition to installing SDCC, install the following packages: libc6-pic and gputils.
  • Build .hex file using build.sh script located in the program folder.

Processors:

  • Initially, I tried to get this to work for the 10f322. Was able to generate the .asm code, but the linker failed everytime. It appears to be a problem in pic10f322.lib, so I stopped. You can test which processors it works for using the gputils/lib, there is a test build script. It tries to compile against every processor in the list. Note: The 10f322 failed in this test. The 16f690 was ok, so moved on with that one.

Programming:

About

Small Programs for the PIC Processor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published