mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix a16f serial bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@568 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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
|
Thusfar, I have encountered no insolvable problems with the newer 4.11.0
|
||||||
version of the toolchain.
|
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)
|
two files: (1) configs/z16f2800100zcog/*/setenv.sh and (2)
|
||||||
configs/z16f2800100zcog/*/Make.defs.
|
configs/z16f2800100zcog/*/Make.defs.
|
||||||
|
|
||||||
|
|||||||
@@ -83,8 +83,8 @@ CONFIG_UART0_TXBUFSIZE=256
|
|||||||
CONFIG_UART1_TXBUFSIZE=256
|
CONFIG_UART1_TXBUFSIZE=256
|
||||||
CONFIG_UART0_RXBUFSIZE=256
|
CONFIG_UART0_RXBUFSIZE=256
|
||||||
CONFIG_UART1_RXBUFSIZE=256
|
CONFIG_UART1_RXBUFSIZE=256
|
||||||
CONFIG_UART0_BAUD=115200
|
CONFIG_UART0_BAUD=57600
|
||||||
CONFIG_UART1_BAUD=115200
|
CONFIG_UART1_BAUD=57600
|
||||||
CONFIG_UART0_PARITY=0
|
CONFIG_UART0_PARITY=0
|
||||||
CONFIG_UART1_PARITY=0
|
CONFIG_UART1_PARITY=0
|
||||||
CONFIG_UART0_2STOP=0
|
CONFIG_UART0_2STOP=0
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
|
||||||
-FORMAT=OMF695,INTEL32
|
-FORMAT=OMF695,INTEL32
|
||||||
-map -maxhexlen=64 -quiet -sort NAME=ascending -unresolved=fatal
|
-map -maxhexlen=64 -quiet -sort NAME=ascending -unresolved=fatal
|
||||||
-warnoverlap -NOxref -warn -debug -NOigcase
|
-warnoverlap -NOxref -warn -debug -NOigcase
|
||||||
|
|
||||||
@@ -68,17 +68,18 @@ define _far_stack = highaddr of ERAM
|
|||||||
define _near_stack = highaddr of RAM
|
define _near_stack = highaddr of RAM
|
||||||
define _near_heapbot = top of RAM
|
define _near_heapbot = top of RAM
|
||||||
define _far_heapbot = top of ERAM
|
define _far_heapbot = top of ERAM
|
||||||
|
|
||||||
define _SYS_CLK_SRC = 2
|
define _SYS_CLK_SRC = 2
|
||||||
define _SYS_CLK_FREQ = 20000000
|
define _SYS_CLK_FREQ = 20000000
|
||||||
|
|
||||||
define __EXTCT_INIT_PARAM = $80
|
define __EXTCT_INIT_PARAM = $80
|
||||||
|
|
||||||
define __EXTCS0_INIT_PARAM = $8012
|
define __EXTCS0_INIT_PARAM = $8012
|
||||||
define __EXTCS1_INIT_PARAM = $8001
|
define __EXTCS1_INIT_PARAM = $8001
|
||||||
define __EXTCS2_INIT_PARAM = $0000
|
define __EXTCS2_INIT_PARAM = $0000
|
||||||
define __EXTCS3_INIT_PARAM = $0000
|
define __EXTCS3_INIT_PARAM = $0000
|
||||||
define __EXTCS4_INIT_PARAM = $0000
|
define __EXTCS4_INIT_PARAM = $0000
|
||||||
define __EXTCS5_INIT_PARAM = $0000
|
define __EXTCS5_INIT_PARAM = $0000
|
||||||
|
|
||||||
define __PFAF_INIT_PARAM = $ff
|
define __PFAF_INIT_PARAM = $ff
|
||||||
define __PGAF_INIT_PARAM = $ff
|
define __PGAF_INIT_PARAM = $ff
|
||||||
define __PDAF_INIT_PARAM = $ff00
|
define __PDAF_INIT_PARAM = $ff00
|
||||||
|
|||||||
Reference in New Issue
Block a user