58 Commits

Author SHA1 Message Date
Christian Mauderer
171bbe096f shell: Document i2c and spi commands. 2020-12-14 10:48:19 +01:00
Martin Erik Werner
2e711f2b4b Address several issues from compiling examples
Compiling the code from examples "code-block:: c" along with public
includes and a bsp exposed a few issues amongst a lot of false
positives. Address some of these:

* Terminate struct declarations with ';'. Mainly for pedantic
  correctness.

* Show ptrdiff_t instead of size_t for the sbrk() prototype, matching
  the current argument type in rtems.

* Replace some occurrences of unsigned16 with uint16_t.

* Fix odd type declaration, "uint8_t char*" -> "char*".

* Use appropriate helper to get chain head instead of invalid access to
  nonexistent struct member.

* Remove several excess '\' escapes.

* Use RTEMS_SELF instead of undefined SELF.

* Use rtems_task instead of void for task functions.

* Add missing stack size parameter in task creation.

* Use rtems_interrupt_level instead of undefined rtems_interrupt.

* Correct return value format for rtems_object_id_get_api()
  rtems_object_id_get_index() (enum and uint16_t) and also fix
  corresponding print formatting.

* Correct return value documentation for rtems_object_id_get_class(),
  rtems_object_id_get_node() and rtems_object_id_get_index()
  int -> uint32_t.

* Use RTEMS_SUCCESSFUL instead of undefined RTEMS_STATUS_SUCCESSFUL and
  fix return value variable name in rate monotonic examples.

* Use RTEMS_TIMEOUT instead of undefined TIMEOUT and RTEMS_PERIOD_STATUS
  instead of undefined STATUS.

* Add missing fields to ftpd configuration.

* Correct parameter types in ftpd hook prototype,
  unsigned char * -> void *.

* Fix various code-block:: attributes, c -> makefile and c -> shell.

* Add missing parenthesis in socket buffer memory calculation example.

* Remove typedef in declaration of mq_attr since it is defiend without
  typedef in reality.

* Update siginfo_t declaration to match current reality.

* Update shell user command definition example to include mode, uid and
  gid.
2019-09-03 09:48:35 +10:00
Chris Johns
cf0c79ac22 shell: Add CONFIGURE_MAXIMUM_POSIX_KEYS entry. 2019-06-11 21:42:06 +10:00
Chris Johns
9ec0107573 shell/dl: Add dynamic loader commands 2019-03-21 13:25:28 +11:00
Chris Johns
fb72a002a3 Add unicode support for commonly used characters like copyright.
- This change makes the copyright character easier to see on editors
  lacking good unicode rendering support, ie terminals.
2019-02-28 10:22:54 +11:00
Chris Johns
f7384cc2e2 Use pathto() on the genindex URL to make it relative. 2019-02-15 09:40:50 +11:00
Chris Johns
5d8b0ddd0a waf: Remove as many sys path hacks as we can.
There are still sys.path hacks in the conf.py files. They cannot
be removed because the instance of python running the sphinx-build
command does not see our top level path hacks. I looked at using
PYTHONPATH but I could not figure out how to set a process environ
var for a waf build instance.
2019-02-13 10:18:43 +11:00
Sebastian Huber
6f110ccf6b build: Prepend project common path
This avoids conflicts with standard packages such as PIL (Python Imaging
Library).
2019-02-08 09:43:16 +01:00
Sebastian Huber
b5014fe0c8 Reformat and update copyright and license notices
For everything before 2015 an OAR copyright is assumed.  Later copyright
notices are based on Git commits on a best effort basis.

The copyright notices of the "RTEMS Software Engineering Handbook" and
the "RTEMS CPU Architecture Supplement" are incomplete.
2019-01-14 07:15:27 +01:00
Sebastian Huber
e52906b556 Simplify SPDX-License-Identifier comment 2019-01-11 07:22:01 +01:00
Sebastian Huber
12dccfe716 Remove superfluous "All rights reserved." 2019-01-11 07:18:56 +01:00
Sebastian Huber
4886d60aa8 Use standard format for copyright lines 2019-01-11 07:18:16 +01:00
Sebastian Huber
50fbe0d9b4 Add common header.rst to reduce copy and paste 2019-01-09 09:24:02 +01:00
Chris Johns
969e60e596 Update the copyright year. 2018-10-19 14:42:12 +11:00
Chris Johns
5ce8e43506 build: Fix indexing so it works on HTML and PDF.
- Remove all genindex.rst files, these are generated and should not
  exist in our source.
- Fix the HTML templates so the local specialisation works.
- Add a index link to the sidebar for HTML.

