summaryrefslogtreecommitdiff
path: root/nuttx/configs/pjrc-8051/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-23 02:24:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-23 02:24:38 +0000
commit4343c3bdcd0b366f31cf0f17eef01c1f3d1f9c62 (patch)
treefebec22088721155db384fd5d24306221e069ec3 /nuttx/configs/pjrc-8051/README.txt
parent91451bb1709c1d79fd000e927ee13aace1ca5104 (diff)
downloadpx4-nuttx-4343c3bdcd0b366f31cf0f17eef01c1f3d1f9c62.tar.gz
px4-nuttx-4343c3bdcd0b366f31cf0f17eef01c1f3d1f9c62.tar.bz2
px4-nuttx-4343c3bdcd0b366f31cf0f17eef01c1f3d1f9c62.zip
Initial Release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@125 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pjrc-8051/README.txt')
-rw-r--r--nuttx/configs/pjrc-8051/README.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/nuttx/configs/pjrc-8051/README.txt b/nuttx/configs/pjrc-8051/README.txt
new file mode 100644
index 000000000..dae92b59b
--- /dev/null
+++ b/nuttx/configs/pjrc-8051/README.txt
@@ -0,0 +1,37 @@
+pjrc-8051 README
+^^^^^^^^^^^^^^^^
+
+This port uses the PJRC 87C52 development system and the SDCC toolchain.
+
+The PJRC 87C52 development system can be obtained from http://www.pjrc.com/.
+
+The SDCC toolchain is available from http://sdcc.sourceforge.net/. All
+testing has been performed using verison 2.6.0 of the SDDC toolchain.
+
+Building the SDCC toolchain
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The SDCC toolchain is built with the standard configure/make/make install
+sequence. However, some special actions are required to generate libraries
+compatible with this build. First start with the usual steps
+
+ download
+ unpack
+ cd sdcc
+ ./configure
+ make
+
+But before installing, we need to apply a patch to the SDCC 2.6.0 source.
+WARNING: This patch is specific to the particular combination of CFLAGS
+that are used in the compilation. If you change Make.defs, then you will
+likely have to change the patch as well.
+
+ Apply sdcc-2.6.0.patch
+ cd sdcc/device/lib
+ make model-mcs51-stack-auto
+
+Then
+
+ cd sdcc
+ make install
+