mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
add board definitions for Homberger board
This commit is contained in:
@@ -29,11 +29,15 @@
|
||||
#elif BOARD_M5STICK_CANUNIT
|
||||
#define ESP32_CAN_TX_PIN GPIO_NUM_32
|
||||
#define ESP32_CAN_RX_PIN GPIO_NUM_33
|
||||
#else
|
||||
#define ESP32_CAN_TX_PIN GPIO_NUM_5 // Set CAN TX port to 5 (Caution!!! Pin 2 before)
|
||||
#define ESP32_CAN_RX_PIN GPIO_NUM_4 // Set CAN RX port to 4
|
||||
#define GWSERIAL_RX GPIO_NUM_16
|
||||
#elif BOARD_HOMBERGER
|
||||
#define ESP32_CAN_TX_PIN GPIO_NUM_5
|
||||
#define ESP32_CAN_RX_PIN GPIO_NUM_4
|
||||
//serial input only
|
||||
#define GWSERIAL_RX 16
|
||||
#define GWSERIAL_MODE "RX"
|
||||
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user