diff options
author | mick_hsiao <mick_hsiao@compal.corp-partner.google.com> | 2023-03-15 19:43:56 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-22 02:28:30 +0000 |
commit | e2716061d0044831df63944261d2b26e100a307e (patch) | |
tree | 62f0c565325b699aea7a30343cb424d4d6355c32 /zephyr/program/nissa/CMakeLists.txt | |
parent | 43c707e5def93a9ee6b03cf62e6ce2d6cfe6f099 (diff) | |
download | chrome-ec-e2716061d0044831df63944261d2b26e100a307e.tar.gz |
uldren: Initial Zephyr EC image
Create the initial Zephyr EC image for the uldren variant based on
the nereid reference board.
(Auto-Generated by create_zephyr_ec_image.sh version 1.0.0)
BUG=b:271513530
BRANCH=None
TEST=PASS
Change-Id: I46de308cbed951f6637079dff7696ffe9806b6d7
Signed-off-by: mick_hsiao <mick_hsiao@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4340169
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'zephyr/program/nissa/CMakeLists.txt')
-rw-r--r-- | zephyr/program/nissa/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/program/nissa/CMakeLists.txt b/zephyr/program/nissa/CMakeLists.txt index 86fc7207dd..0044b05e12 100644 --- a/zephyr/program/nissa/CMakeLists.txt +++ b/zephyr/program/nissa/CMakeLists.txt @@ -99,3 +99,13 @@ if(DEFINED CONFIG_BOARD_XIVUR) zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC "xivur/src/usbc.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_CHARGER "xivur/src/charger.c") endif() +if(DEFINED CONFIG_BOARD_ULDREN) + project(uldren) + zephyr_library_sources( + "uldren/src/led.c" + "uldren/src/keyboard.c" + ) + zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_FAN "uldren/src/fan.c") + zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC "uldren/src/usbc.c") + zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_CHARGER "uldren/src/charger.c") +endif() |