You can download two versions of OBC. obc.zip
contains the h and c source files needed for developing and compiling OBC based
C programs.
obcSdk.zip contains the content of obc.zip,
the unit tests for obc, a small library, a demo project and this documentation.
After downloading obc.zip, unzip it and copy the files in /obc to your source directory. The simplest way to use OBC is to include all *.c files in your build. But if you only want to use certain features you can select the files as indicated:
| Header | Implementation | Dependencies | Functionality |
|---|---|---|---|
| heap.h | heap.c | - | heap wrapper |
| log.h | log.c | - | logging |
| test.h | test.c | - | unit testing |
| def.h | - | - | useful definitions (boolean, String) |
| obj.h | obj.c | - | virtual methods |
| objI.h | objI.c | obj.h, obj.c | object default methods |
| obc.h | obc.c | all above | exports all functionality |
Download and unzip the sdk. It contains 4 directories.
The Makefile to build the demo project is configured to use gcc. If you use another compiler, please adapt it to your needs. To start the docu, click on /obcdoc/index.htm .