1.3 KiB
DShanMCU-Yat_ESP32
UART2
- TX: GPIO17
- RX: GPIO16
- RTS: SD_D0 GPIO07
- CTS: SD_D1 GPIO08
idf.py add-dependency esp-modbus
How to use example
We encourage the users to use the example as a template for the new projects. A recommended way is to follow the instructions on a docs page.
Example folder contents
The project sample_project contains one source file in C language main.c. The file is located in folder main.
ESP-IDF projects are built using CMake. The project build configuration is contained in CMakeLists.txt
files that provide set of directives and instructions describing the project's source files and targets
(executable, library, or both).
Below is short explanation of remaining files in the project folder.
├── CMakeLists.txt
├── main
│ ├── CMakeLists.txt
│ └── main.c
└── README.md This is the file you are currently reading
Additionally, the sample project contains Makefile and component.mk files, used for the legacy Make based build system. They are not used or needed when building with CMake and idf.py.