An open API service indexing awesome lists of open source software.

https://github.com/weimingtom/wmt_esp32_study

My ESP32 study
https://github.com/weimingtom/wmt_esp32_study

Last synced: about 2 months ago
JSON representation

My ESP32 study

Awesome Lists containing this project

README

        

# wmt_esp32_study
My ESP32 study

## cmd
* search baidupan, esp-idf-4.3_v2_200m.part01.rar

## msys
* search baidupan, msys_esp-idf_v3.1.2_v1.rar
* search baidupan, msys_esp-idf_v3.1.7_v1.rar
* search baiduapn, msys_esp-idf_v3.3.4_v1.rar
* search baidupan, msys_esp-idf_v2.0_v1.rar
* (TODO) cmake support
* (TODO) new version of toolchain
* (TODO) make size support
* (TODO) v4, s2
* (TODO) conf-idf.exe wordexp port, see esp-idf-v2.0 version
* (TODO) make monitor support (port winpty)

## esp-idf usage:
* make defconfig && make

## Old README
* https://github.com/weimingtom/wmt_esp32_study/blob/main/README_001.md

## esp32 msys2 dev env
serach baidupan, esp32_blink_burn.jpg
search baidupan, 快速入门.docx
https://docs.espressif.com/projects/esp-idf/zh_CN/v3.1.7/get-started/index.html
https://docs.espressif.com/projects/esp-idf/zh_CN/v3.1.7/get-started/windows-setup.html
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20180110.zip
https://dl.espressif.com/dl/esp-idf/releases/esp-idf-v3.1.2.zip
https://dl.espressif.com/dl/esp-idf/releases/esp-idf-v3.1.7.zip
(double click mingw32.exe)
$ cd
$ mkdir esp
(unzip esp-idf-v3.1.2.zip to /msys32/home/a/esp)
$ cd esp/esp-idf/
$ export IDF_PATH=~/esp/esp-idf
$ cd $IDF_PATH/examples/get-started/hello_world
$ make clean
$ make menuconfig
(press tab key, exit, wait GENCONFIG end)
$ make
LD build/hello-world.elf
esptool.py v2.6-beta1
To flash all build output, run 'make flash' or:
python /home/a/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 /home/a/esp/esp-idf/examples/get-started/hello_world/build/bootloader/bootloader.bin 0x10000 /home/a/esp/esp-idf/examples/get-started/hello_world/build/hello-world.bin 0x8000 /home/a/esp/esp-idf/examples/get-started/hello_world/build/partitions_singleapp.bin

## ESP32 firmware flash, with flash_download_tool
https://www.espressif.com/en/support/download/other-tools
Flash Download Tools (ESP8266 & ESP32 & ESP32-S2)
Windows PC V3.8.5 2020.04.26
https://www.espressif.com/sites/default/files/tools/flash_download_tool_v3.8.5.zip
(for NodeMCU-32S)
Example Configuration->blink gpio number->2
(CONFIG_BLINK_GPIO=2)
In flash_download_tool_3.8.5.exe:
bootloader.bin 0x1000
blink.bin 0x10000
partitions_singleapp.bin 0x8000
see https://docs.ai-thinker.com/esp_download

## 使用步骤
如果想在windows下使用esp-idf,可以用旧的v3.1.7版本:
(1)在官方的文档中下载windows工具链和3.1.7的esp-idf,不要自己git下载,因为这里涉及很多仓库检出,
比较麻烦,还是直接下载好了。下载两个压缩包后放在一起(我把esp-idf解压到esp/esp-idf下)
https://docs.espressif.com/projects/esp-idf/zh_CN/v3.1.7/get-started/index.html
(2)使用mingw32.exe启动命令行(不要用其他exe),然后导出全局变量IDF_PATH,例如这样:export IDF_PATH=~/esp/esp-idf
(3)编译examples/get-started/blink示例,在make menuconfig的时候把
Example Configuration->blink gpio number修改成2,因为NodeMCU-32S(安信可的开发板)
的灯是GPIO2控制的,然后make编译
(4)如果想单独刷固件,可以参考安信可的文档:《如何为 ESP 系列模组烧录固件》
https://docs.ai-thinker.com/esp_download
而flash_download_tool在官网下:
https://www.espressif.com/en/support/download/other-tools
也可以用make flash刷固件,不过不够直观

## doc
* esp32 ref
https://docs.espressif.com/projects/esp-idf/en/latest/index.html

* 安信可-NodeMCU-32S 核心开发板, esp32
http://wiki.aithinker.com/esp32/boards/nodemcu_32s

* ESP8266 ESP32
https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266---ESP32

* ESP-IDF Programming Guide
https://docs.espressif.com/projects/esp-idf/en/latest/index.html

* ESP32 资源
https://www.espressif.com/zh-hans/products/hardware/esp32/resources

* ESP32 技术参考手册 (pdf)
https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_cn.pdf

* ESP32 常见问题 (pdf)
https://www.espressif.com/sites/default/files/documentation/ESP32_FAQs__CN.pdf

