Commit Graph

65 Commits

Author SHA1 Message Date
Joel Sherrill
731607b3b3 samples/*/*.doc: Change license to BSD-2
Updates #3053.
2022-06-14 10:31:39 -05:00
Joel Sherrill
e71f09094f testsuites/samples: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Chris Johns
d027e6bb8e testsuite/samples: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Sebastian Huber
7b00c2fac5 tests: Use <tmacros.h> in all tests
Update #3170.
Update #3199.
2017-11-06 09:06:20 +01:00
Sebastian Huber
c4b8b147dd tests: Use simple console driver
Update #3170.
Update #3199.
2017-11-06 07:26:42 +01:00
Sebastian Huber
46ddc3c5da tests: Use rtems_print_printer_fprintf_putc()
Use rtems_print_printer_fprintf_putc() instead of
rtems_print_printer_printf() to output via rtems_putc().

Update #3170.
Update #3199.
2017-10-28 13:33:55 +02:00
Sebastian Huber
f703e7f5c7 tests: Move rtems_test_printer definition
Statically initialize it to use printk().

Update #3170.
Update #3199.
2017-10-28 13:33:55 +02:00
Sebastian Huber
07e178005a tests: Use floating point task
These tests directly or indirectly use fprintf(), etc. which may use the
floating point unit.

Update #3076.
2017-07-18 14:14:34 +02:00
Sebastian Huber
29770e122e tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
2016-09-19 07:22:30 +02:00
Sebastian Huber
506bfc8580 Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer
implementation.  In particular get rid of the <stdio.h> include which
would be visible via <rtems.h>.
2016-06-22 07:29:26 +02:00
Chris Johns
24d0ee57a4 cpukit, testsuite: Add rtems_printf and rtems_printer support.
This change adds rtems_printf and related functions and wraps the
RTEMS print plugin support into a user API. All references to the
plugin are removed and replaced with the rtems_printer interface.

Printk and related functions are made to return a valid number of
characters formatted and output.

The function attribute to check printf functions has been added
to rtems_printf and printk. No changes to remove warrnings are part
of this patch set.

The testsuite has been moved over to the rtems_printer. The testsuite
has a mix of rtems_printer access and direct print control via the
tmacros.h header file. The support for begink/endk has been removed
as it served no purpose and only confused the code base. The testsuite
has not been refactored to use rtems_printf. This is future work.
2016-05-25 15:47:34 +10:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
9391f6d663 tests/samples: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Joel Sherrill
5f0cd3499c samples - Eliminate missing prototype warnings 2012-05-31 10:06:16 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
4dec3529a1 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
cd06294a08 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, capture/Makefile.am, cdtest/Makefile.am,
	fileio/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, minimum/Makefile.am, nsecs/Makefile.am,
	paranoia/Makefile.am, pppd/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Remove obsolete optional manager capability.
2011-12-08 21:38:29 +00:00
Ralf Corsepius
e3135514a8 Add HAVE_CONFIG_H. 2011-02-22 10:58:44 +00:00
Joel Sherrill
2697272499 2009-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* hello/init.c: Remove call to devFS_Show() which had accidentally
	gotten committed.
2009-10-02 11:50:39 +00:00
Joel Sherrill
7173c43715 2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* hello/Makefile.am, hello/init.c: Simplify.
	* hello/system.h: Removed.
2009-08-26 13:22:58 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
e8fcadbc49 2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* hello/system.h, minimum/Makefile.am, minimum/init.c: Merge GSOC
	project code to add simple device only filesystem (devfs), optionally
	completely drop out filesystem, and to clean up disabling newlib
	reentrancy support. This dropped 17K from the minimum.exe for
	sparc/sis and arm/rtl22xx_t now has a 15K code space.
2008-09-17 15:42:48 +00:00
Joel Sherrill
a645637b72 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, hello/system.h, minimum/init.c, unlimited/system.h:
	Use CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:46:15 +00:00
Joel Sherrill
23452b5c97 2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* hello/init.c: Remove accidental commit.
2008-01-11 22:50:10 +00:00
Joel Sherrill
aec29f178c 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h, hello/init.c: Enable malloc
	statistics so shell output can be interesting.
2008-01-11 21:43:58 +00:00
Joel Sherrill
dd61160701 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* base_sp/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, nsecs/Makefile.am,
	pppd/Makefile.am, ticker/Makefile.am, ticker/system.h,
	unlimited/Makefile.am: Add optional managers to Makefiles. Clean up
	test cases so last output line follows END OF pattern. Make sure test
	case all run. All tests appeared ok on sis.
	* nsecs/init.c: Commit hack so test will compile when POSIX is
	disabled.  Remove hack when clock_gettime() is present even when
	--disable-posix.
2007-05-11 19:45:50 +00:00
Ralf Corsepius
d4f5ddcb85 Eliminate scndir, docdir. Use rtems_testsdir instead. 2006-07-11 04:54:10 +00:00
Ralf Corsepius
a6b588d649 Convert to using *_PROGRAMS. 2005-11-13 06:46:05 +00:00
Ralf Corsepius
3bb5d94490 Rework. 2005-11-11 14:33:33 +00:00
Ralf Corsepius
4024e57803 Cosmetics. 2005-11-11 10:26:50 +00:00
Ralf Corsepius
7e3887773a Eliminate TEST. 2005-11-11 09:03:24 +00:00
Ralf Corsepius
b669ec7ba5 Expand sample.am. 2005-11-11 07:36:47 +00:00
Ralf Corsepius
cb2818800d Eliminate DOCTYPES. 2005-11-10 22:21:20 +00:00
Ralf Corsepius
0ca5cba879 s/SAMPLE/TEST/ for improved consistency with other tests. 2005-11-10 14:52:28 +00:00
Ralf Corsepius
c4b6f76677 Remove SRCS, PRINT_SRCS. 2005-11-07 09:27:48 +00:00
Ralf Corsepius
d66557fac4 Switch back to include compile.am instead of amcompile.am 2005-11-07 09:09:26 +00:00
Ralf Corsepius
b98d0013c1 Partial conversion to automake. 2005-11-07 07:30:36 +00:00
Ralf Corsepius
c8fea7a402 * base_mp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* base_sp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* cdtest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* fileio/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* hello/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* loopback/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* minimum/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* paranoia/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* pppd/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* ticker/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* unlimited/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:16:23 +00:00
Ralf Corsepius
a00ee402bf 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
	Add PRE/TMPINSTALL_FILES to CLEANFILES.
	* base_mp/node2/Makefile.am: Ditto.
	* base_sp/Makefile.am: Ditto.
	* cdtest/Makefile.am: Ditto.
	* fileio/Makefile.am: Ditto.
	* hello/Makefile.am: Ditto.
	* loopback/Makefile.am: Ditto.
	* minimum/Makefile.am: Ditto.
	* paranoia/Makefile.am: Ditto.
	* pppd/Makefile.am: Ditto.
	* ticker/Makefile.am: Ditto.
	* unlimited/Makefile.am: Ditto.
2004-01-14 07:49:37 +00:00
Ralf Corsepius
9fa380ef52 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/Makefile.am: Reformat.
	* base_mp/node1/Makefile.am: Remove all-local: $(ARCH).
	* base_mp/node2/Makefile.am: Remove all-local: $(ARCH).
	* base_sp/Makefile.am: Remove all-local: $(ARCH).
	* cdtest/Makefile.am: Remove all-local: $(ARCH).
	* fileio/Makefile.am: Remove all-local: $(ARCH).
	* hello/Makefile.am: Remove all-local: $(ARCH).
	* loopback/Makefile.am: Remove all-local: $(ARCH).
	* minimum/Makefile.am: Remove all-local: $(ARCH).
	* paranoia/Makefile.am: Remove all-local: $(ARCH).
	* pppd/Makefile.am: Remove all-local: $(ARCH).
	* ticker/Makefile.am: Remove all-local: $(ARCH).
	* unlimited/Makefile.am: Remove all-local: $(ARCH).
2003-12-01 21:21:38 +00:00
Joel Sherrill
3e26377bba 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* README, base_mp/apptask.c, base_mp/init.c, base_mp/system.h,
	base_mp/node1/base_mp.doc, base_mp/node2/base_mp.doc,
	base_sp/apptask.c, base_sp/base_sp.doc, base_sp/init.c,
	base_sp/system.h, cdtest/init.c, cdtest/main.cc, cdtest/system.h,
	fileio/fileio.doc, fileio/init.c, fileio/system.h, hello/hello.doc,
	hello/init.c, hello/system.h, minimum/init.c, minimum/minimum.doc,
	paranoia/init.c, paranoia/paranoia.doc, paranoia/system.h,
	ticker/init.c, ticker/system.h, ticker/tasks.c, ticker/ticker.doc,
	unlimited/init.c, unlimited/system.h, unlimited/test1.c,
	unlimited/test2.c, unlimited/test3.c, unlimited/unlimited.doc: URL
	for license changed.
2003-09-04 18:53:41 +00:00
Ralf Corsepius
ebb7d37156 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	base_mp/Makefile.am: Reflect having moved automake.
	base_mp/node1/Makefile.am: Reflect having moved automake.
	base_mp/node2/Makefile.am: Reflect having moved automake.
	base_sp/Makefile.am: Reflect having moved automake.
	cdtest/Makefile.am: Reflect having moved automake.
	fileio/Makefile.am: Reflect having moved automake.
	hello/Makefile.am: Reflect having moved automake.
	loopback/Makefile.am: Reflect having moved automake.
	minimum/Makefile.am: Reflect having moved automake.
	paranoia/Makefile.am: Reflect having moved automake.
	pppd/Makefile.am: Reflect having moved automake.
	ticker/Makefile.am: Reflect having moved automake.
	unlimited/Makefile.am: Reflect having moved automake.
2003-08-16 16:27:32 +00:00
Ralf Corsepius
fef95c563b 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* base_mp/node2/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* base_sp/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* cdtest/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* hello/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* minimum/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* paranoia/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* ticker/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* unlimited/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-11 05:18:59 +00:00
Joel Sherrill
d25d17b282 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_sp/apptask.c: Include <stdlib.h>.
	* hello/init.c: Ditto.
	* paranoia/init.c: Ditto.
	* ticker/tasks.c: Ditto.
	* unlimited/init.c: Ditto.
	* unlimited/test1.c: Ditto.
	* unlimited/test2.c: Ditto.
	* unlimited/test3.c: Ditto.
2002-04-17 14:01:40 +00:00
Joel Sherrill
0e9a637c2b 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* base_mp/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_mp/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_mp/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_sp/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* cdtest/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* hello/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* minimum/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* paranoia/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ticker/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* unlimited/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:22 +00:00
Joel Sherrill
15c4b4c561 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* unlimited/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_mp/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_mp/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* hello/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_sp/Makefile.am: include leaf.am instead of leaf.cfg.
	* paranoia/Makefile.am: include leaf.am instead of leaf.cfg.
	* cdtest/Makefile.am: include leaf.am instead of leaf.cfg, use
	make-cxx-exe.
	* ticker/Makefile.am: include leaf.am instead of leaf.cfg.
	* minimum/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:21:22 +00:00
Joel Sherrill
6212465d03 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, cdtest/Makefile.am, hello/Makefile.am,
	minimum/Makefile.am, paranoia/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Include compile.am
2000-09-05 16:11:24 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00