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

Fix Hosted operation for Windows #2378

Merged
merged 6 commits into from
Sep 30, 2021
Merged

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Sep 29, 2021

This PR updates the Hosted Component so it builds and runs for Windows and also Esp32 architecture.

I've done some basic testing with Hosted running on an ESP32-S2 target, which pretty much worked straight away (apart from pulseIn signature). However, as I use WSL if using a serial interface the Host application must be run in a Windows build. That needed a few fixes.

This also seems like a good time to get the Kconfig settings for this Component updated!

  • Move simpleRPC into Components (Hosted is a Component so should not depend on a Library)
  • Fix compilation problems for Windows
  • Update environment variable handling & Kconfig settings
  • Fix pulseIn signature for Esp32

@slaff slaff added this to the 4.5.0 milestone Sep 29, 2021
@mikee47
Copy link
Contributor Author

mikee47 commented Sep 29, 2021

@slaff I've left this WIP in case you'd like to add//modify this PR?

@slaff
Copy link
Contributor

slaff commented Sep 29, 2021

I've left this WIP in case you'd like to add//modify this PR?

So far it looks good to me. Test it on your Windows and if it works for you then let's merge it.

@slaff slaff changed the title [WIP] Fix Hosted operation for Windows Fix Hosted operation for Windows Sep 30, 2021
@slaff slaff merged commit 6b1cc4e into SmingHub:develop Sep 30, 2021
@mikee47 mikee47 deleted the fix/hosted-win32 branch October 11, 2021 07:46
@slaff slaff mentioned this pull request Oct 15, 2021
5 tasks
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