board_config.h 450 B

123456789101112131415161718192021222324252627
  1. /*
  2. board configuration file
  3. */
  4. #pragma once
  5. #ifdef BOARD_ESP32S3_DEV
  6. #define PIN_CAN_TX GPIO_NUM_47
  7. #define PIN_CAN_RX GPIO_NUM_38
  8. #define PIN_UART_TX 18
  9. #define PIN_UART_RX 17
  10. #elif defined(BOARD_BLUEMARK_DB200)
  11. #define PIN_CAN_TX GPIO_NUM_4
  12. #define PIN_CAN_RX GPIO_NUM_18
  13. #define PIN_UART_TX 15
  14. #define PIN_UART_RX 16
  15. #elif defined(BOARD_BLUEMARK_DB110)
  16. #define PIN_UART_TX 5
  17. #define PIN_UART_RX 4
  18. #else
  19. #error "unsupported board"
  20. #endif