2019-01-16 20:37:10 +01:00
2018-05-13 21:54:29 +02:00
2019-01-09 14:13:08 +01:00
2019-01-16 20:37:10 +01:00
2019-01-06 16:09:27 +01:00
2019-01-03 20:52:10 +01:00

A Mongoose OS I2C Mock

Files in this repository are a Linux I2C implementation of the Mongoose OS I2C interface.

Howto

Register tests in tests/*.[ch] and they will be compiled in. Each test must have functions uniquely named:

bool test_*_create();
bool test_*_run();
bool test_*_destroy();

And static variables named:

uint32_t test_*_period_ms = 1000;
bool test_*_enabled = true;

Running make will then generate the test skeleton, recursively compile all sources found in src/, tests/, and libs/, and for each, call the create() function, then the run() function each period_ms milliseconds, and upon exiting, call each destroy() function and clean up.

Description
No description provided
Readme 18 MiB
Languages
C 91.1%
Shell 5.6%
Makefile 3.3%