
zephyr
请叫我华哥,谢谢
感恩的心。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【zephyr】 - Time Measurement rt1050
目录1.测试结果展示1.1 v1.13.0验证结果1.2 v1.14.0 新版本测试结果2.o sem1测试方法2.2 read_timer_end_of_swap上下文切换nxp rt Rt1050测量结果,存储介质QSPI1.测试结果展示1.1 v1.13.0验证结果BUILD: Mar 17 2019 10:29:20startin...原创 2019-03-31 22:37:37 · 492 阅读 · 0 评论 -
【zephyr】apds9660 接近(Proximity)传感器 驱动模型实现方式(一)
目录1. zephyr驱动模型1. 1 设备模型几要要素1.2 驱动实现步骤2.zephyr 传感器示例2.2找到对应API接口2.3 adps960 实际应用方法2.3.1 数据2.3.2apds9960_config2.3.3apds9960_driver_api2.3.4apds9960_init3. apds9660 接近传感...原创 2019-04-07 08:38:14 · 1206 阅读 · 0 评论 -
【Zephyr】 stm32 添加stm32: add support for STM32F7
目录1.DTSI添加2.头文件添加3.I2C Kconfig4. arch/arm/soc/st_stm32/stm32f7添加1.DTSI添加#include <dt-bindings/i2c/i2c.h>#include <dt-bindings/gpio/gpio.h>/ { i2c1: i2c@40005400 ...原创 2019-04-06 17:57:58 · 755 阅读 · 0 评论 -
【zephyr】 杂记_临时修改变更
* drivers: Remove board.h includeWe either don't need board.h in the driver or we should be include soc.hinstead.//设置 DesignWare I2C# This option signifies whether DesignWare I2C compa...原创 2019-04-06 17:39:29 · 285 阅读 · 0 评论 -
【zephyr】PM 电源管理
1. CONFIG配置总开关CONFIG_SYS_POWER_MANAGEMENT=yCONFIG_DEVICE_POWER_MANAGEMENT=yCONFIG_DEVICE_IDLE_PM=y2.设备注册API接口设备/** * @brief Device PM info * * @param dev pointer to device structure *...原创 2019-04-06 17:15:10 · 1224 阅读 · 0 评论 -
【zephyr】从 kernel space 到User space get_device_id
1.User space\tests\drivers\hwinfo\api\src\main.chwinfo: add driver support for NXP i.mx RT device IDAdd driver support for NXP i.mx RT ID device.This device has an ID of 8 bytes.#in...原创 2019-04-06 15:53:26 · 569 阅读 · 0 评论 -
【zephyr】 - 添加 external xip flash boot header
目录1.修改内容总目录1.1 \soc\arm\nxp_imx\rt\soc.c1.2 添加 Kconfig1.3添加定义 sections1.4添加sections_tags.h1.4 Linker.ld1.5.1文件列表关系2.验证结果2.1map1.修改内容总目录1.1 \soc\arm\nxp_imx\rt\soc.c...原创 2019-04-06 13:40:26 · 808 阅读 · 0 评论 -
【zephyr】 arch pinmux.c初始化LED,LPUART
//E:\work\code\zephyr20190302\boards\arm\mimxrt1050_evk\pinmux.c#include <init.h>#include <fsl_iomuxc.h>static int mimxrt1050_evk_init(struct device *dev){ ARG_UNUSED(dev); CLOCK_...原创 2019-04-06 11:00:44 · 636 阅读 · 0 评论 -
【zephyr】 i.MX RT MPU config
MPU配置// \arch\arm\soc\nxp_imx\rt\arm_mpu_regions.c#define PERIPH_BASE 0x40000000#define PPB_BASE 0xE0000000static struct arm_mpu_region mpu_regions[] = { /* Region 0 */ MPU_REGION_ENTRY("FLA...原创 2019-04-06 10:50:27 · 734 阅读 · 0 评论 -
【zephyr】arch 头文件包括
异常出错定义In file included from ../../../../ext/hal/nxp/mcux/drivers/imx/./fsl_common.h:168:0, from ../../../../arch/arm/soc/nxp_imx/rt/soc.h:18, from ../../../../inc...原创 2019-04-06 10:30:09 · 495 阅读 · 0 评论 -
【zephyr】 设备驱动和设备模型_apds9660 接近(Proximity)传感器(二)
目录1.apds9960_driver_api接口函数实现说明1.1sample_fetch1.2channel_get2.apds9960 传感器初始化动作1. proxy接近传感器2.2环境光ALS初始化1.apds9960_driver_api接口函数实现说明1.1sample_fetchstatic int apds9960_sample...原创 2019-04-07 08:58:07 · 821 阅读 · 0 评论