Skip to content

NOISSUE-Add WiFi to Beagleboard via Esp32#2

Open
dorcaslitunya wants to merge 5 commits intoabsmach:masterfrom
dorcaslitunya:dorcaslitunya/add-esp-hosted-changes
Open

NOISSUE-Add WiFi to Beagleboard via Esp32#2
dorcaslitunya wants to merge 5 commits intoabsmach:masterfrom
dorcaslitunya:dorcaslitunya/add-esp-hosted-changes

Conversation

@dorcaslitunya
Copy link

What type of PR is this?

This is a feature because it adds the following functionality: Adds WiFi to BeagleV board via esp32

What does this do?

Key Features:
• One-command setup with setup-complete.sh
• Kernel headers prepared and SPI kernel modules loaded automatically
• Device tree overlay applied for SPI0 and GPIO control lines
• ESP32 firmware built and flashed with flash-esp32.sh
• Platform-specific modifications (GPIO numbers, architecture, removed Raspberry Pi-specific configs)

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

No, I have not included tests as this is a draft PR

Did you document any new/modified features?

No, I have not updated the documentation as I am still testing the feature

Notes

@@ -0,0 +1,240 @@
#!/bin/bash
#
# ESP32 Firmware Flashing Script
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a script for this?

I thought it was as simple as

idf.py build
idf.py flash
idf.py monitor

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested the functionality of the scipts. As mentioned from updates, they were generated by Claude. I will test if we need this or we can do steps. But ideally even if its three steps, a script would be ideal so that the user only does one thing and does not focus on setup

└── esp_spi.h # GPIO pins changed to 513, 514
```

## Usage
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work?

Copy link
Author

@dorcaslitunya dorcaslitunya Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on it tomorrow with Drasko..currently still hanging

./scripts/verify-setup.sh

# View logs
dmesg | grep -i esp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attach sample logs so that the user can see expected logs

- **beaglev-esp-hosted.dts** - Device tree overlay for SPI configuration
- **patches/esp_spi.h.patch** - GPIO pin modifications

## Quick Setup
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attach sample logs so that the user can see expected logs

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