66 Commits
Author SHA1 Message Date
Gedare Bloom 57ea3fe79f testsuites/samples: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Joel Sherrill 744c4791c5 testsuites/samples/*: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings.
    Found with GCC's warning -Wunused-paramter.
2025-10-08 16:48:32 +00:00
Sebastian Huber 120c857ea1 minimum: Do not use unified work areas
The CONFIGURE_UNIFIED_WORK_AREAS option pulls in a system initialization
handler which initializes the unified heap.

Close #4108.
2022-09-08 16:14:56 +02:00
Sebastian Huber da8b234261 samples/minimum: Prevent a stack overflow
Prevent a stack overflow if RTEMS_COVERAGE is enabled.
2022-07-04 08:30:40 +02:00
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
Sebastian Huber 3cec2dfbc4 config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into
CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.

Update #3753.
2019-12-19 08:53:03 +01:00
Sebastian Huber 65f52d0060 samples/minimum: Use default interrupt stack size
Update #3433.
2018-07-25 11:26:26 +02: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 53b6484d38 termios: Remove obsolete configuration options
Update #2843.
2018-02-05 09:57:45 +01:00
Sebastian Huber ccd54344d9 score: Introduce Thread_Entry_information
This avoids potential dead code in _Thread_Handler().  It gets rid of
the dangerous function pointer casts.

Update #2514.
2016-01-11 08:47:01 +01:00
Joel Sherrill d05d31ff41 samples/minimum/init.c: Add cast to avoid warning 2015-03-24 08:17:00 -05:00
Joel Sherrill 0e6f915c8e testsuites/samples/minimum/init.c: Notepads no longer need to be disabled
They are disabled by default as they are deprecated.
2015-03-17 10:05:04 -05:00
Chris Johns c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber a052181ca2 score: Add RTEMS_FATAL_SOURCE_EXIT
Include <bsp/default-initial-extension.h> in all BSPs.  Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup().  Move previous
bsp_cleanup() code into bsp_fatal_extension().
2012-11-15 15:33:12 +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
Sebastian Huber 3ac6eb90c5 2010-07-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* minimum/init.c: Use fatal error extension to prevent infinite
	runtime.
2010-07-07 09:26:05 +00:00
Ralf Corsepius b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Ralf Corsepius 8a990c7fc1 Remove unused var. 2009-10-24 05:51:21 +00:00
Ralf Corsepius 3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill 1117465116 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c, unlimited/system.h: Add support for optionally having
	a unified work area. In other words, the RTEMS Workspace and C
	Program Heap are the same pool of memory.
2008-09-17 18:38:57 +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 42b1fe6ed7 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Disable confdefs.h debug.
2008-06-17 21:10:25 +00:00
Joel Sherrill bbfe59b4fd 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* iostream/system.h: Init task was close to blowing stack on PowerPC.
	* minimum/init.c: Disable Classic API Notepads.
2008-06-17 18:50:30 +00:00
Joel Sherrill f02ada817b 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Add CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
	CONFIGURE_MAXIMUM_PRIORITY. Workspace usage now reduces to 4696 bytes
	on psim.
2008-06-13 22:13:44 +00:00
Joel Sherrill 2156876d0e 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Exerise new ability for application to configure
	minimum stack size. This test still runs the same with a 7.5K stack
	on the powerpc but reserves 15K less Workspace on the PowerPC.
2008-06-13 15:08:40 +00:00
Joel Sherrill 5fe0640223 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am: Link against all managers.
	* minimum/init.c: Use existing confdefs.h macros to turn off more
	this test does not use.
2008-06-05 14:21:38 +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 6b6c06be2c 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am, minimum/init.c: Switch back to using optional
	manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY
	to demonstrate that the newlib reentrancy support is optional.
2007-05-09 18:55:12 +00:00
Joel Sherrill 2dae3244c7 2007-03-26 Joel Sherrill <joel@OARcorp.com>
PR 1230/tests
	* minimum/init.c: Minimum should not configure console driver.
2007-03-26 22:19:59 +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 3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +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