summaryrefslogtreecommitdiff
path: root/nuttx/configs/z16f2800100zcog
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-26 14:35:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-26 14:35:25 +0000
commit84c38efeff157aac42105ccf709a604af75bf9ec (patch)
tree318232aeb96cd306ae866fff3882e4a069acc118 /nuttx/configs/z16f2800100zcog
parenteb243ffb65d42ef0426e0ae75ef8f52b8adf2468 (diff)
downloadpx4-nuttx-84c38efeff157aac42105ccf709a604af75bf9ec.tar.gz
px4-nuttx-84c38efeff157aac42105ccf709a604af75bf9ec.tar.bz2
px4-nuttx-84c38efeff157aac42105ccf709a604af75bf9ec.zip
Fix a16f serial bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@568 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r--nuttx/configs/z16f2800100zcog/README.txt3
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/defconfig4
-rwxr-xr-xnuttx/configs/z16f2800100zcog/ostest/ostest.linkcmd5
3 files changed, 7 insertions, 5 deletions
diff --git a/nuttx/configs/z16f2800100zcog/README.txt b/nuttx/configs/z16f2800100zcog/README.txt
index 1b198a1dc..7231ebfa4 100644
--- a/nuttx/configs/z16f2800100zcog/README.txt
+++ b/nuttx/configs/z16f2800100zcog/README.txt
@@ -11,7 +11,8 @@ from the Zilog website: http://www.zilog.com/software/zds2.asp
Thusfar, I have encountered no insolvable problems with the newer 4.11.0
version of the toolchain.
-If you use any version of ZDS-II other than 4.11.0, you will have to modify
+If you use any version of ZDS-II other than 4.11.0 or if you install ZDS-II
+at anly location other than the default location, you will have to modify
two files: (1) configs/z16f2800100zcog/*/setenv.sh and (2)
configs/z16f2800100zcog/*/Make.defs.
diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig
index 9963672da..60c0cb788 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/defconfig
+++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig
@@ -83,8 +83,8 @@ CONFIG_UART0_TXBUFSIZE=256
CONFIG_UART1_TXBUFSIZE=256
CONFIG_UART0_RXBUFSIZE=256
CONFIG_UART1_RXBUFSIZE=256
-CONFIG_UART0_BAUD=115200
-CONFIG_UART1_BAUD=115200
+CONFIG_UART0_BAUD=57600
+CONFIG_UART1_BAUD=57600
CONFIG_UART0_PARITY=0
CONFIG_UART1_PARITY=0
CONFIG_UART0_2STOP=0
diff --git a/nuttx/configs/z16f2800100zcog/ostest/ostest.linkcmd b/nuttx/configs/z16f2800100zcog/ostest/ostest.linkcmd
index e277a0ccd..5ab69bb46 100755
--- a/nuttx/configs/z16f2800100zcog/ostest/ostest.linkcmd
+++ b/nuttx/configs/z16f2800100zcog/ostest/ostest.linkcmd
@@ -33,7 +33,7 @@
/* */
/****************************************************************************/
- -FORMAT=OMF695,INTEL32
+-FORMAT=OMF695,INTEL32
-map -maxhexlen=64 -quiet -sort NAME=ascending -unresolved=fatal
-warnoverlap -NOxref -warn -debug -NOigcase
@@ -68,17 +68,18 @@ define _far_stack = highaddr of ERAM
define _near_stack = highaddr of RAM
define _near_heapbot = top of RAM
define _far_heapbot = top of ERAM
+
define _SYS_CLK_SRC = 2
define _SYS_CLK_FREQ = 20000000
define __EXTCT_INIT_PARAM = $80
-
define __EXTCS0_INIT_PARAM = $8012
define __EXTCS1_INIT_PARAM = $8001
define __EXTCS2_INIT_PARAM = $0000
define __EXTCS3_INIT_PARAM = $0000
define __EXTCS4_INIT_PARAM = $0000
define __EXTCS5_INIT_PARAM = $0000
+
define __PFAF_INIT_PARAM = $ff
define __PGAF_INIT_PARAM = $ff
define __PDAF_INIT_PARAM = $ff00