Note, there is no TOC entry for the index in the PDF output and I
cannot figure out how to add one.

Closes #3503
2018-08-21 13:47:40 +10:00
Chris Johns
42d50d760e Add indexes to all documents.
Update #3229.
2017-11-12 10:32:39 +11:00
Chris Johns
efc29ff31b Update copyright notices. 2017-08-11 13:45:52 +10:00
Sebastian Huber
4e85468773 shell: Update task command 2017-06-16 06:19:16 +02:00
Chris Johns
ad5d63277c waf: Cleaner formatting to see the importing. 2017-03-27 10:25:25 +11:00
Chris Johns
f97be09daf Use a single top level version number. 2017-03-20 12:18:53 +11:00
Sebastian Huber
fad46ff9d0 shell: Update task command
Update #2858.
2017-02-14 11:14:30 +01:00
Sebastian Huber
e6cb6b7906 shell: Update task command
Update #2858.
2017-01-31 10:33:14 +01:00
Sebastian Huber
8363c3d653 shell: Update cpuuse and stackuse sample output 2017-01-13 08:54:10 +01:00
Joel Sherrill
7193f09294 Update document titles for consistency 2017-01-11 19:01:20 -06:00
Sebastian Huber
45dc7c7ba5 Update version/revision to 4.11.99 2016-12-21 11:32:51 +01:00
Sebastian Huber
f5170100f1 Document CPUINFO
Close #2723.
2016-12-19 15:06:37 +01:00
Chris Johns
f15d60704f shell: Fix header levels. 2016-11-09 11:50:31 +11:00
Chris Johns
bf61a8b14e shell: Update commands to use descriptions. 2016-11-08 21:33:20 +11:00
Chris Johns
23a5ce4498 Remove the old files. 2016-10-29 05:09:35 +11:00
Chris Johns
2592441410 shell: Fix code-block warnings. 2016-10-29 04:56:11 +11:00
Joel Sherrill
36def9125c rtems-docs: Fix many unnecessary back slashes 2016-10-27 19:47:07 -05:00
Joel Sherrill
690643aa6c Merge branch 'master' of ssh://dispatch.rtems.org/data/git/rtems-docs 2016-10-27 19:19:27 -05:00
Joel Sherrill
a1c7180773 Misc: Capitalize RTEMS. 2016-10-27 19:19:00 -05:00
Joel Sherrill
b8a76545d6 shell/file_and_directory.rst: Correct mkdos command. 2016-10-27 19:13:31 -05:00
Chris Johns
489740f6a9 Set SPDX License Identifier in each source file. 2016-05-20 12:47:09 +10:00
Chris Johns
e9c2b7acbb Update version numbers and the titles. 2016-05-02 20:51:26 -04:00
Chris Johns
238bf991f2 Update the shell user's guide top level. 2016-05-02 20:51:26 -04:00
Chris Johns
e5afcaa038 Add OAR copyright to each file. 2016-05-02 20:51:25 -04:00
Chris Johns
35bcd00783 Clean up. 2016-05-02 20:51:25 -04:00
Chris Johns
bcfdcef840 Clean up. 2016-05-02 20:51:25 -04:00
Chris Johns
fabe6d020f Clean up the memory commands. 2016-05-02 20:51:25 -04:00
Chris Johns
df773360c9 Add links from the command list to the commands. 2016-05-02 20:51:25 -04:00
Amar Takhar
ed3794ea39 Add 'waf linkcheck' to check external references. 2016-05-02 20:51:25 -04:00
Amar Takhar
9b5801a6e6 Add PDF generation support use with --pdf 2016-05-02 20:51:24 -04:00
Amar Takhar
b99044088c Add missed conf.py.
No idea how this happened.
2016-05-02 20:51:24 -04:00
Chris Johns
4f81ff1700 Clean up of file and directory commands. 2016-05-02 20:51:24 -04:00
Amar Takhar
f916fcaaae Add support for spellchecking with a custom dictionary.
To use:

  1. Install aspell
  2. waf spell <list of files>
     * waf spell mydoc.rst
     * waf spell *.rst

This uses a custom dictionary stored in common/spell/dict/.  We should add all
RTEMS and programming terms to this to ensure we are consistent.

Amar.
2016-05-02 20:51:24 -04:00
Amar Takhar
d389819eea Convert all Unicode to ASCII(128) 2016-05-02 20:51:24 -04:00
Amar Takhar
3a717592a9 Rework how conf.py is handled.
Needed to switch due to increasing complexity.
2016-05-02 20:51:24 -04:00
Chris Johns
a6b837e9b5 Clean up of general commands. 2016-05-02 20:51:23 -04:00