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

Host fixes (RTC clock setting, UART restrictions, thread race condition) #2477

Merged
merged 5 commits into from
Feb 7, 2022

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Feb 6, 2022

Allow setting Host RTC clock

Calling setRtcSeconds() fails which can break applications.
Instead, note difference between set time and system time.

UART improvements

Remove Host UART1 TX-only restriction. (Originally included to mirror ESP8266 behaviour.)

Fix race condition in Host threads. Manifests with assertion failure running two telnet ports.

Allow console to be directed to alternative UART. Also default UART0 to console, even if other ports are redirected

CLI_TARGET_OPTIONS

We need a way to more miscellaneous settings from the command line. e.g. make run CLI_TARGET_OPTIONS=--cpulimit=1.
However, currently this means options from HOST_NETWORK_OPTIONS and HOST_UART_OPTIONS are ignored.
This might be considered a bug, so behaviour has been fixed so this works as expected.

Failing `setRtcSeconds` breaks applications.
Instead, note difference between set time and system time.
Manifests with assertion failure running two telnet ports
Also default UART0 to console, even if other ports are redirected
Options added at command line can be appended to, same as if exported.
@slaff slaff added this to the 4.6.0 milestone Feb 7, 2022
@slaff slaff merged commit bda29e3 into SmingHub:develop Feb 7, 2022
@mikee47 mikee47 deleted the fix/host-updates branch February 7, 2022 12:17
@slaff slaff mentioned this pull request Feb 25, 2022
5 tasks
@slaff slaff removed the 3 - Review label Oct 12, 2023
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