## Tools
* esp-idf (for esp32)
for windows, need msys2 (from dl.espressif.com) and esp-idf two parts
https://docs.espressif.com/projects/esp-idf/en/stable/get-started/windows-setup.html
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20180110.zip
https://docs.espressif.com/projects/esp-idf/en/stable/get-started/
$ cd ~/esp
$ git clone -b v3.1.2 --recursive https://github.com/espressif/esp-idf.git

* arduino plugin (for esp32)
https://dl.espressif.com/dl/package_esp32_index.json

* cdt (for esp8266, esp32)
http://wiki.aithinker.com/ai_ide_install
cygwin\opt\xtensa-lx106-elf
cygwin\opt\xtensa-esp32-elf

* FLASH_DOWNLOAD_TOOLS
<> for esp32
(baidupan) FLASH_DOWNLOAD_TOOLS_V3.6.2.2_v1_good.rar

* esplorer
<> for esp32, esp8266
(baidupan) esplorer_v1.rar

## 通过ESP-IDF工具安装器在windows下搭建esp32环境
* https://blog.csdn.net/m0_50151793/article/details/110226199

## HoloCubic--多功能透明显示屏桌面站
https://github.com/peng-zhihui/HoloCubic

## 安信可IDE 0.5版本esp-idf
* https://dl.espressif.com/dl/esp-idf/releases/esp-idf-v2.0.zip

## esp-idf v3.1.2 msys port
费了很大的劲,终于把esp-idf v3.1.2搬到msys上,不同于官方的
msys2方法和安信可的cygwin方法,我用我自己的方法解决绿色安装问题:
(1)工具链:可以直接用msys2里面的工具链,在opt目录下。那个工具
链不依赖mingw32,如果用安信可IDE版本,可能会依赖于cygwin的dll
(2)kconfig的两个命令:esp-idf会在构建前调用mconf-idf和conf-idf,
我测试过可以预编译,这样就不需要另外再加一个本机gcc工具链了。
但是,这两个工具不容易编译,mconf-idf依赖于ncurses,而conf-idf
依赖于一些linux特定的头文件,所以要费很大的功夫去改,甚至要改动
esp-idf的构建文件。最后,我自己编译出魔改版的conf-idf,而
mconf-idf直接复制conf-idf即可,因为我不需要menuconfig
(3)几个py脚本需要转成exe,否则会依赖于本地的python,我通过
pyinstaller把以下几个脚本转为exe(同时需要改动esp-idf的构建脚本):
esptool、gen_esp32part和parttool

## ESP32 toolchain
* https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-win32.zip
* see https://github.com/espressif/crosstool-NG/releases

## ESP32S2 toolchain
* https://dl.espressif.com/dl/xtensa-esp32s2-elf-gcc8_2_0-esp-2020r2-win32.zip

## 基于红旭开发板的ESP32教程
https://github.com/xiaolongba/HX_DK_FOR_ESP32

## IoTs2帮助文档(Python版), 创客教育小站
IoTs2采用ESP32-S2(Xtensa 32-bit LX7单核CPU,主频达240MHz) WiFi SoC,
板上带有8MB FlashROM和8MB RAM、1.13寸彩色LCD(135x240点阵)、
3轴加速度传感器(LIS3DH), 以及1颗可编程RGB和1颗可编程蓝色LED、
1个可编程按钮等资源。
https://python4iots2.readthedocs.io/en/latest/index.html

## ESP32_MP3_Decoder
https://github.com/MrBuddyCasino/ESP32_MP3_Decoder

## 《ESP32 开发指南》, 四博智联, 深圳智能创客中心
search baidupan, ESP32开发指南书中例子代码.rar
ESP32使用手册:
https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266---ESP32

## ESP32WiFiBleControlProject
https://github.com/xuhongv/ESP32WiFiBleControlProject
https://aithinker.blog.csdn.net/article/details/114983580
https://docs.ai-thinker.com/esp32c3

## ESP32-BLE-Gamepad
https://github.com/lemmingDev/ESP32-BLE-Gamepad
https://whycan.com/t_6466.html

## ExpressLRS
https://github.com/ExpressLRS/ExpressLRS

## Using esp-idf v4.3 to build esp32c3 firmware
我测试过,可以很丝滑地用esp-idf v4.3编译出esp32c3的固件。
首先,你需要很清楚知道目前最新版esp-idf的执行原理,
它是通过用cmake来代替make,直接调用gcc工具链而非转换成makefile。
所以linux版安装过程很简单,首先用virtualbox搭建一个xubuntu 20.04环境,
然后下载解压导出PATH安装cmake,然后下载解压esp-idf-v4.3.zip,
然后执行install.sh安装工具链和venv,然后执行export.sh导出PATH,
然后复制blink示例到某个目录,然后执行idf.py set-target esp32c3,
然后idf.py menuconfig,最后idf.py build即可

## Watchy
https://github.com/sqfmi/Watchy

