ESP-IDF 2.0
Moderator: ESP_flying_raijin
-
- Posts: 95
- Joined: Tue Feb 21, 2017 10:17 pm
Re: ESP-IDF 2.0
For me, it's about knowing when to expect more of the promised functionality (that I've "groused" about previously ) in the Silicon being exposed through the IDF. They claim a few things of the ESP32 that unless you have some enhanced IP licensing available to you, you're not going to be able to know if there's any other errata on the silicon or not- and you can't use the desired functionality. Some projects would call for BT Classic...and you can't DO that yet. Some projects call for their meshing solution...and you can't DO that yet...
Re: ESP-IDF 2.0
nice, ESP-IDF v2.0 Release Candidate 2 online
rudi
best wishesSecurity
Fix bug where hardware RNG could be disabled following a soft reset
Fix stack overflows in mDNS component
Wifi and BT
phy_init no longer re-writes already valid calibration data
Correctly enable/disable PHY when WiFi and/or BT are enabled/disabled
New menuconfig options to set WiFi, BT and Ethernet MAC addresses
Enable BLE advertising channel 39
BLE advertising data no longer truncated after 31st octet
Multiple BLE GATT and GATT table fixes
Allow BT Blufi to work with small MTU size
BT Blufi correctly resets security mode on state reset
DHCP client reliability improvements
WiFi RX performance
Fix WiFi sniffer behaviour
Enable AP A-MPDU RX interface
General WiFi layer fixes & optimisations
OpenSSL layer fixes for large writes, debugging output
FreeRTOS
Fix crash if cross-core interrupt sent with flash cache disabled
Fix issue where lower priority task can preempt other core
New xPortInIsrContext() function to check if CPU is in ISR
Ethernet
Disable flow control in L2 to L3 copy mode
Example documentation, add GPIO for PHY power control to example
Deep Sleep
Restore correct deep sleep consumption, fix power regression in v2.0-rc1
Storage
Honour "encrypted" flag in partition table
Fix OTA when flash encryption is enabled
OTA falls back to factory if the ota data partition is invalid
OTA verifies new app image before switching sources
Fix issue with stale cache reads when flash encryption is enabled
fopen() works in append mode
Fix spi_flash operation crashes in single core mode
Fix MMAP for SPI_FLASH_MMAP_INST
sdmmc: Can set slot width when configuring slot
Tools
Partition table CSV can be an absolute path
Core dump documentation expanded, reliability fixes
menuconfig now works with gperf 3.1
Correct incremental builds when components added/removed
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: ESP-IDF 2.0
Hi there,
in order to use the latest esp-idf version from here which is the best way to "update" a running esp32 environment?
e.g.: if a I have a linux directory like /esp/esp-idf, do I only have to delete the existing esp-idf folder an just redo step 2 of your instruction from here?
best regards
DL88AI**
in order to use the latest esp-idf version from here which is the best way to "update" a running esp32 environment?
e.g.: if a I have a linux directory like /esp/esp-idf, do I only have to delete the existing esp-idf folder an just redo step 2 of your instruction from here?
best regards
DL88AI**
Last edited by DL88AI88 on Mon Mar 27, 2017 9:14 am, edited 1 time in total.
Re: ESP-IDF 2.0
Howdy,
Don't think of the ESP32 as desktop PC with an operating system onto which you can install upgrades and patches. Rather, think that the ESP32 runs ONLY one application at a time and that the application is a binary file which is "fixed in form" at compile time. When you run an ESP32 application, the ESP-IDF (the software development toolkit) is compiled INTO the application at that time. Once the application is deployed to the ESP32 there is no way to "patch" that running application. Instead what one would do is recompile the source of the application using a later version of the ESP-IDF and then re-flash the ESP32 device with the new copy of the application that is now at a later level.
Don't think of the ESP32 as desktop PC with an operating system onto which you can install upgrades and patches. Rather, think that the ESP32 runs ONLY one application at a time and that the application is a binary file which is "fixed in form" at compile time. When you run an ESP32 application, the ESP-IDF (the software development toolkit) is compiled INTO the application at that time. Once the application is deployed to the ESP32 there is no way to "patch" that running application. Instead what one would do is recompile the source of the application using a later version of the ESP-IDF and then re-flash the ESP32 device with the new copy of the application that is now at a later level.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: ESP-IDF 2.0
I wonderif one should install det ESP32 software over again to get then new IDEv 2.0. I am working inside arduino IDE, and want to test BLE. If they have some new examples showing how to use the BLE inside arduino IDE, it would be great,but that might be to early?
Re: ESP-IDF 2.0
Hello Neil,
does that mean I can't just upgrade my esp-idf folder in my linux system and compile with the new version?
(Sorry for my simplified thinking.)
Best regards
DL88AI88
does that mean I can't just upgrade my esp-idf folder in my linux system and compile with the new version?
(Sorry for my simplified thinking.)
Best regards
DL88AI88
Re: ESP-IDF 2.0
You can update an existing esp-idf folder like this:
Code: Select all
git fetch
git checkout v2.0-rc2
git submodule update --init
Re: ESP-IDF 2.0
Hello Igrr, hello Neil,
that is indeed easy.
Thank you very much.
Best regards
DL88AI88
that is indeed easy.
Thank you very much.
Best regards
DL88AI88
Re: ESP-IDF 2.0
I seem to have an issue using rc2 with Arduino as a component (on an existing rc1 project):
Code: Select all
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp: In function 'uint8_t sdcard_uninit(uint8_t)':
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp:624:58: error: 'esp_vfs_fat_unregister_path' was not declared in this scope
err = esp_vfs_fat_unregister_path(card->base_path);
^
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp: In function 'uint8_t sdcard_init(uint8_t, SPIClass*, int)':
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp:634:34: error: 'ff_diskio_get_drive' was not declared in this scope
if (ff_diskio_get_drive(&pdrv) != ESP_OK || pdrv == 0xFF) {
^
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp: In function 'bool sdcard_mount(uint8_t, const char*)':
[project src dir]/components/arduino/libraries/SD/src/sd_diskio.cpp:709:41: error: 'esp_vfs_fat_unregister_path' was not declared in this scope
esp_vfs_fat_unregister_path(path);
^
~/my_user/workspace/esp-idf-v2.0-rc2/make/component_wrapper.mk:176: recipe for target 'libraries/SD/src/sd_diskio.o' failed
make[1]: *** [libraries/SD/src/sd_diskio.o] Error 1
~/my_user/workspace/esp-idf-v2.0-rc2/make/project.mk:386: recipe for target 'arduino-build' failed
make: *** [arduino-build] Error 2
Re: ESP-IDF 2.0
v2.0 has been released: https://github.com/espressif/esp-idf/releases/v2.0
Who is online
Users browsing this forum: No registered users and 8 guests