diff options
| author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-20 06:30:25 +0000 | 
|---|---|---|
| committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-20 06:30:25 +0000 | 
| commit | fb616e61013b58eaf5973db0ceefd14ef49d9b50 (patch) | |
| tree | ff1c01183c9d0ba46499f48fef53e3a55400ca78 /docs/src | |
| parent | 8b4030cdc9edbdcb9948893387b713b2cb4311c7 (diff) | |
| download | ChibiOS-fb616e61013b58eaf5973db0ceefd14ef49d9b50.tar.gz ChibiOS-fb616e61013b58eaf5973db0ceefd14ef49d9b50.tar.bz2 ChibiOS-fb616e61013b58eaf5973db0ceefd14ef49d9b50.zip  | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1172 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/portguide.dox | 23 | 
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/src/portguide.dox b/docs/src/portguide.dox index 14a3c2eca..fe5870732 100644 --- a/docs/src/portguide.dox +++ b/docs/src/portguide.dox @@ -75,16 +75,21 @@   * core (a common example: ARM7) of a supported microcontroller but has
   * differences in the internal peripherals.<br>
   * If this is your case proceed as follow:
 - * -# Create a new directory under @p ./ports and name it as follow:
 - *    <code><i>@<arch@></i>-<i>@<chip@></i>[-<i>@<compiler@></i>]</code>
 - *    The compiler part can be omitted if the port uses GCC (our default).
 - *    Examples: @p ARM7-LPC236x or @p ARMCM3-STM32F103-IAR
 + * -# Create a new directory under @p <code>./os/io/platforms</code> and
 + *    name it with the microcontroller name (or family name).<br>
 + *    In case of the ARM-based microcontroller you also need to create a
 + *    equally named directory under
 + *    @p <code>./os/ports/<i>@<compiler@></i>/<i>@<arch@></i></code> and
 + *    put there the microcontroller related files such as the vectors table,
 + *    see the existing ports as example.
   * -# Copy into the newly created directory the most closely related existing
 - *    chip port.
 - * -# Rename the files in order to reflect the name of the new chip.
 - * -# Work out the differences in the drivers.
 - * -# Edit the documentation file @p port.dox, this is required if you want
 - *    to regenerate this documentation including your work.
 + *    chip port or the naked template files from
 + *    @p <code>./os/io/templates</code>.
 + * -# Work out the differences in the drivers or implement them if you started
 + *    from the templates.
 + * -# Edit/create the documentation file @p <code>platform.dox</code>, this
 + *    is required if you want to regenerate this documentation including
 + *    your work.
   * .
   * Usually this kind of port just requires a serial driver (and those are very
   * similar each other) and some code for the interrupt controller (this one
  | 
