Skip to content
GitLab
LSCloud-logo1
Created with Sketch.
LSCloud-logo2
Created with Sketch.
项目
项目组
代码片段
帮助
正在加载...
帮助
关于聆思
登录
切换导航
csk
项目概览
项目概览
详情
动态
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
合并请求
2
合并请求
2
CI / CD
CI / CD
流水线
作业
计划
小工具
烧录包信息打印
烧录包校验
烧录包打包
生成LPK包
收起侧边栏
关闭侧边栏
动态
分支图
作业
提交
打开侧边栏
csk6_zephyr
csk
提交
9309657b
提交
9309657b
编写于
1年前
作者:
jihaiyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[add] add counter test
新增dual timer test
上级
533bbe8e
流水线
#9233
已失败 ,包含阶段
in 2 minute 和 36 second
变更
9
流水线
1
展开全部
Hide whitespace changes
内联
并排
9 个文件被修改
(
1225 行新增
以及
0 行删除
)
+1225
-0
tests/drivers/counter/counter_basic_api/CMakeLists.txt
tests/drivers/counter/counter_basic_api/CMakeLists.txt
+9
-0
tests/drivers/counter/counter_basic_api/boards/csk6011a_nano.conf
...ivers/counter/counter_basic_api/boards/csk6011a_nano.conf
+2
-0
tests/drivers/counter/counter_basic_api/boards/csk6011a_nano.overlay
...rs/counter/counter_basic_api/boards/csk6011a_nano.overlay
+49
-0
tests/drivers/counter/counter_basic_api/boards/csk6012_nano.conf
...rivers/counter/counter_basic_api/boards/csk6012_nano.conf
+1
-0
tests/drivers/counter/counter_basic_api/boards/csk6012_nano.overlay
...ers/counter/counter_basic_api/boards/csk6012_nano.overlay
+66
-0
tests/drivers/counter/counter_basic_api/prj.conf
tests/drivers/counter/counter_basic_api/prj.conf
+6
-0
tests/drivers/counter/counter_basic_api/src/test_counter.c
tests/drivers/counter/counter_basic_api/src/test_counter.c
+1077
-0
tests/drivers/counter/counter_basic_api/testcase.yaml
tests/drivers/counter/counter_basic_api/testcase.yaml
+14
-0
tests/drivers/counter/counter_basic_api/zli.conf
tests/drivers/counter/counter_basic_api/zli.conf
+1
-0
未找到文件。
tests/drivers/counter/counter_basic_api/CMakeLists.txt
0 → 100644
浏览文件 @
9309657b
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required
(
VERSION 3.20.0
)
find_package
(
Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}
)
project
(
counter_basic_api
)
FILE
(
GLOB app_sources src/*.c
)
target_sources
(
app PRIVATE
${
app_sources
}
)
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/boards/csk6011a_nano.conf
0 → 100644
浏览文件 @
9309657b
CONFIG_COUNTER_CSK6_GPTCHANNEL
=
y
# CONFIG_COUNTER_CSK6_DUAL=y
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/boards/csk6011a_nano.overlay
0 → 100644
浏览文件 @
9309657b
&gpt0 {
gptchannel0:gptchannel0 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel1:gptchannel1 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel2:gptchannel2 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel3:gptchannel3 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel4:gptchannel4 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel5:gptchannel5 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel6:gptchannel6 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
gptchannel7:gptchannel7 {
compatible = "listenai,csk-gptchannel";
status = "okay";
};
};
&dual_timer{
compatible = "listenai,csk-dual";
reg = <0x44100000 0x1000000>;
interrupts = <6 0>;
label = "DUL_TIM";
};
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/boards/csk6012_nano.conf
0 → 100644
浏览文件 @
9309657b
CONFIG_COUNTER_CSK6_GPTCHANNEL
=
y
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/boards/csk6012_nano.overlay
0 → 100644
浏览文件 @
9309657b
&gpt0 {
gptchannel0:gptchannel0 {
status = "okay";
pwm0 {
status = "disabled";
};
};
gptchannel1:gptchannel1 {
status = "okay";
pwm1 {
status = "disabled";
};
};
gptchannel2:gptchannel2 {
status = "okay";
pwm2 {
status = "disabled";
};
};
gptchannel3:gptchannel3 {
status = "okay";
pwm3 {
status = "disabled";
};
};
gptchannel4:gptchannel4 {
status = "okay";
pwm4 {
status = "disabled";
};
};
gptchannel5:gptchannel5 {
status = "okay";
pwm5 {
status = "disabled";
};
};
gptchannel6:gptchannel6 {
status = "okay";
pwm6 {
status = "disabled";
};
};
gptchannel7:gptchannel7 {
status = "okay";
pwm7 {
status = "disabled";
};
};
};
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/prj.conf
0 → 100644
浏览文件 @
9309657b
CONFIG_COUNTER
=
y
CONFIG_BT
=
n
CONFIG_ZTEST
=
y
CONFIG_TEST_USERSPACE
=
y
CONFIG_LOG
=
y
CONFIG_COUNTER_LOG_LEVEL_DBG
=
y
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/src/test_counter.c
0 → 100644
浏览文件 @
9309657b
此差异已折叠。
点击以展开。
tests/drivers/counter/counter_basic_api/testcase.yaml
0 → 100644
浏览文件 @
9309657b
tests
:
drivers.counter.basic_api
:
tags
:
drivers
depends_on
:
counter
min_ram
:
16
platform_exclude
:
nucleo_f302r8
timeout
:
600
drivers.counter.basic_api.nrf_zli
:
tags
:
drivers
depends_on
:
counter
platform_allow
:
nrf52840dk_nrf52840
timeout
:
400
extra_args
:
>
OVERLAY_CONFIG="zli.conf;boards/nrf52840dk_nrf52840_zli.conf"
This diff is collapsed.
Click to expand it.
tests/drivers/counter/counter_basic_api/zli.conf
0 → 100644
浏览文件 @
9309657b
CONFIG_ZERO_LATENCY_IRQS
=
y
This diff is collapsed.
Click to expand it.
编辑
预览
支持
Markdown
0%
请重试
or
添加新附件
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录