Commit Graph

29969 Commits

Author SHA1 Message Date
Sebastian Huber
ade135d455 JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTION
Add IO control to force a garbage collection.

Update #2844.
2016-12-20 08:26:25 +01:00
Sebastian Huber
07c833f8f9 JFFS2: Add RTEMS_JFFS2_GET_INFO
Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem
instance information.

Update #2844.
2016-12-20 08:26:21 +01:00
Sebastian Huber
4aba8d7986 bsp/atsam: Use standard XDMA for QSPI support 2016-12-16 13:05:57 +01:00
Sebastian Huber
08f1d2f79b bsp/atsam: Add SC16IS752 support 2016-12-16 11:26:54 +01:00
Alexander Krutwig
9edc73013b dev: Add NXP SC16IS752 serial device driver
Update #2841.
2016-12-16 11:26:50 +01:00
Alexander Krutwig
e34fe384cb termios: Add TERMIOS_IRQ_SERVER_DRIVEN
Add a new interrupt server driven Termios mode (TERMIOS_IRQ_DRIVEN).
This mode is identical to the interrupt driven mode except that a mutex
is used for device level locking. The intended use case for this mode
are device drivers that use the interrupt server, e.g. SPI or I2C
connected devices.

Update #2839.
2016-12-16 09:04:58 +01:00
Sebastian Huber
c3764ce805 termios: Use mutex for task driven mode
Termios has a task driven mode (TERMIOS_TASK_DRIVEN). This mode aims to
avoid long sections with disabled interrupts. This is only partly
implemented since the device level state is still protected by disabled
interrupts. Use a mutex to protect the device level state in task driven
mode to fix this issue.

Update #2838.
2016-12-16 09:04:58 +01:00
Sebastian Huber
a5c56afa35 bsp/atsam: Move interrupt setup to PIO_Configure() 2016-12-16 09:04:58 +01:00
Sebastian Huber
a4936b59cb bsp/atsam: System initialization for PIO IRQs 2016-12-16 09:04:57 +01:00
Sebastian Huber
8eb5fbb64c bsp/atsamv: Move XDMAD instance out of SPI driver
Use system initialization for XDMAD.  Remove support for polling.
2016-12-16 09:04:57 +01:00
Sebastian Huber
d1c771cc8b bsp/atsam: Move XDMA IRQ handler to XDMA module
The XDMA is shared by all DMA capable modules.  Placing the XDMA
interrupt handler into the SPI module is wrong.
2016-12-15 11:05:09 +01:00
Sebastian Huber
cb592763d3 bsp/atsam: Use _Assert() instead of assert() 2016-12-15 11:05:08 +01:00
Sebastian Huber
fd12159a11 bsp/atsam: Use inline functions for XDMA access 2016-12-15 11:05:05 +01:00
Sebastian Huber
8dd83d39b4 bsp/atsam: Optimize SPI interrupt 2016-12-14 13:09:30 +01:00
Sebastian Huber
9686c6140f bsp/atsam: Simplify SPI transfer status 2016-12-14 13:09:30 +01:00
Sebastian Huber
de7c17192a bsp/atsam: Reduce context switches for SPI transf 2016-12-14 13:09:30 +01:00
Sebastian Huber
b52513b3a4 bsp/atsam: Optimize SPI DMA transfer setup 2016-12-14 13:09:29 +01:00
Sebastian Huber
f104bd342f bsp/atsam: Simplify SPI DMA transfer setup 2016-12-14 13:09:29 +01:00
Sebastian Huber
49b6931842 bsp/atsam: Simplify SPI DMA initialization 2016-12-14 13:09:29 +01:00
Sebastian Huber
d0452eb965 bsp/atsam: Simplify SPI interrupt handler 2016-12-14 13:09:29 +01:00
Sebastian Huber
c78928fcac bsp/atsam: Remove superfluous irq field 2016-12-14 13:09:29 +01:00
Sebastian Huber
9035630f00 bsp/atsam: Remove duplicate SPI register field 2016-12-14 13:09:28 +01:00
Sebastian Huber
62e1e0ff03 bsp/atsam: Simplify SPI initialization 2016-12-14 13:09:28 +01:00
Sebastian Huber
3afa95bae0 bsp/atsam: Hide details of SPI driver 2016-12-14 13:09:28 +01:00
Sebastian Huber
1505eca59c bsp/atsam: Align SPI API with PIO_Configure() 2016-12-14 13:09:28 +01:00
Sebastian Huber
5dd02e9569 bsp/atsam: Avoid to power on/off the SPI module 2016-12-14 13:09:27 +01:00
Sebastian Huber
f74e2959de bsp/atsam: Speed up SPI DMA transfer start 2016-12-14 13:09:27 +01:00
Sebastian Huber
0396f60e59 bsp/atsam: Optimize transfer setup checks 2016-12-14 13:09:27 +01:00
Sebastian Huber
3417070dc9 bsp/atsam: No timeout for SPI DMA transfers 2016-12-14 13:09:27 +01:00
Chris Johns
c6eead1353 libdl: Add C++ exception support to loaded modules.
This has been tested on SPARC, i386, PowerPC and ARM.

