nim_config.h 955 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * nim_config.h
  3. *
  4. * Created on: 2025Äê7ÔÂ18ÈÕ
  5. * Author: wulianwei
  6. */
  7. #ifndef NIM_CONFIG_H_
  8. #define NIM_CONFIG_H_
  9. #include <string.h>
  10. #include <stdio.h>
  11. #include "hw_types.h"
  12. #include "soc_C6748.h"
  13. #include "hw_syscfg0_C6748.h"
  14. #include "soc_C6748.h"
  15. #include "psc.h"
  16. #include "interrupt.h"
  17. #include "hal/nim_uart.h"
  18. #include "hal/nim_ethernet.h"
  19. #include "util/sys_util.h"
  20. #include "device/console.h"
  21. #include "device/lwip.h"
  22. #include "algorithm/emg_util.h"
  23. #define SYSCLK_1_FREQ (456000000)
  24. #define SYSCLK_2_FREQ (SYSCLK_1_FREQ/2)
  25. #define UART_CONSOLE_BASE (SOC_UART_2_REGS) //ÈÕÖ¾´òÓ¡´®¿Ú
  26. #define TCP_SERVER_PORT 2000
  27. //#define STATIC_IP_ADDRESS 0xC0A801C8 //192.168.1.200
  28. //#define UI_IP_ADDRESS 0xC0A801C9 //192.168.1.201
  29. #define UI_IP_ADDRESS 0xC0A80169 //192.168.1.101
  30. #define UI_UDP_PORT 8000
  31. #endif /* NIM_CONFIG_H_ */