add modbus code.

This commit is contained in:
luocai
2025-04-27 10:21:40 +08:00
parent 140a337920
commit eb83c9a459
4 changed files with 19 additions and 198 deletions

View File

@ -19,3 +19,7 @@ CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
# On chips with USB serial, disable secondary console which does not make sense when using console component
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
CONFIG_LOG_COLORS=y
CONFIG_MB_UART_RXD=16
CONFIG_MB_UART_TXD=17
CONFIG_MB_UART_RTS=7