Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple UART interfaces #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #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.

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.
@seeul8er
Copy link
Contributor

seeul8er commented Nov 5, 2024

Hi! I will have a look once I am back from vacation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants