Skip to content
This repository

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.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 arch_cortex
Octocat-spinner-32 arch_pic
Octocat-spinner-32 comp2010
Octocat-spinner-32 oeg
Octocat-spinner-32 skel
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 arch_check.h
Octocat-spinner-32 build.mk
Octocat-spinner-32 circ_buf.h
Octocat-spinner-32 compilers.h
Octocat-spinner-32 get_version
Octocat-spinner-32 hax.h
Octocat-spinner-32 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.