## 安信可ESP32-C3-13, AI-Thinker ESP32-C3-13-kit
今天入手了安信可ESP32-C3-13开发板(外置2MB Flash版),
我把blink闪烁灯的固件刷进去了(用最新的esp-idf编译,用xubuntu运行),
刷固件是用Windows的工具flash_download_tool_v3.8.8。
刷完之后可以看到蓝色灯珠闪烁,应该就是GPIO5,
如果在排针IO5上接LED也有相似的效果。
安信可的这块板有个缺点,没办法看到串口日志,
只能通过另一个USB-TTL转换器(我用的是FT232)
接排针的三线串口(RX/TX/GND),板上的USB只供电,
才能看到串口输出,方式是115200-8-1-N,流控任意

## IoTs2
https://python4iots2.readthedocs.io/en/latest/index.html

## ESP32-CAM
https://github.com/donny681/ESP32_CAMERA_QR/wiki
https://www.waveshare.com/wiki/ESP32-CAM

## wifiboy
https://www.wifiboy.org/tw/
https://wifiboy.club

## esp32_mmd
https://github.com/elect-gombe/esp32_mmd

## A wifi webradio with only low cost boards ESP8266 and VS1053 by Jp Cocatrix
https://github.com/karawin/Ka-Radio32

## 启明云端, WT32-SC01/ESP32彩屏/3.5寸 串口屏 320*480 /启明云端/HMI/8ms
https://item.taobao.com/item.htm?id=611104447515
https://github.com/wireless-tag-cn/lv_port_esp32

## 光轮电子, Atouch, 吃鸡开发板(ATouch)
https://github.com/guanglun/ATouch
https://github.com/guanglun/ESP32_CH374U
https://item.taobao.com/item.htm?id=595635571591
http://guanglundz.com/atouch/guide

## ESP32彩屏 触摸屏 实现儿童绘本 点点点 WT32-SC01
https://www.bilibili.com/video/av585272027/
启明云端
http://esp32.8ms.xyz/login 。
开源地址:https://github.com/wireless-tag-cn/lv_port_esp32
320*RGB*480:WT-352215-A2
ESP32-WROVER-B:8MB PSRAM+4MB Flash

## ESP_MASTER
https://github.com/Kevincoooool/ESP_MASTER

## LVGL, 恩创显示模组 Nscreen32
https://yeacreate.com.cn/zh/product/nscreen32.html
https://store.yeacreate.com.cn/products/3
https://github.com/yeacreate-opensources/Nscreen_32
search baidupan, Nscreen_32-master.zip

## Cloud-native IoT operating system for microcontrollers. With Xtensa architecture support.
https://github.com/foss-xtensa/amazon-freertos

## ESPHome is a system to control your ESP8266/ESP32
https://github.com/esphome/esphome

## wt32-sc01
* https://github.com/lovyan03/LovyanGFX
* https://macsbug.wordpress.com/2022/03/10/lvgl-8-demo-with-wt32-sc01/
* https://macsbug.wordpress.com/2022/03/04/lvgl-8-demo-with-m5stack/

## QuickJS_ESP32_IoT_Device
* https://github.com/poruruba/QuickJS_ESP32_IoT_Device

## esp32-gameboy
* https://github.com/lualiliu/esp32-gameboy

## esp32 infones
* https://gitee.com/weimingtom2000/infones

## SmallDesktopDisplay_2432S028R, Arduino IDE, Program ROM Flash not enough
* Board: ESP32 Dev Module
* Partition Scheme: Huge APP (3MB No OTA/1MB SPIFFS)
* SmallDesktopDisplay_v4.rar
* 4_11_SmallDesktopDisplay.rar

## easyio-lib-for-esp32, search uart_rx_task
* https://github.com/ZhiliangMa/easyio-lib-for-esp32

## retro-go and Retro-Yao-Mio
* https://github.com/100askTeam/retro-go-yao-mio/tree/yao-mio
* http://esp32.100ask.net/#/Retro-Yao-Mio/chapter1-1
* https://forums.100ask.net/t/topic/2991
* https://gitee.com/weidongshan/retro-go-yao-mio/tree/yao-mio/
* https://github.com/ducalex/retro-go
* https://forums.100ask.net/t/topic/1285
* http://esp32.100ask.net/#/Retro-Yao-Mio/chapter3-1
* https://forums.100ask.net/t/topic/2991

## ThatProject
* https://github.com/0015/ThatProject

## RUN YOUR FAVORITE 8-BIT GAMES ON AN ESP32
* https://github.com/rossumur/esp_8_bit#composite-video
* https://hackaday.com/2020/06/09/run-your-favorite-8-bit-games-on-an-esp32/

## Arduino IDE, ESP32 version
* arduino ide 1.8.4
* esp32 2.0.2 用于t-watch-2020-v3
* esp32 2.0.7 ???不好,装不了esptool.py?
* esp32 2.0.11 t-display-s3
```
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
https://raw.githubusercontent.com/chipKIT32/chipKIT-core/master/package_chipkit_index.json
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
https://arduino.esp8266.com/stable/package_esp8266com_index.json
```

## LILYGO T-Display-S3
* 游戏机代码
* https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/main/example/nes/nes.ino
* search baidupan, nes_td3s_v2_libraries.rar