Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Add esp-wifi support #113

Merged
merged 14 commits into from
Sep 20, 2023
Merged

Add esp-wifi support #113

merged 14 commits into from
Sep 20, 2023

Conversation

SergioGasquez
Copy link
Member

Initial esp-wifi support, when enabled it adds the code to connect to a Wifi network
Downsides:

  • It introduces a lot of ifs
  • Only adds support for Wifi, not BLE and ESP-NOW
  • Imports are weirdly ordered in some combinations (rustfmt does not complain but still weird)
  • Number of CI jobs is huge (168)

src/main.rs Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
@MabezDev
Copy link
Member

Number of CI jobs is huge (168)

Yikes 😅. Maybe we need to split these into separate templates? Not sure the best way to do this to be honest 🤔.

@SergioGasquez
Copy link
Member Author

Yikes 😅. Maybe we need to split these into separate templates? Not sure the best way to do this to be honest 🤔.

Yep, wanted to start a discussion about this in #110. My initial idea was to have 2 folders in esp-template so we have 2 templates like in esp-idf-template but here for sync and async

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM, just one small nitpick :)

post-script.rhai Show resolved Hide resolved
SergioGasquez and others added 2 commits September 20, 2023 14:57
Co-authored-by: Scott Mabin <scott@mabez.dev>
@MabezDev MabezDev merged commit 5061dbc into esp-rs:main Sep 20, 2023
168 checks passed
@SergioGasquez SergioGasquez deleted the feature/esp-wifi branch September 21, 2023 08:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants