From fb616e61013b58eaf5973db0ceefd14ef49d9b50 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 20 Sep 2009 06:30:25 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1172 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- docs/src/portguide.dox | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'docs/src') 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.
* If this is your case proceed as follow: - * -# Create a new directory under @p ./ports and name it as follow: - * @-@[-@] - * 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 ./os/io/platforms and + * name it with the microcontroller name (or family name).
+ * In case of the ARM-based microcontroller you also need to create a + * equally named directory under + * @p ./os/ports/@/@ 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 ./os/io/templates. + * -# Work out the differences in the drivers or implement them if you started + * from the templates. + * -# Edit/create the documentation file @p platform.dox, 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 -- cgit v1.2.3