页次: 1
有个小工具,叫utools,里面有pdf转换的插件,用的是 https://pdf.cn 的转换服务
在menuconfig里Ethernet里有选项
4.3RMII clock部分用宏做到hal里了
参考idf里hal部分
void emac_hal_lowlevel_init(emac_hal_context_t *hal);
..
#if CONFIG_ETH_RMII_CLK_INPUT
#if CONFIG_ETH_RMII_CLK_IN_GPIO == 0
/* RMII clock (50MHz) input to GPIO0 */
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_EMAC_TX_CLK);
PIN_INPUT_ENABLE(GPIO_PIN_MUX_REG[0]);
#else
#error "ESP32 EMAC only support input RMII clock to GPIO0"
#endif
#endif
#if CONFIG_ETH_RMII_CLK_OUTPUT
#if CONFIG_ETH_RMII_CLK_OUTPUT_GPIO0
/* APLL clock output to GPIO0 (must be configured to 50MHz!) */
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
PIN_INPUT_DISABLE(GPIO_PIN_MUX_REG[0]);
#elif CONFIG_ETH_RMII_CLK_OUT_GPIO == 16
/* RMII CLK (50MHz) output to GPIO16 */
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO16_U, FUNC_GPIO16_EMAC_CLK_OUT);
PIN_INPUT_DISABLE(GPIO_PIN_MUX_REG[16]);
#elif CONFIG_ETH_RMII_CLK_OUT_GPIO == 17
/* RMII CLK (50MHz) output to GPIO17 */
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO17_U, FUNC_GPIO17_EMAC_CLK_OUT_180);
PIN_INPUT_DISABLE(GPIO_PIN_MUX_REG[17]);
#endif
#endif // CONFIG_ETH_RMII_CLK_OUTPUT
/* Clock configuration */
...
你太直接了 虽然他公开,小心挨搞哦
资料在Home - Landing Page - 深圳触觉智能科技有限公司 http://www.industio.cn/ 的wiki有
前段时间看到域格也有活动,不过不包邮,下来16.5
域格的活动,不过已经结束了 :)笑哭
应该不是下载不了,是太慢了……
试试fastgit
git clone --recurse-submodules https://hub.fastgit.org/littlevgl/lvgl.git
缺少依赖文件,看提示你的idf应该是4.0或者以前的(猜测)
可以参考
https://github.com/espressif/esp-idf/tree/release/v4.0进行配置环境
在esp-idf目录下,执行
python -m pip install -r requirements.txt
这视频是真单色屏,黑的 :哈哈哈
https://whycan.cn/files/members/4169/IMG_2226.mp4
单色搞gui 各种蛋疼的问题 彩色好高许多
嗯,确实是烧录的分区表不对,我不该用esp-aliyun/config/mass_mfg目录下的single_mfg_config.csv.
在esp-aliyun/examples/mqtt/mqtt_example目录下有个partitions_esp32.csv,在menuconfig里设置分区表为自定义的,然后默认的名称是partitions.csv,改成partitions_esp32.csv即可。
然后idf.py build,报错,提示超过2m,按提示进入Menuconfig菜单,串口下载那里配置,把flash容量改成4M。
再次编译,通过,下载,重启,程序成功启动,不过提示mqtt订阅失败。有两个疑惑点:
1:mqtt/mqtt_example目录下有两个.csv文件,一个是8266的,一个是esp32的。但是esp-idf的esp-idf.py set-target命令,后面跟的参数只能是esp32或者是esp32s2,没法设置成8266吧?
2:默认配置里串口下载参数那里程序大小是2M,为什么是2M呢?买的esp32-wroom模块都是4M flash的啊。
1.因为我用8266的时候,没有用过idf工具,所以没办法回答,不过还是建议先看py工具的源码,最近我的项目是esp32,我自己使用esptool做了生产及相关的具有gui界面的工具,看了下源码,里面是包含了esp8266和esp32的接口,想必最新的idf工具也是这样
2.串口下载,我的esptool工具里,是有flash容量检测的接口的,你可以留意下工具源码,或者menuconfig里flash部分的设置没有设置对
第二个问题,在报错文件里加入了#include "esp_sleep.h"后,通过编译。
不过下载程序,启动后,还是报错:[inf] wrapper_mqtt_subscribe(2879): mqtt subscribe packet sent,topic = /sys/a10FtPOWmu8/esp32_modbus_test1/thing/property/desired/delete_reply! I (6705) factory_rst: Quick reboot timeout, clear reboot times I (6715) app main: IOTX_AWSS_BIND_NOTIFY user_awss_status_event_handler.68: Awss Status 4111 ***ERROR*** A stack overflow in task Tmr Svc has been detected. Backtrace:0x40090623:0x3ffbd480 0x400902e9:0x3ffbd4a0 0x40092ffd:0x3ffbd4c0 0x400946a2:0x3ffbd540 0x400930f0:0x3ffbd560 0x400930a6:0x3ffd6530 0x0000027d:0x401014d4 |<-CORRUPTED 0x40090623: panic_abort at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/esp_system/panic.c:330 0x400902e9: esp_system_abort at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/esp_system/system_api.c:68 0x40092ffd: vApplicationStackOverflowHook at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/freertos/xtensa/port.c:436 0x400946a2: vTaskSwitchContext at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/freertos/tasks.c:2769 0x400930f0: _frxt_dispatch at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/freertos/xtensa/portasm.S:431 0x400930a6: _frxt_int_exit at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/freertos/xtensa/portasm.S:231 0x401014d4: sntp_retry at /home/any/EclipseWorkship/MCU/ESP32/esp-idf/components/lwip/lwip/src/apps/sntp/sntp.c:367
从你的log里看,是任务Tmr Svc的栈溢出了,你适当调整下试试
分区文件csv各个键值部分的说明
参考分区表 esp32 — ESP-IDF 编程指南 latest 文档
报错信息是分区表不对应bootloader,你跑的aliyun的例程,也应烧对应的例程的Bootloader
可以参考
$IDF_PATH$/components/bootloader_support/src/bootloader_utility.c
我用的tampermonkey脚本
从这里获取https://www.tampermonkey.net/scripts.php
速度还挺快的
看店铺标价,单零卖应该就是88,液晶的话应该是他店里这款https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1175222619.26.69975228i8Alrv&id=527324515844
不过发现就是没有触摸
看起来不错, 这个液晶是什么型号, 单卖什么价格呢?
早上起来刷根天线,无意中看到3.2寸800x480全视角IPS液晶屏WIFI物联网智能显示屏M4
地址淘宝网 https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1175222619.19.6d51516cIIPLZo&id=608671060640
产品特点:
1、IPS全视角液晶屏,阳光下可视度高;
2、高分辨率800*480;
3、超大存储空间:16MB的FLASH及8MB的RAM,可以运行复杂的界面程序;
4、采用高性能TK499芯片,240MHz,带FPU,支持硬件浮点运算;
5、USB方式下载,可以用USB更新程序,图标及字库;
6、带WIFI模块,支持无线显示,利于接入IoT物联网
6、提供丰富外设:串口、SPI、GPIO、USB,SDIO、五向按键、3路LED灯;
7、性价比高,88元包含了高性能M4芯片,16M FLASH与8M RAM及高分辨率TFT屏,可以直接片上编程,比串口屏灵活,速度更快;
8、提供参考程序,原理图等;
9、批量客户支持定制;
这么大,竟然快1G了,没注册机,明年就不好玩了
[uVision updated to V5.29.0.0] ◾Added: option in License Manager to request a 30-day evaluation license of the MDK Professional edition. ◾Added support for v8.1-M architecture extensions (requires MDK Professional). ◾Enhanced: auto-generated scatter files can manage multiple modules with the same name. ◾Enhanced: librarian is skipped in build if all contained objects are up to date shortening the build times. ◾[Arm Compiler included] ◾Included Arm Compiler 5 version 5.06u6 - unchanged: see Release Notes for further details. ◾Updated Arm Compiler 6 to version 6.13 - see Release Notes for further details. ◾[Software Packs included] ◾Keil - MDK Middleware 7.10.0 ◾Updated File System Component to version 6.13.0 ◾Added ftime_set and ftime_get functions used to manage the file or directory timestamps. ◾Added status codes fsAlreadyExists and fsNotDirectory that allow more control when using fmkdir, frmdir and fchdir. ◾Added debug configuration for debugging with Event Recorder. ◾Added second instance of the RAM drive (drive R1). ◾Corrected bug in FAT file name compare for names with equal root and 13 characters in length (LFN). ◾Corrected bug in FAT cluster handling when deleting file which could cause false out of space error. ◾Corrected bug in fmedia which could cause non-initialized pointer access when using uninitialized drive. ◾Updated Network Component to version 7.12.0 ◾Added support for Digest access authentication in HTTP server. ◾Added support for user accounts in HTTP server Digest authentication. ◾Added support for passwords stored as MD5 hash value HA1. ◾Added support for the WiFi interface. ◾Added send frame buffering, if the MAC address in the IPv6 NDP cache is not resolved (the first call to the netUDP_Send function does not fail anymore). ◾Corrected possible memory corruption in CHAP authentication, when PPP interface used in client mode, and the server generates CHAP challenges of less than 16 bytes. ◾Corrected memory issue when receiving fragmented broadcast message. ◾Corrected return code from BSD_EINVAL to BSD_ESOCK if BSD socket is not created. ◾Corrected filtering for link-layer addressed UDP messages (datagrams with correct MAC address and invalid IP address are no longer received). ◾Corrected Neighbor Discovery failure, when the requested global IPv6 address is on-link. ◾Corrected problem in BSD socket timeouts, when the blocked receiving and blocked sending in the socket are simultaneously used from two threads. ◾Corrected problem, that the device is not accessible to IPv6 after changing the MAC address. ◾Corrected possible TCP socket retransmission failure in keep-alive mode for very short time limits, when the keep-alive timer expired before the retransmission timer. ◾Corrected CHAP authentication failure in the PPP interface, when used in client mode. ◾Improved and optimized network core processing. ◾Improved versioning, added library version to a map file (i.e.: "network_ip4_release_v7.10.6"). ◾Improved access to ethernet, serial and modem drivers. ◾Improved Event Recorder debug support and updated documentation for the debug events available in the Network Services. ◾Optimized send_frame functions for network interfaces. ◾Updated IGMP multicast address filtering. ◾Updated lease renewal in the DHCP client also updates the default Gateway. ◾Updated USB Component to version 6.13.7 ◾Added thread name for all threads created by the USB stack. ◾USB Host ◾Corrected CMSIS-RTOS1 compatibility mode compilation error in USART_CDC_ACM.c and USART_PL2303.c templates. ◾Corrected USBH_Device_GetController, USBH_Device_GetPort, USBH_Device_GetAddress, USBH_Device_GetVID, and USBH_Device_GetPID functions to work in device enumeration Initialize callbacks. ◾USB Device ◾Corrected delay on USB out transfer when multiple USB devices are used. ◾Corrected handling if endpoint configuration in driver fails. ◾Corrected MSC class support for sector size different than 512. ◾Corrected MAC_str_to_addr function in Ethernet RNDIS driver. ◾Corrected MAC_str_to_addr function in USBD_User_CDC_ACM_RNDIS_ETH.c and USBD_User_CDC_ACM_RNDIS_VETH.c templates. ◾Improved USB input buffers alignment (aligned to 32 bytes, support cache up to 32 bytes per cache line). ◾Unchanged Graphics Component to version 5.50. ◾Unchanged Board Support Interface specification. ◾ARM - CMSIS 5.6.0 ◾Updated: CMSIS-Core (Cortex-M) to version 5.3.0. ◾Added provisions for compiler-independent C startup code. ◾Corrected a compilation issue in cmsis_armclang_ltm.h introduced in 5.2.0. ◾Updated: CMSIS-Core (Cortex-A) to version 1.1.4. ◾Corrected an issue in the Floating Point Unit Function __FPU_Enable(). ◾Modified functions __get_SP_usr() / __set_SP_usr() to work with ArmClang. ◾Corrected a zero argument handling in function __CLZ(). ◾Updated: CMSIS-DSP to version 1.7.0. ◾Modified arm_math.h . ◾Removed dependance on cores. ◾Deprecated __SIMD32 and introduced new functions for SIMD accesses. ◾Added compilation flags for FFT. It is now possible to include only the tables required for FFTs. ◾Updated: CMSIS-NN to version 1.2.0. ◾Added arm_status arm_depthwise_conv_u8_basic_ver1 function for depthwise convolution with asymmetric quantization. ◾Added arm_nn_sat_doubling_high_mult and arm_nn_divide_by_power_of_two support functions for quantization. ◾Updated: CMSIS-RTOS to version 4.82. ◾Corrected: Recursive Mutex 16-bit lock counter is now checked to not overflow. ◾ Devices ◾Generalized C startup code for all Cortex-M family devices. ◾Updated Cortex-A memory regions and system configuration files. ◾ Utilities ◾Updated SVDConv to version 3.3.27. ◾Updated PackChk to version 1.3.87. ◾ARM - CMSIS-Driver 2.4.1 ◾Added CMSIS-WiFi driver for the Espressif ESP8266 WiFi module. ◾Updated CMSIS-WiFi driver for the Inventek ISM43362 WiFi module to version 1.2.0. ◾Corrected SocketClose functionality. ◾Updated Initialization function to handle unavailable reset pin. ◾Updated functionality to comply with CMSIS WiFi Driver Validation. ◾Added debug of SPI traffic to Event Recorder. ◾Corrected PHY_LAN8742A power down bit definition. ◾Keil - Arm Compiler 1.6.2 (Software Pack) ◾Added ARMV81MML to the list of supported processors. ◾Updated EventRecorder.scvd: ◾using level 'Detail' for start/stop A event group to not show in red. ◾adding prefix attribute to enable linking the event property to the doxygen documentation. ◾[Target debugging] ◾ULINKpro: ◾updated firmware to version 1.59 adding support for JTAG-DPv3 (ADIv6). ◾added support for CoreSight DAP v3 based on ADIv6. ◾added support for SDF files from CMSIS debug description for complex trace topologies. ◾added support for switch out of dormant state for CoreSight SW-DPv2 (Serial Wire Debug Port). ◾ULINKplus: ◾added support for CoreSight DAP v3 based on ADIv6. ◾added support for SDF files from CMSIS debug description for complex trace topologies. ◾added support for switch out of dormant state for CoreSight SW-DPv2 (Serial Wire Debug Port). ◾ULINK2: ◾added support for SDF files from CMSIS debug description for complex trace topologies. ◾added support for switch out of dormant state for CoreSight SW-DPv2 (Serial Wire Debug Port). ◾CMSIS-DAP: ◾added support for CoreSight DAP v3 based on ADIv6. ◾added support for SDF files from CMSIS debug description for complex trace topologies. ◾added support for switch out of dormant state for CoreSight SW-DPv2 (Serial Wire Debug Port). ◾ST-LINK (STMicroelectronics): ◾updated debug driver to version 3.0.7.0. ◾including firmware upgrade utility ST-LinkUpgrade.exe version 2.5.2. ◾NULink (Nuvoton) updated debug driver to version 3.01.6951. ◾Stellaris ICDI support has been removed. ◾ [Cortex-M Architecture models] ◾Updated Fixed Virtual Platform (FVP) support to version 11.8.59. ◾[Supported Operating Systems] ◾Refer to System Requirements Overview for hardware and operating system requirements.
https://armkeil.blob.core.windows.net/eval/MDK529.EXE
MDK 529 下载。
你如果单单要使用awesome图标的话,我这里有个24*24的awesome的c文件
builtin_Symbol24P.zip,已转换好的当前awesome已有的图标
使用参考lvgl内部的图标宏
其实你也可以直接在awesome官网下了ttf文件,然后在lvgl转换
不限定任何方式,只要是能生成littlevgl 可用的awesome图标字体就可以。
论坛里有网友阿里写的lvgl_font_convert工具,用起来不错,你找下看
最近发现老版本上 https://littlevgl.com/ttf-font-to-c-array-old 可以在线生成字体,但是新版本 https://littlevgl.com/ttf-font-to-c-array 上尝试生成字体,一直无法成功。。请问下有成功的么?
lvgl图片资源转换工具离线版
大概长这样:
能用到的,拿去用吧
页次: 1