| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*
- * nim_config.h
- *
- * Created on: 2025年7月18日
- * Author: wulianwei
- */
- #ifndef NIM_CONFIG_H_
- #define NIM_CONFIG_H_
- #include <device/touch.h>
- #include <string.h>
- #include <stdio.h>
- #include "hw_types.h"
- #include "soc_C6748.h"
- #include "hw_syscfg0_C6748.h"
- #include "soc_C6748.h"
- #include "psc.h"
- #include "gpio.h"
- #include "interrupt.h"
- #include "hal/nim_gpio.h"
- #include "hal/nim_uart.h"
- #include "hal/nim_ethernet.h"
- #include "util/sys_util.h"
- #include "device/console.h"
- #include "device/lwip.h"
- #include "device/touch.h"
- #include "algorithm/emg_util.h"
- #include "business/handle_bus.h"
- #define SYSCLK_1_FREQ (456000000)
- #define SYSCLK_2_FREQ (SYSCLK_1_FREQ/2)
- #define UART_CONSOLE_BASE (SOC_UART_2_REGS) //日志打印串口
- #define TCP_SERVER_PORT 2000
- #define STATIC_IP_ADDRESS 0xC0A80A02 //192.168.10.2
- #define STATIC_NET_MASK 0xFFFFFF00 //255.255.255.0
- #define UI_IP_ADDRESS 0xC0A80A89 //192.168.10.137
- #define UI_UDP_PORT 8000
- #define TOUCH_TIME 2000 //触控时间 3s
- #define WATCH_TIME 10000 //看门时间 10s
- #endif /* NIM_CONFIG_H_ */
|