mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
16Z: Some early bring-up fixes
This commit is contained in:
@@ -398,29 +398,4 @@ ostest
|
||||
trailing bad characters are manually eliminated, then the build
|
||||
will succeed on the next try.
|
||||
|
||||
pashello
|
||||
--------
|
||||
|
||||
Configures to use examples/pashello for execution from FLASH
|
||||
See examples/README.txt for information about pashello.
|
||||
|
||||
NOTES:
|
||||
|
||||
1. This configuration uses the mconf-based configuration tool. To
|
||||
change this configuration using that tool, you should:
|
||||
|
||||
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||
and misc/tools/
|
||||
|
||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||
reconfiguration process.
|
||||
|
||||
2. The last time I tried building this configuration, there were
|
||||
a few undefined symbols from the PCODE logic. It might require
|
||||
a little TLC to get this all working again.
|
||||
|
||||
3. The native windows build has not been tried with this configuration
|
||||
but should, in principle, work (see notes for the ostest configuration
|
||||
above).
|
||||
|
||||
Check out any README.txt files in these <sub-directory>s.
|
||||
|
||||
@@ -44,6 +44,14 @@
|
||||
* Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* The 16Z board has a 19.6608MHz crystal. The ZNEO clocking will be
|
||||
* configured to use this crystal frequency directly as the clock source
|
||||
*/
|
||||
|
||||
#define BOARD_XTAL_FREQUENCY 19660800 /* 19.6608MHz */
|
||||
#define BOARD_CLKSRC 1 /* Clock source = external crystal */
|
||||
#define BOARD_SYSTEM_FREQUENCY BOARD_XTAL_FREQUENCY
|
||||
|
||||
/* LEDs
|
||||
*
|
||||
* The 16z board has 7 LEDs, five of which are controllable via software:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************/
|
||||
/* configs/16z/nsh/nsh.linkcmd */
|
||||
/* configs/16z/nsh/nsh.linkcmd */
|
||||
/* */
|
||||
/* Copyright (C) 2014 Gregory Nutt. All rights reserved. */
|
||||
/* Author: Gregory Nutt <gnutt@nuttx.org> */
|
||||
@@ -69,8 +69,8 @@ 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 _SYS_CLK_SRC = 1
|
||||
define _SYS_CLK_FREQ = 19660800
|
||||
|
||||
define __EXTCT_INIT_PARAM = $40
|
||||
define __EXTCS0_INIT_PARAM = $9001
|
||||
|
||||
@@ -69,8 +69,8 @@ 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 _SYS_CLK_SRC = 1
|
||||
define _SYS_CLK_FREQ = 19660800
|
||||
|
||||
define __EXTCT_INIT_PARAM = $40
|
||||
define __EXTCS0_INIT_PARAM = $9001
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* board/board.h
|
||||
*
|
||||
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2008, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -43,6 +43,14 @@
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
****************************************************************************/
|
||||
/* The 16Z board has a 20MHz crystal. The ZNEO clocking will be configured
|
||||
* to use this crystal frequency directly as the clock source
|
||||
*/
|
||||
|
||||
#define BOARD_XTAL_FREQUENCY 20000000 /* 20MHz */
|
||||
#define BOARD_CLKSRC 1 /* Clock source = external crystal */
|
||||
#define BOARD_SYSTEM_FREQUENCY BOARD_XTAL_FREQUENCY
|
||||
|
||||
|
||||
/* LED pattern definitions
|
||||
*
|
||||
|
||||
@@ -69,7 +69,7 @@ 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_SRC = 1
|
||||
define _SYS_CLK_FREQ = 20000000
|
||||
|
||||
define __EXTCT_INIT_PARAM = $80
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************/
|
||||
/* configs/z16f2800100zcog/ostest/ostest.linkcmd */
|
||||
/* */
|
||||
/* Copyright (C) 2008 Gregory Nutt. All rights reserved. */
|
||||
/* Copyright (C) 2008, 2014 Gregory Nutt. All rights reserved. */
|
||||
/* Author: Gregory Nutt <gnutt@nuttx.org> */
|
||||
/* */
|
||||
/* Redistribution and use in source and binary forms, with or without */
|
||||
@@ -69,7 +69,7 @@ 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_SRC = 1
|
||||
define _SYS_CLK_FREQ = 20000000
|
||||
|
||||
define __EXTCT_INIT_PARAM = $80
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************/
|
||||
/* configs/z16f2800100zcog/pashello/pashello.linkcmd */
|
||||
/* */
|
||||
/* Copyright (C) 2008 Gregory Nutt. All rights reserved. */
|
||||
/* Copyright (C) 2008, 2014 Gregory Nutt. All rights reserved. */
|
||||
/* Author: Gregory Nutt <gnutt@nuttx.org> */
|
||||
/* */
|
||||
/* Redistribution and use in source and binary forms, with or without */
|
||||
@@ -69,7 +69,7 @@ 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_SRC = 1
|
||||
define _SYS_CLK_FREQ = 20000000
|
||||
|
||||
define __EXTCT_INIT_PARAM = $80
|
||||
|
||||
Reference in New Issue
Block a user