Comments (11)
I have the same issue when trying to build the alink_smart_device_demo, but this repo seems to be in dead silence. Have you come out with a solution for this?
Just found out the command idf_set_global_variables
was added on the ESP-IDF version 4 (source here). So you can eighter use the make based build system or update to esp-idf 4.0 to use the CMake based one (idf.py is based on CMake).
Here's what i did to update the esp-idf submodule of this repo:
First I checked the status of the git submodules:
esp-iot-solutions $ git submodule status
84781c62c2a8291aacdc7abd6ae54e64a2b6b72b components/hmi/lvgl_gui/lvgl (v5.3)
835f0f197f7fc7eecf5dcd36892987c71caa5caa components/hmi/ugfx_gui/ugfx (v2.7-196-g835f0f19)
51a5ca026f0bafe0a3f2084b9177cc9d48994fb6 components/network/mqtt/espmqtt (ESP-MQTT_FOR_IDF_3.1-1-g51a5ca0)
c1284d48b2ea9b8cc92926e5e3fe9708ae80c61a components/platforms/alink/esp32-alink (heads/master)
7d73ae821439f62a8f332cc67e2c1ce2455f073c components/spi_devices/lcd/Adafruit-GFX-Library (v1.2.3)
055943e29346e77c50589c61a8a26101a8b35d7b submodule/esp-idf (v3.2.2)
You can see esp-idf is in version 3.2.2.
Then i went to the esp-idf directory and pulled master
esp-iot-solutions $ cd submodule/esp-idf
esp-idf $ git pull origin master
...
Went back to the root directory of esp-iot-solutions and checked the submodules status again
esp-iot-solutions $ git submodule status
84781c62c2a8291aacdc7abd6ae54e64a2b6b72b components/hmi/lvgl_gui/lvgl (v5.3)
835f0f197f7fc7eecf5dcd36892987c71caa5caa components/hmi/ugfx_gui/ugfx (v2.7-196-g835f0f19)
51a5ca026f0bafe0a3f2084b9177cc9d48994fb6 components/network/mqtt/espmqtt (ESP-MQTT_FOR_IDF_3.1-1-g51a5ca0)
c1284d48b2ea9b8cc92926e5e3fe9708ae80c61a components/platforms/alink/esp32-alink (heads/master)
7d73ae821439f62a8f332cc67e2c1ce2455f073c components/spi_devices/lcd/Adafruit-GFX-Library (v1.2.3)
+93a8603c545fb8e54741d6685146e2f3b874378d submodule/esp-idf (v4.1-dev-1086-g93a8603c5)
from esp-iot-solution.
@brownx Please refer to perpare
from esp-iot-solution.
@C47D This may be encounter problem that other example can't complie in esp-iot-solution.
from esp-iot-solution.
I was looking to try even bumping esp-idf up to 3.2.3 but alas I get the same idf_set_global_variables
issue when building 😢
from esp-iot-solution.
idf_set_global_variables this is located in idf 3.2.2
from esp-iot-solution.
@InfiniteYuan1 thanks, I figured out how to get idf 3.2.3 working.
after the initial clone of esp-iot-solution.
git submodule update --init --recursive
cd submodule/esp-idf
git checkout v3.2.3
git submodule update --init --recursive
And then I navigate to examples/esp32_azure_iot_kit
and the project builds with make 👍
Note also works with v3.3.1
tag as well.
Cheers
from esp-iot-solution.
Then i went to the esp-idf directory and pulled master
esp-iot-solutions $ cd submodule/esp-idf esp-idf $ git pull origin master ...
@C47D I tried your solution to update the esp-idf submodule, but encountered the following errors:
Unlink of file 'components/micro-ecc/micro-ecc' failed. Should I try again? (y/n) y
Unlink of file 'components/micro-ecc/micro-ecc' failed. Should I try again? (y/n) n
Unlink of file 'components/aws_iot/aws-iot-device-sdk-embedded-C' failed. Should I try again? (y/n) y
Unlink of file 'components/aws_iot/aws-iot-device-sdk-embedded-C' failed. Should I try again? (y/n) n
There are hundreds of CONFLICT messages after this, so I'm not going to post them all here. An example is CONFLICT (content): Merge conflict in tools/unit-test-app/unit_test.py
.
@InfiniteYuan1 The esp-idf submodule branch in esp-iot-solution is v3.2.2, which does not recognize "idf_set_global_variables". git submodule update --init --recursive
does not help me at all because it just reverts the idf to 3.2.2. Is there another way to update it to 4.0? I tried to do a straight forward git clone of the esp-idf repository but then cmake failed.
from esp-iot-solution.
@Alexlizx Hi, I haven't been able to work on this repo since I posted my proposal, but if you are trying to get a quick demo of LVGL running on the ESP32 we are working on this repo. Hope it helps!.
from esp-iot-solution.
@C47D Thank you for the quick reply. I am working to get the aws_iot_demo example running on my board but I keep running into Unknown CMake command "idf_set_global_variables"
like the OP. Just curious about how you were able to update the idf submodule.
from esp-iot-solution.
New esp-iot-solution/tree/release/v1.1 branch based on esp-idf v4.0.1 becomes available now.
from esp-iot-solution.
The ESP-IDF has integrated LVGL from v5.0, please use the component https://components.espressif.com/components/espressif/esp_lvgl_port instead, and you can find more examples in https://github.com/espressif/esp-idf/tree/master/examples/peripherals/lcd and https://github.com/espressif/esp-bsp/tree/master/esp32_s3_lcd_ev_board
from esp-iot-solution.
Related Issues (20)
- [usb_stream] Bad UVC frame (AEGHB-659) HOT 10
- esp_ble_conn_mgr no disconnect event (AEGHB-663) HOT 1
- esp_conn_mgr does not advertise service uuid when include_service_uuid is set (AEGHB-665)
- 'esp_spiram_get_size' was not declared in this scope (AEGHB-667) HOT 1
- [usb_device_uac] assert failed: xTaskCreatePinnedToCore freertos_tasks_c_additions.h (AEGHB-674) HOT 2
- [espressif/keyboard_button] How to trigger KBD_EVENT_COMBINATION? HOT 5
- USB CDC 4G Example getting stuck (AEGHB-681) HOT 3
- where the head file (AEGHB-683) HOT 1
- [espressif/keyboard_button] How to handle previously pressed keycodes? (AEGHB-685) HOT 2
- examples/usb/host/usb_camera_mic_spk (AEGHB-690) HOT 1
- EPS32S3 SH8601 QSPI驱动无法正常使用 (AEGHB-692) HOT 5
- iot_button_get_event无法获取到BUTTON_SINGLE_CLICK,BUTTON_DOUBLE_CLICK事件 (AEGHB-693) HOT 7
- 下载espressif_esp_lcd_st7701_1.1.0压缩包解压后,构建项目提示错误 (AEGHB-694) HOT 2
- LED Indicator组件的led_indicator_start和led_indicator_set_brightness亮度值过渡不连续 (AEGHB-697) HOT 8
- USB_dongle 无法发送命令 (AEGHB-715) HOT 2
- How to enable communication between PC and espS3 with USB dongle burned? (AEGHB-720) HOT 1
- st7701 RGB+SPI display rotation support (AEGHB-721) HOT 1
- Missing documentation (IDFGH-13201) (AEGHB-724) HOT 1
- usb_webcam example no longer working because no versions of espressif/tinyusb match >=0.15.0~10 (AEGHB-730) HOT 13
- ESP32-S3-A7670E-4G 开发板,usb 设备先上电 或者 执行 esp_reset() 后,_usbh_processing_task 无法找到 usb 设备进入无限等待。 (AEGHB-737) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-iot-solution.