nim_config.h 852 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 "hw_types.h"
  11. #include "soc_C6748.h"
  12. #include "hw_syscfg0_C6748.h"
  13. #include "soc_C6748.h"
  14. #include "psc.h"
  15. #include "interrupt.h"
  16. #include "hal/nim_uart.h"
  17. #include "hal/nim_ethernet.h"
  18. #include "util/sys_util.h"
  19. #include "device/console.h"
  20. #include "device/lwip.h"
  21. #define SYSCLK_1_FREQ (456000000)
  22. #define SYSCLK_2_FREQ (SYSCLK_1_FREQ/2)
  23. #define UART_CONSOLE_BASE (SOC_UART_2_REGS) //ÈÕÖ¾´òÓ¡´®¿Ú
  24. #define LWIP_DEBUG
  25. #define TCP_SERVER_PORT 2000
  26. //#define UI_IP_ADDRESS 0xC0A801C9 //192.168.1.201
  27. #define UI_IP_ADDRESS 0xC0A80164 //192.168.1.100
  28. #define UI_UDP_PORT 4000
  29. #endif /* NIM_CONFIG_H_ */