Skip to content

Commit

Permalink
- Add RV-3028-C8 patches from Zephyr main
Browse files Browse the repository at this point in the history
- Add RTC support
  • Loading branch information
Kampi committed Aug 28, 2024
1 parent 473a5bb commit 82951a0
Show file tree
Hide file tree
Showing 17 changed files with 627 additions and 300 deletions.
6 changes: 0 additions & 6 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,7 @@ else()
add_subdirectory(src/basic_battery)
endif()

# TODO
target_sources(app PRIVATE src/zsw_clock.c)
#if (CONFIG_RTC)
# target_sources(app PRIVATE src/zsw_rtc.c)
#else()
#endif()

target_sources(app PRIVATE src/main.c)
target_sources(app PRIVATE src/zsw_cpu_freq.c)
target_sources(app PRIVATE src/zsw_retained_ram_storage.c)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ CONFIG_DEBUG_COREDUMP_BACKEND_OTHER=y

CONFIG_RTC=y
CONFIG_RTC_UPDATE=y
CONFIG_RTC_ALARM=y

CONFIG_MISC_ENABLE_SYSTEM_RESET=n # Implemented in nPM, hence not needed in FW

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
aliases {
spi-flash0 = &mx25u51245g;
buzzer-pwm = &buzzer_pwm;
rtc = &rv_8263_c8;
};

longpress: longpress {
Expand Down
Binary file added app/lvgl_resources
Binary file not shown.
Loading

0 comments on commit 82951a0

Please sign in to comment.