Closes #2767.
2016-12-14 09:07:16 +11:00
Christian Mauderer
fe7012a0d1 score: Prevent thread_dispatch_disable_level < 0. 2016-12-12 15:51:05 +01:00
Sebastian Huber
c69d6aa265 libblock: Fix for RTEMS_DEBUG 2016-12-12 15:49:59 +01:00
Sebastian Huber
e203b65e51 Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
a5ba08eb4f Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
af8ced5e2d libio: Ensure proper std file descriptors 2016-12-12 08:03:30 +01:00
Sebastian Huber
9622f7796f Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
8252968812 INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
3a659b0481 score: Introduce _Internal_error() 2016-12-12 08:03:29 +01:00
Sebastian Huber
0a81a58254 Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
279d5260c3 Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
6a9282d9bb Rename is_internal to always_set_to_false
Update #2825.
2016-12-12 08:03:14 +01:00
Sebastian Huber
b6606e8d99 score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error.  Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.

Update #2825.
2016-12-09 08:47:51 +01:00
Sebastian Huber
05006c9017 cdtest: Print proper begin/end of test messages 2016-12-09 08:26:47 +01:00
Chris Johns
8c637ee324 cdtest: Add std::runtime_error() test case
Update #2830.
2016-12-09 08:26:47 +01:00
Sebastian Huber
16bd9e0a9e sptimecounter02: Add plot script 2016-12-08 14:46:32 +01:00
Sebastian Huber
3672f9a202 sptimecounter02: Update screen file
Data obtained on QorIQ T4240 running with 1500MHz.
2016-12-08 14:46:12 +01:00
Sebastian Huber
ccda60bdb6 smplock01: Fix plot scripts 2016-12-07 11:22:00 +01:00
Chris Johns
28fda6279b testsuite: Add test states to the testsuit configuration files.
Change the testsuite configuration files to hold state information about
a test. The states are:

 exclude        - Do not build the test
 expected-fail  - The test is expected to fail
 indeterminate  - The test may pass or may fail

A message is printed just after the test's BEGIN message to indicate
there is a special state for the test. No state message means the test
is expected to pass.

This support requires tests are correctly written to the use standard
support to begin and end a test.
2016-12-07 17:22:41 +11:00
Sebastian Huber
4b579c5f51 score: Simplify linker set API
Resurrect RTEMS_LINKER_SET_BEGIN() and RTEMS_LINKER_SET_END().

Add new macros RTEMS_LINKER_SET_ITEM_COUNT(),
RTEMS_LINKER_SET_IS_EMPTY(), and
RTEMS_LINKER_SET_FOREACH().

Remove confusing RTEMS_LINKER_SET_ASSIGN_BEGIN() and
RTEMS_LINKER_SET_ASSIGN_END().

Fix RTEMS_LINKER_SET_SIZE() to return the size in characters as
specified by the documentation.

Update #2408.
Update #2790.
2016-12-06 11:37:20 +01:00
Sebastian Huber
38bc13f809 smplock01: Fix fairness plot script 2016-12-05 14:47:19 +01:00