fix micro define error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
790fff9db9
commit
ee318bb0c1
@ -131,14 +131,14 @@ extern "C" {
|
||||
|
||||
// NAND flash
|
||||
#define NFCONF (*(volatile unsigned *)0x4e000000) //NAND Flash configuration
|
||||
#define NFCMD (*(volatile U8 *)0x4e000004) //NADD Flash command
|
||||
#define NFADDR (*(volatile U8 *)0x4e000008) //NAND Flash address
|
||||
#define NFDATA (*(volatile U8 *)0x4e00000c) //NAND Flash data
|
||||
#define NFCMD (*(volatile unsigned *)0x4e000004) //NADD Flash command
|
||||
#define NFADDR (*(volatile unsigned *)0x4e000008) //NAND Flash address
|
||||
#define NFDATA (*(volatile unsigned *)0x4e00000c) //NAND Flash data
|
||||
#define NFSTAT (*(volatile unsigned *)0x4e000010) //NAND Flash operation status
|
||||
#define NFECC (*(volatile unsigned *)0x4e000014) //NAND Flash ECC
|
||||
#define NFECC0 (*(volatile U8 *)0x4e000014)
|
||||
#define NFECC1 (*(volatile U8 *)0x4e000015)
|
||||
#define NFECC2 (*(volatile U8 *)0x4e000016)
|
||||
#define NFECC0 (*(volatile unsigned *)0x4e000014)
|
||||
#define NFECC1 (*(volatile unsigned *)0x4e000015)
|
||||
#define NFECC2 (*(volatile unsigned *)0x4e000016)
|
||||
|
||||
// UART
|
||||
#define U0BASE (*(volatile unsigned *)0x50000000) //UART 0 Line control
|
||||
|
Loading…
x
Reference in New Issue
Block a user