zongqiang.zhang | 0c6a088 | 2019-08-07 14:48:21 +0800 | [diff] [blame] | 1 | #ifndef _N_CONFIG_H_ |
| 2 | #define _N_CONFIG_H_ |
| 3 | |
| 4 | #include "./g401302/src/G401_drv_hw_V01.h" |
| 5 | #include "./sys_hw/drv_usart.h" |
| 6 | |
| 7 | #ifndef int8 |
| 8 | #define int8 signed char |
| 9 | #endif |
| 10 | |
| 11 | #ifndef uint8 |
| 12 | #define uint8 unsigned char |
| 13 | #endif |
| 14 | |
| 15 | #ifndef uint16 |
| 16 | #define uint16 unsigned short |
| 17 | #endif |
| 18 | |
| 19 | #ifndef int16 |
| 20 | #define int16 signed short |
| 21 | #endif |
| 22 | |
| 23 | #ifndef uint32 |
| 24 | #define uint32 unsigned int |
| 25 | #endif |
| 26 | |
| 27 | #ifndef int32 |
| 28 | #define int32 signed int |
| 29 | #endif |
| 30 | |
| 31 | #ifndef NULL |
| 32 | #define NULL ((void *)0) |
| 33 | #endif |
| 34 | |
| 35 | #endif |
| 36 | |