Skip to content

Commit 81fad86

Browse files
Josh-Tsaiamstan
authored andcommitted
fwk: dogwood: don't build the temperature_filter.c
commit "fwk: create the temperature filter driver" create the temperature_filter.h file in the common include folder. It will cause the compiler error if the project is using the virtual temperature. This change move the "src/temperature_filter.c" to each project except dogwood. BRANCH=fwk-dogwood-27111 BUG=None TEST=zmake build dogwood pass Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
1 parent ee99355 commit 81fad86

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

zephyr/program/framework/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ zephyr_library_sources("src/flash_storage.c")
1313
zephyr_library_sources("src/factory.c")
1414
zephyr_library_sources("src/uefi_app_mode.c")
1515
zephyr_library_sources("src/ucsi.c")
16-
zephyr_library_sources("src/temperature_filter.c")
1716
zephyr_library_sources("src/power_button_x86.c")
1817

1918
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_DEDICATED_ALS
@@ -96,6 +95,7 @@ if(DEFINED CONFIG_BOARD_AZALEA)
9695
"azalea/src/project_diagnostics.c"
9796
"src/usbc_4port_config.c"
9897
"src/keyboard_customization_13.c"
98+
"src/temperature_filter.c"
9999
)
100100
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_AMD_STT
101101
"azalea/src/stt.c")
@@ -118,6 +118,7 @@ if(DEFINED CONFIG_BOARD_MARIGOLD)
118118
"marigold/src/thermal.c"
119119
"marigold/src/usbc.c"
120120
"src/usbc_4port_config.c"
121+
"src/temperature_filter.c"
121122
)
122123

123124
endif()

zephyr/program/framework/include/temperature_filter.h renamed to zephyr/program/framework/include/board_temperature_filter.h

File renamed without changes.

0 commit comments

Comments
 (0)