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

feat: add rtc support #155

Merged
merged 4 commits into from
Jul 15, 2024
Merged

feat: add rtc support #155

merged 4 commits into from
Jul 15, 2024

Conversation

hky1999
Copy link
Contributor

@hky1999 hky1999 commented Jul 12, 2024

No description provided.

@hky1999 hky1999 requested a review from equation314 July 12, 2024 06:25
api/arceos_posix_api/src/imp/time.rs Outdated Show resolved Hide resolved
crates/rtc/Cargo.toml Outdated Show resolved Hide resolved
crates/arm_pl031/Cargo.toml Outdated Show resolved Hide resolved
crates/riscv_goldfish/Cargo.toml Outdated Show resolved Hide resolved
crates/x86_rtc/Cargo.toml Outdated Show resolved Hide resolved
modules/axruntime/src/lib.rs Outdated Show resolved Hide resolved
api/arceos_api/src/lib.rs Show resolved Hide resolved
modules/axhal/src/platform/x86_pc/time.rs Show resolved Hide resolved
modules/axhal/src/platform/x86_pc/time.rs Outdated Show resolved Hide resolved
modules/axhal/Cargo.toml Outdated Show resolved Hide resolved
modules/axhal/src/platform/x86_pc/time.rs Outdated Show resolved Hide resolved
fix: cargo docs missing

fix: add config for other platforms in aarch64

refactor: device rtc into different crates

fix: compile error in x86 rtc

fix: use wall_time instead of monotonic_time in functions like sleep_until

fix: docs missed in riscv_goldfish

fix: use target_arch in x86_rtc to bypass clippy error in aarch64 and riscv64

feat: add rtc feature, add set_unix_timestamp for Rtc

fix: use monotonic_time in logging, modify some annotations

feat: use CLOCK_MONOTONIC and CLOCK_REALTIME generated from ctype

fix: bug in smoltcp current_time

fix: bug in smoltcp current_time, convert nanos to micros

feat: bug fix and rtc feature improve
@hky1999 hky1999 changed the title feat: add rtc support for different arch feat: add rtc support Jul 15, 2024
@equation314 equation314 merged commit 5a05e29 into main Jul 15, 2024
34 checks passed
@equation314 equation314 deleted the rtc branch July 18, 2024 17:28
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