Put port-specific test configuration in atomport-tests.h. Rename atomuser.h to atomport.h. Non-exported port header renamed to atomport-private.h.

This commit is contained in:
Kelvin Lawson
2010-02-01 22:49:04 +00:00
parent 248e1318fb
commit f023bf26de
27 changed files with 126 additions and 101 deletions

View File

@@ -33,22 +33,9 @@
/* Include Atomthreads kernel API */
#include "atom.h"
/* Prerequisite include for ATOMLOG() macro (via printf) */
#include <stdio.h>
/* Include port-specific test configuration */
#include "atomport-tests.h"
/* Logger macro for viewing test results */
#define ATOMLOG printf_P
/*
* String location macro: for platforms which need to place strings in
* alternative locations, e.g. on avr-gcc strings can be placed in
* program space, saving SRAM. On most platforms this can expand to
* empty.
*/
#define _STR(x) PSTR(x)
/* Default thread stack size (in bytes) */
#define TEST_THREAD_STACK_SIZE 128
/* Default thread priority */
#define TEST_THREAD_PRIO 16

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Number of queue entries */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test queue size */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */

View File

@@ -31,7 +31,6 @@
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"
#include "atomuser.h"
/* Test OS objects */