外置

简介

主要用于SDK 2.4版本及以后的仓库,推荐使用,把屏驱放置SDK外部运行,创建新屏驱的方法

目录结构

此处以sf32lb52-lcd_n16r8板子,屏幕模组(nv3051f屏驱+gt911触控驱动), aw9364背光驱动芯片 为例:

nv3051f_driver
├──NV3051F
│   ├──nv3051f
│   │   ├──nv3051f           #The implementation of screen shielding
│   │   └──SConscript        #Compile the link file
│   │
│   ├──gt911                #gt911触控驱动的目录
│   │   ├──gt911.c          #触控驱动的c文件
│   │   ├──gt911.h          #触控驱动的头文件
│   │   └──SConscript        #Compile the link file
│   │
│   ├──aw9364                #aw9364背光驱动芯片,背光设备“lcdlight”
│   │   ├──aw9364.c          #背光驱动芯片的c文件
│   │   ├──aw9364.h          #背光驱动芯片的头文件
│   │   └──SConscript        #Compile the link file
│   │ 
│   ├──project
│   │   └──Kconfig.proj      #The menuconfig menu definitions for the screen module and the macro definitions for the screen driver IC, touch IC, and backlight IC
│   │
│   └──src
│       ├──main              #Screen debugging project, calling "lcd" and "touch" devices
│       └──SConscript        #Compile the link file
└──SiFli-SDK

拉取SiFli-SDK仓库代码

首先安装所需的环境,可参考快速入门,如果你已经安装好环境,就可以直接拉取SDK仓库代码