diff options
Diffstat (limited to 'nuttx/arch/z80/src/z8/chip.h')
-rw-r--r-- | nuttx/arch/z80/src/z8/chip.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/z8/chip.h b/nuttx/arch/z80/src/z8/chip.h index 702edd5fe..7635c0407 100644 --- a/nuttx/arch/z80/src/z8/chip.h +++ b/nuttx/arch/z80/src/z8/chip.h @@ -41,6 +41,10 @@ * Included Files ************************************************************************************/ +#ifndef __ASSEMBLY__ +# include <stdint.h> +#endif + /************************************************************************************ * Definitions ************************************************************************************/ @@ -118,11 +122,11 @@ /* UART0/1 Base Register Addresses **************************************************/ #ifdef EZ8_UART0 -# define Z8_UART0_BASE ((ubyte volatile far*)0xf40) +# define Z8_UART0_BASE ((uint8_t volatile far*)0xf40) #endif #ifdef EZ8_UART1 -# define Z8_UART1_BASE ((ubyte volatile far*)0xf48) +# define Z8_UART1_BASE ((uint8_t volatile far*)0xf48) #endif /* UART0/1 Status 0 Register Bit Definitions ****************************************/ |