forked from DroneBridge/ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiple UART interfaces
Related to DroneBridge#89 Expand the ESP32’s serial port capabilities by allowing the configuration and utilization of more than two serial ports. * **main/db_serial.h**: - Add definitions for additional UART interfaces. - Add function prototypes for initializing multiple UART interfaces. * **main/db_serial.c**: - Add initialization code for additional UART interfaces. - Modify `open_serial_socket` to handle multiple UART interfaces. * **main/main.c**: - Update initialization code to configure multiple UART interfaces. - Modify `db_read_settings_nvs` to read settings for multiple UART interfaces. - Modify `db_write_settings_to_nvs` to save settings for multiple UART interfaces. * **main/CMakeLists.txt**: - Add source files for handling multiple UART interfaces.
- Loading branch information
1 parent
0e2810a
commit 0a51a5f
Showing
4 changed files
with
64 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters