Angus Gratton
2e05c6020f
mbedtls: Remove esp_aes_encrypt/decrypt
...
Deprecated in ESP-IDF V3.1
Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.
2019-09-19 18:49:37 +10:00
Angus Gratton
d139c851f3
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:49:37 +10:00
Angus Gratton
365e3fd685
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-19 18:49:37 +10:00
Angus Gratton
71fad5e2c0
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
94ba3a20cb
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
5a7d3ef319
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
e4a4e6ed81
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
8094e880c6
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
35b9223cf4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
fe97d14e0f
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-19 18:48:14 +10:00
Angus Gratton
2c16557ee7
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:48:14 +10:00
Ivan Grokhotkov
5f8e5db268
esp32/test: fix usage of deprecated fields
2019-09-19 18:48:14 +10:00
Angus Gratton
a9fe3165c4
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum
...
Removes deprecated ways of setting/getting CPU freq, light sleep freqs.
Deprecated since ESP-IDF V3.2
2019-09-19 18:48:13 +10:00
Angus Gratton
b01036e13e
driver: Remove features deprecated pre-IDF V4.0
2019-09-19 18:47:15 +10:00
Angus Gratton
10649ae23b
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
c4306f7942
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
62be877ada
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-19 18:45:36 +10:00
Jiang Jiang Jian
05d3665a14
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh get timer remaining time (v4.0)
See merge request espressif/esp-idf!6059
2019-09-18 16:38:31 +08:00
lly
1e01accaa4
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:30:03 +08:00
lly
77f186a7b9
ble_mesh: make unicast elem lookup O(1)
2019-09-16 15:06:52 +08:00
lly
89e848c820
ble_mesh: use adv report flow control for ble mesh
2019-09-16 14:44:34 +08:00
Angus Gratton
5e0cc123ee
Merge branch 'bugfix/cmake_sdkconfig_path' into 'release/v4.0'
...
fix bug for cmake build system
See merge request espressif/esp-idf!6102
2019-09-16 14:20:38 +08:00
jiangguangming
536c131114
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-16 11:18:04 +08:00
Angus Gratton
ef17d8bba1
Merge branch 'bugfix/httpd_sess_close_v4.0' into 'release/v4.0'
...
httpd_sess_close: Check for session validity before closing (v4.0)
See merge request espressif/esp-idf!5742
2019-09-16 08:21:37 +08:00
Angus Gratton
3194e12479
Merge branch 'bugfix/uart_select_free_v4.0' into 'release/v4.0'
...
VFS: Fix memory access after free() in UART select() (v4.0)
See merge request espressif/esp-idf!6085
2019-09-13 14:49:46 +08:00
Angus Gratton
bb52613bea
Merge branch 'bugfix/use_local_kconfiglib_v4.0' into 'release/v4.0'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v4.0)
See merge request espressif/esp-idf!6079
2019-09-13 14:47:07 +08:00
Piyush Shah
4ee065df79
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-09-12 08:41:31 +00:00
Roland Dobai
63c2834d7b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-12 08:38:31 +02:00
Jiang Jiang Jian
dbf2c3d480
Merge branch 'bugfix/btdm_config_msbc_v4.0' into 'release/v4.0'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5979
2019-09-12 13:23:54 +08:00
Jiang Jiang Jian
582d5de497
Merge branch 'bugfix/coex_bb_reset_lock_v4.0' into 'release/v4.0'
...
fix some coex bugs
See merge request espressif/esp-idf!6056
2019-09-12 11:04:10 +08:00
Jiang Jiang Jian
5a351af83f
Merge branch 'bugfix/flash_encryption_disable_plaintext_v4.0' into 'release/v4.0'
...
flash encryption: Always disable plaintext reflashes in Release mode (v4.0)
See merge request espressif/esp-idf!6070
2019-09-12 10:40:34 +08:00
Roland Dobai
a6fc9bf246
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:28:39 +02:00
Jiang Jiang Jian
d52b244ae8
Merge branch 'bugfix/openocd_ulp_install_instructions_v4.0' into 'release/v4.0'
...
docs: ulp: update for IDF Tools installation method (backport v4.0)
See merge request espressif/esp-idf!6065
2019-09-11 16:06:52 +08:00
Angus Gratton
00e3cb672b
Merge branch 'bugfix/flash_encryption_regressions_v4.0' into 'release/v4.0'
...
fix flash encryption regressions, add tests (backport v4.0)
See merge request espressif/esp-idf!6068
2019-09-11 12:06:02 +08:00
Jiang Jiang Jian
c53a5ee427
Merge branch 'bugfix/http_header_parser_resolution_v4.0' into 'release/v4.0'
...
(backport v4.0) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6041
2019-09-11 10:20:36 +08:00
Angus Gratton
69241907a5
bootloader: Link RTC clock functions to the iram_loader section
...
As flash encryption & secure boot needs these functions after the app is loaded.
Fixes regression introduced in fb72a6f629
2019-09-11 10:16:43 +10:00
Angus Gratton
d4ee21bd6d
docs: Small cleanup of flash encryption docs
2019-09-11 10:16:43 +10:00
Angus Gratton
5b69614e32
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
3e12967535
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80
has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
d9f1219a21
efuse: set timing configuration before writing
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
f3fc4916d2
ci: add jobs for flash encryption tests
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
b17ca9cb38
unit-test-app: add config with flash encryption enabled
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
801010dac6
spi_flash: fix mmap unit tests for flash encryption
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
f84394e550
examples/flash_encryption: refactor, add test
...
1. Clean up the example code
2. Add demonstration of partition read/write operations
3. Add example test
2019-09-10 17:19:44 +02:00
Ivan Grokhotkov
a0256b9e9d
flash encryption: add option to require flash encryption to be enabled
...
In testing environment, to avoid accidentally enabling flash
encryption on a device, CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED
can be set. If set, the bootloader will refuse to boot if flash
encryption is not enabled, instead of enabling it.
2019-09-10 17:19:08 +02:00
Ivan Grokhotkov
a37694741c
tiny-test-fw: support testing apps with flash encryption
...
If CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT is set, pass
--encrypted flag to esptool.py.
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
fae124a2c1
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
Closes https://github.com/espressif/esp-idf/issues/3907
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
ad100e497a
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-09-10 17:18:51 +02:00
suda-morris
28ee1c0da2
doc: update translation of ulp install instuctions
2019-09-10 17:10:17 +02:00
Ivan Grokhotkov
05b306bae1
docs: ulp: update for IDF Tools installation method
...
binutils-esp32ulp is installed automatically by install.sh/install.bat
or the IDF Tools Installer for Windows.
2019-09-10 17:10:17 +02:00