https://github.com/paMcuLib/paMcuLib_esp32_idf_cmake_demo/edit/main/README.md
paMcuLibDemo_esp32
paMcuLib demo project for esp32
paMcuLib esp32平台的例程
了解更多关于paMcuLib的信息
Start dev/开始开发
-
1.prepare the necessary environment
1.准备必要的环境
- 1.1 vscode
- 1.2 idf with vscode
- 1.3 vscode extensions
-
2. git clone this project
-
3. open this project with vscode
3.用vscode 打开这个项目
-
3.1 submodule_helper.json check this file to know about submodules
3.1 检查这个文件来了解子模块结构
-
ctrl+shift+p open command palette
打开命令面板
-
select this command
选择这个命令
-
then you will see the modules directories will be loaded with contents
然后你可以看到子模块文件夹里会加载内容
-
-
that means the submodules are loaded successfully
那意味着子模块加载成功了
-
-
-
3.1 right click on side bar and select the second one
3.1 右击侧边栏并选择第二项
-
-
you can see a structure of config
你可以看到一个配置结构
you can switch the demo config and set the gpio of ili9341
你可以切换demo的设置以及设置ili9341的gpio
remember to connect the screen as the config
记得照着配置连好屏幕
-
then right click the side panel and select 3rd part to generate config headers
然后右击侧边栏选择第三项来生成conf头文件
headers are generated in target path
头文件会被生成到目标路径中
-
-
3.2 compile with idf
3.2 使用idf编译
-
-
after loaded, the screen turned to black after inited.
加载完成后,屏幕会变成黑色,
-
-