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
suda-morris
546026d018
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:50:53 +08: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
michael
0bba92b2a0
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:16:00 +08:00
Michael (XIAO Xufeng)
399477cd10
coredump: use esp_flash api in coredump
...
Also put esp_flash functions into noflash region, when
ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables
the re-enabling of the CPU-cache when it's disabled during coredump.
This requires all the coredump functions including the flash API to be
in the D/IRAM.
2019-09-18 15:14:53 +08:00
Michael (XIAO Xufeng)
d3b54ec84a
esp_flash: fix the coredump issue
...
During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.
Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
2019-09-18 14:30:23 +08:00
Michael (XIAO Xufeng)
e4b44f3488
esp_flash: fix coredump for legacy spi flash API
...
When legacy mode is used, the coredump still fails during linking
because "esp_flash_init_default_chip", "esp_flash_app_init" and
"esp_flash_default_chip " are not compiled and linked.
Instead of using ``if`` macros in callers, these functions are protected
by ``if`` macros in the header, and also not compiled in the sources.
"esp_flash_default_chip" variable is compiled with safe default value.
2019-09-18 14:28:12 +08:00
Nachiket Kukade
ca80b0445d
wpa_supplicant: Make internal crypto headers private (backport v4.0)
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-09-17 13:28:30 +00:00
lly
1e01accaa4
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:30:03 +08:00
Martin Thierer
2ca3735edd
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:17:42 +08:00
Michael (XIAO Xufeng)
b9a2639ab4
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-16 17:10:08 +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
zhangyanjiao
67eb732dbe
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:37:29 +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