Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Hardware Abstraction for VEX is a C hardware abstraction layer for the VEX Robotics PIC18 and ARM Cortex M3 micrcontrollers. See the Wiki for a more detailed overview and for a guide to get started.
C Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
arch_cortex
arch_pic
comp2010
oeg
skel
test
.gitignore
README.md
arch_check.h
build.mk
circ_buf.h
compilers.h
get_version
hax.h
prog_check.h

README.md

HAX

Getting Started

  1. Things you need

    • Some type of POSIX-y environment, we developed this using Cygwin (on Windows), MacOSX, and Linux.
    • A build environment.
  2. Look at the 'skel' directory and the (forthcoming) 'test' directory to get an idea of how the functions work, etc. Files containing code specific to a particular architecture are placed in folder prefixed by arch_ followed by the arch name (presently, 'pic' or 'cortex').

  3. For everything hax defines, look at 'hax.h'.

  4. To build some user code, cd to a user program directory (for example, 'skel') and type make.

Other Stuff

Included User Code

  • 'comp2010' is code for both RU Vex 2010
  • 'skel' shows the minimal amount of implimentation neccisarry.
  • 'test' is the code we are using to test HAX

Archs

  • 'arch_pic' is the IFI setup of a pair of 18F8520 processors, one of which we have easy access to.
  • 'arch_cortex' is the new Vex 2.0 processor released as a beta test to college teams in 2010. Also the excuse for this entire project.

Unimplemented or Untested Features

  • A generic timer/rtc API
Something went wrong with that request. Please try again.