-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rename display driver to match it with the vendor_type scheme of the other drivers - Remove Funkytown song from Buzzer driver - Disable selecting of the step counter and battery arc in digital watchface - Reorganize Kconfig and move the application configuration into the "Applications" menu
- Loading branch information
Showing
27 changed files
with
857 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
add_subdirectory(display) | ||
add_subdirectory(input) | ||
add_subdirectory(rtc) | ||
|
||
add_subdirectory_ifdef(CONFIG_SENSOR sensor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
rsource "display/Kconfig" | ||
rsource "input/Kconfig" | ||
|
||
menu "Drivers" | ||
rsource "sensor/Kconfig" | ||
endmenu | ||
rsource "rtc/Kconfig" | ||
rsource "sensor/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
zephyr_sources(gc9a01.c) | ||
zephyr_sources(buydisplay_gc9a01.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2024, Daniel Kampert | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
add_subdirectory_ifdef(CONFIG_RV_8263_C8 rv8263c8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if RTC | ||
rsource "rv8263c8/Kconfig" | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2024, Daniel Kampert | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
zephyr_sources(microcrystal_rv8263c8.c) | ||
zephyr_sources(interrupt/microcrystal_rv8263c8_interrupt.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# RV-8263-C8 RTC configuration options. | ||
|
||
# Copyright (c) 240, Daniel Kampert | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
menuconfig RV_8263_C8 | ||
bool "RV-8263-C8 RTC" | ||
depends on DT_HAS_MICROCRYSTAL_RV_8263_C8_ENABLED | ||
default y | ||
select I2C | ||
help | ||
Enable the driver for the RV-8263-C8 RTC. | ||
|
||
if RV_8263_C8 | ||
|
||
module = MICROCRYSTAL_RV_8263_C8 | ||
module-str = MICROCRYSTAL_RV_8263_C8 | ||
source "subsys/logging/Kconfig.template.log_config" | ||
|
||
config RV_8263_C8_THREAD_STACK_SIZE | ||
int "RTC delayed work thread stack size" | ||
depends on RV_8263_C8_INTERRUPT_OWN_THREAD | ||
default 1024 | ||
|
||
config RV_8263_C8_THREAD_PRIORITY | ||
int "RV-8263-C8 thread priority" | ||
depends on RV_8263_C8_INTERRUPT_OWN_THREAD | ||
default 10 | ||
|
||
choice | ||
prompt "RV-8263-C8 interrupt mode" | ||
default RV_8263_C8_INTERRUPT_NONE | ||
|
||
config RV_8263_C8_INTERRUPT_NONE | ||
bool "No interrupt" | ||
help | ||
Disable the INTERRUPT interface. | ||
|
||
config RV_8263_C8_INTERRUPT_GLOBAL_THREAD | ||
depends on GPIO | ||
select RV_8263_C8_INTERRUPT | ||
bool "Use workqueue" | ||
help | ||
Use the global workqueue to process the interrupts from the RV-8263-C8. | ||
|
||
config RV_8263_C8_INTERRUPT_OWN_THREAD | ||
depends on GPIO | ||
select RV_8263_C8_INTERRUPT | ||
bool "Use driver thread" | ||
help | ||
Use a separate thread to process the interrupts from the RV-8263-C8. | ||
endchoice | ||
|
||
config RV_8263_C8_INTERRUPT | ||
bool | ||
|
||
endif |
Oops, something went wrong.