Do I have it right that in order to test this board(https://www.waveshare.com/wiki/ESP32-S3-RS485-CAN) out I have to fork esphome-yambms and then create a new board file using the info obtained from their example WS_GPIO.h? Maybe copy board_ESP32-S3_LilyGo-T-Connect-Pro.yaml
WS_GPIO.h:
#pragma once
#include <Arduino.h> // Reference the ESP32 built-in serial port library
/************************************************************* I/O *************************************************************/
#define GPIO_PIN_CH1 47 // CH1 Control GPIO
#define TXD1 17 // The TXD of UART corresponds to GPIO RS485
#define RXD1 18 //The RXD of UART1 corresponds to GPIO RS485
#define TXD1EN 21
#define TXD2 15 // The TXD of TWAI corresponds to GPIO CAN
#define RXD2 16 // The RXD of TWAI corresponds to GPIO CAN
/************************************************************* I/O *************************************************************/
void digitalToggle(int pin);
changing this section of LilyGo-T-Connect-Pro.yaml to:
board_name: "LilyGo T-Connect Pro"
# Interfaces GPIOs
# uart_esp_1: RS485
tx_pin_1: '17'
rx_pin_1: '18'
# canbus_esp32_can: CAN
tx_pin_2: '15'
rx_pin_2: '16'
Not sure how to specify SoftSerial on GPIO pins 1 and 2 so that the Victron Smart Shunt can be connected to its Rx pin.
Do I have it right that in order to test this board(https://www.waveshare.com/wiki/ESP32-S3-RS485-CAN) out I have to fork esphome-yambms and then create a new board file using the info obtained from their example WS_GPIO.h? Maybe copy board_ESP32-S3_LilyGo-T-Connect-Pro.yaml
WS_GPIO.h:
changing this section of LilyGo-T-Connect-Pro.yaml to:
board_name: "LilyGo T-Connect Pro"
Not sure how to specify SoftSerial on GPIO pins 1 and 2 so that the Victron Smart Shunt can be connected to its Rx pin.