Search found 10 matches

by cqh963852
Sat Mar 27, 2021 2:36 pm
Forum: ESP-IDF 中文讨论版
Topic: [求助] harmony os 移植
Replies: 2
Views: 4684

[求助] harmony os 移植

请问有没有人做过harmony os的移植。
读了下harmony os移植的手册。对esp32的话,应该是要做芯片架构的适配。
本人没有相关的工作经验,有人能帮忙推测下芯片架构适配的难度吗?
by cqh963852
Fri Dec 25, 2020 3:53 pm
Forum: ESP-IDF 中文讨论版
Topic: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题
Replies: 10
Views: 20952

Re: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题

//1 esp_netif_init(); esp_event_loop_create_default(); esp_netif_create_default_wifi_ap(); wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); esp_wifi_init(&cfg); esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL, NULL); //2 esp_wifi_set_mode(WIFI_MODE_AP...
by cqh963852
Fri Dec 25, 2020 9:55 am
Forum: ESP IoT Solution 中文讨论版
Topic: ESP32-DevKitC 板是否有 Android java example code?
Replies: 2
Views: 20724

Re: ESP32-DevKitC 板是否有 Android java example code?

我猜你想表达的意思,应该是:通过android app,控制esp32。

所以应该是 esp32 ap wifi example. https://github.com/espressif/esp-idf/tr ... ted/softAP

所以可以假定流程是

android app 使用java 代码发送 wifi,或者 bluetooth 数据。

esp32 用c 代码处理,并且通过 wifi 或者 bluetooth 返回数据。
by cqh963852
Fri Dec 25, 2020 9:39 am
Forum: ESP-IDF 中文讨论版
Topic: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题
Replies: 10
Views: 20952

Re: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题

//1 esp_netif_init(); esp_event_loop_create_default(); esp_netif_create_default_wifi_ap(); wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); esp_wifi_init(&cfg); esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL, NULL); //2 esp_wifi_set_mode(WIFI_MODE_AP...
by cqh963852
Thu Dec 24, 2020 3:56 pm
Forum: ESP-IDF 中文讨论版
Topic: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题
Replies: 10
Views: 20952

Re: 关于esp32模块,使用官方wifi例子烧录后出错EFUSE CRC问题

我的小米模组 esp-wroom-32d 也是同样的问题。
by cqh963852
Mon Dec 21, 2020 1:39 am
Forum: ESP-IDF 中文讨论版
Topic: IDF快速入门 第7步-无法配置
Replies: 4
Views: 5910

Re: IDF快速入门 第7步-无法配置

Code: Select all

CMake Error at E:/esp/esp-idf/CMakeLists.txt:5 (include):
include could not find load file:

/CMakeLists.txt
建议你把对应的两个 CMakeLists.txt 都以代码的形式发出来。
by cqh963852
Sun Dec 20, 2020 5:24 pm
Forum: ESP-IDF 中文讨论版
Topic: [求助] lua 源码 移植
Replies: 0
Views: 2223

[求助] lua 源码 移植

我从 examples 里面复制了一个 hello_world 项目,可以正常运行。之后我想将lua 作为 一个组件引入 hello_world。 但是在构建过程中提示找不到头文件。 Scanning dependencies of target __idf_main [ 99%] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.c.obj /home/cqh/workspace/hello_world/main/hello_world_main.c:15:10: fatal error: la...
by cqh963852
Fri Dec 11, 2020 1:28 pm
Forum: ESP32 Arduino
Topic: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
Replies: 11
Views: 13274

Re: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope

I have meet the same problem.I didn't resolve it unitil now. SOC_GPIO_PIN_COUNT is defined at soc_caps.h and esp32-hal-gpio.h has include soc_caps.h esp32-hal.h has include esp32-hal-gpio.h SOC_GPIO_PIN_COUNT -> soc_caps.h -> esp32-hal-gpio.h -> esp32-hal.h -> Arduino.h but esp32-hal-gpio.h has also...