Mahavir Jain
9d67c1548e
Merge branch 'bugfix/esp_http_client_add_warning' into 'master'
...
Add error print in http_header_generate_string if buffer size
Closes IDFGH-2996
See merge request espressif/esp-idf!8265
2020-04-06 18:02:41 +08:00
Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
Shubham Kulkarni
471b40b0f0
http_header.c: Add error print in http_header_generate_string if buffer size is less than required size
...
Closes: https://github.com/espressif/esp-idf/issues/5028
2020-04-06 13:22:08 +05:30
Jiang Jiang Jian
7d0f1536e4
Merge branch 'bugfix/fix_adc_init_code_setting_for_esp32s2' into 'master'
...
driver(adc): fix adc calibration for esp32s2
See merge request espressif/esp-idf!8209
2020-04-04 16:06:16 +08:00
fuzhibo
406b8f423d
driver(adc): add adc initial code before app_main for esp32s2.
...
update phy v301
2020-04-04 10:15:30 +08:00
Michael (XIAO Xufeng)
a0e66fef08
spi: fix the memory accessed while cache disabled issue in the bus lock when log level is verbose
...
When CONFIG_LOG_DEFAULT_LEVEL is verbose, the ESP_(EARLY_)LOGx will try
to print with format string and tag out of the DRAM while the cache is
disabled. This commit puts the TAG into DRAM, and uses the
'ESP_DRAM_LOGx` to fix the cache miss bug.
Also fixes a LoadProhibited issue when last_dev is NULL.
2020-04-03 15:04:52 +02:00
Ivan Grokhotkov
60086d1bd0
Merge branch 'refactor/systimer_hal' into 'master'
...
systimer: add HAL layer
See merge request espressif/esp-idf!8115
2020-04-03 18:17:18 +08:00
Michael (XIAO Xufeng)
61ce037fc1
Merge branch 'feat/esp_flash_support_mxic' into 'master'
...
esp_flash: support MXIC flash chips
See merge request espressif/esp-idf!8037
2020-04-03 16:04:49 +08:00
Michael (XIAO Xufeng)
2f8a13c89b
Merge branch 'feat/esp_dram_log' into 'master'
...
log: new macros to log when the cache is disabled
See merge request espressif/esp-idf!8135
2020-04-03 14:51:02 +08:00
Angus Gratton
a7c2e86f87
Merge branch 'feature/ds_peripheral' into 'master'
...
Security: ESP32S2 Digital Signature HW support
See merge request espressif/esp-idf!8080
2020-04-03 12:10:13 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
Jiang Jiang Jian
79eb0d7a7d
Merge branch 'bugfix/fix_ble_hci_desync_deadlock' into 'master'
...
components/bt: Fix for HCI desync deadlock issue in BLE controller
See merge request espressif/esp-idf!8106
2020-04-02 22:22:17 +08:00
Krzysztof Budzynski
7a92dd431f
Merge branch 'bugfix/partition_types_cxx' into 'master'
...
docs: Explain custom partition types/subtypes in more detail
Closes IDFGH-2882
See merge request espressif/esp-idf!8192
2020-04-02 21:52:52 +08:00
Jiang Jiang Jian
59660c67cd
Merge branch 'mesh/power_save_function_with_local_duty' into 'master'
...
mesh/ps: add mesh network power save function
See merge request espressif/esp-idf!8203
2020-04-02 19:43:12 +08:00
Angus Gratton
dcaa9e385a
Merge branch 'bugfix/restore_rtc_wdt_driver' into 'master'
...
Restore rtc_wdt driver
Closes IDF-1514
See merge request espressif/esp-idf!8148
2020-04-02 19:11:49 +08:00
sushant.chougule
4cd6f09427
components/bt: Fix for HCI desync deadlock issue in BLE controller
2020-04-02 09:54:16 +00:00
Michael (XIAO Xufeng)
188240d5c7
log: new macros to log when the cache is disabled
2020-04-02 15:35:13 +08:00
David Čermák
3de8b7922f
Merge branch 'bugfix/reenable_esp32s2_ut' into 'master'
...
Re-enable mqtt/esp-netif unit tests for esp32s2
Closes IDF-1398 and IDF-1396
See merge request espressif/esp-idf!8038
2020-04-02 14:43:21 +08:00
Jiang Jiang Jian
037ad6f64e
Merge branch 'bugfix/fix_supplicant_tlsv12' into 'master'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
Closes WIFI-2003
See merge request espressif/esp-idf!8147
2020-04-02 12:17:59 +08:00
Jiang Jiang Jian
20a972d91e
Merge branch 'feat/ble_mesh_ble_adv_simultaneously' into 'master'
...
ble_mesh: Support BLE advertising simultaneously
Closes BLEMESH-125
See merge request espressif/esp-idf!7802
2020-04-02 12:17:42 +08:00
Jiang Jiang Jian
881cdbd743
Merge branch 'nimble/fix_ble_hs_reset' into 'master'
...
NimBLE: Reset master and slave states on host reset
Closes IDFGH-2743
See merge request espressif/esp-idf!8139
2020-04-02 12:16:49 +08:00
Michael (XIAO Xufeng)
15026d1b84
Merge branch 'bugfix/fix_adc_driver_for_esp32s2' into 'master'
...
Bugfix/fix adc driver for esp32s2
Closes IDF-1448, IDF-1449, IDF-1450, IDF-1451, and IDF-1458
See merge request espressif/esp-idf!7776
2020-04-02 11:02:21 +08:00
lly
a919e20c1a
ble_mesh: Support BLE advertising simultaneously
2020-04-02 01:03:25 +00:00
Angus Gratton
d76bf19ffd
docs: Explain custom partition types/subtypes in more detail
...
Including how to use with C++ (closes https://github.com/espressif/esp-idf/pull/1832 )
2020-04-02 10:00:17 +11:00
qiyuexia
6d01dc4cfa
mesh/ps: add mesh network power save function
2020-04-01 22:09:23 +08:00
Michael (XIAO Xufeng)
3b429766bc
esp_flash: support MXIC flash chips
...
The default chip driver (chip_generic) use command 01H + 2 bytes to
clear the QE bit. However this will accidently change the configuration
register value of the MXIC chip.
MXIC chip driver is added to fix that.
2020-04-01 20:54:23 +08:00
Ivan Grokhotkov
168660aebf
Merge branch 'feature/toolchain_2020r1-RC1' into 'master'
...
Toolchain 2020r1 support bringing (esp32, esp32s2)
See merge request espressif/esp-idf!7509
2020-04-01 18:17:28 +08:00
Prasad Alatkar
be8c847b06
NimBLE: Reset master and slave states on host reset
...
Closes IDFGH-2743 & IDFGH-2956
2020-04-01 10:09:26 +00:00
morris
890fc0fe67
esp_timer: alias esp_timer_get_time
...
alias esp_timer_get_time to improve performance
2020-04-01 16:51:43 +08:00
morris
2d1885b906
systimer: add HAL layer
2020-04-01 16:51:43 +08:00
Darian Leung
53928ab98b
Restore rtc_wdt driver
...
This commit restores rtc_wdt.c and rtc_wdt.h that were removed
in commit 91841a53
.
2020-04-01 16:13:35 +08:00
David Cermak
4fad90b0b1
esp-netif: reenabled dhcp unit tests for esp32s2
2020-04-01 07:06:13 +00:00
David Cermak
db677e6898
mqtt: reenable outbox unit tests for esp32s2
2020-04-01 07:06:13 +00:00
Jakob Hasse
0b02e5358e
Digital Signature HW: adding S2 support
2020-04-01 13:47:13 +08:00
fuzhibo
baa7898e35
driver(adc/dac): fix adc dac driver for esp32s2
...
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;
See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
fuzhibo
dfbb108ab4
Driver(touch): fix touch sensor driver for esp32s2.
...
1.update touch sensor driver for esp32s2;
2.update unit test for touch sensor;
3.update register files about touch sensor;
2020-04-01 12:41:51 +08:00
Shubham Kulkarni
c82a4d59ee
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-03-31 14:58:32 +00:00
Sagar Bijwe
a830ddd9ba
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-03-31 17:16:10 +05:30
Jiang Jiang Jian
dcc2963d43
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue' into 'master'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req
See merge request espressif/esp-idf!8161
2020-03-31 19:03:37 +08:00
Jiang Jiang Jian
c08bb08d2d
Merge branch 'bugfix/crypto_test_mem_align' into 'master'
...
crypto tests: fix mallocs that were missing MALLOC_CAP_8BIT
See merge request espressif/esp-idf!8132
2020-03-31 18:11:38 +08:00
Angus Gratton
9a5e4f9acb
Merge branch 'bugfix/secure_boot_v2_wrdis' into 'master'
...
secure boot v2: esp32: Prevent read disabling additional efuses
Closes IDF-1502
See merge request espressif/esp-idf!8045
2020-03-31 16:08:01 +08:00
xiewenxiang
5d0b6da6a0
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 15:10:01 +08:00
Angus Gratton
92a646aa4e
Merge branch 'feature/add_rtc_xtal_cal_retry_option' into 'master'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration
Closes IDF-1479
See merge request espressif/esp-idf!7930
2020-03-31 06:03:19 +08:00
Jiang Jiang Jian
1a4f894c7d
Merge branch 'bugfix/coex_sleep_opt' into 'master'
...
esp_wifi: optimize coexistence sleep
See merge request espressif/esp-idf!8078
2020-03-30 23:58:13 +08:00
Michael (XIAO Xufeng)
1cdbaf5b50
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_issue' into 'master'
...
freemodbus: fix long buffer failure (no temp frame buffer)
Closes IDFGH-2371
See merge request espressif/esp-idf!7418
2020-03-30 22:05:49 +08:00
Alex Lisitsyn
3abdd2207d
freemodbus: fix long buffer failure
...
check master read write functions with array of registers)
fix master serial processing code and modbus controller to work with register array
modbus_master: add reading and writing of test value array (58 registers) to check failure is gone
remove parameter temporary buffer from modbus controller to allow more than 24 byte writes
driver: fix issue with TOUT feature
driver: fix uart_rx_timeout issue
driver: fix issue with rxfifo_tout_int_raw not triggered when received fifo_len = 120 byte and all bytes read out of fifo as result of rxfifo_full_int_raw
driver: add function uart_internal_set_always_rx_timeout() to always handle tout interrupt
examples: call uart_internal_set_always_rx_timeout() to handle tout interrupt correctly
examples: update examples to use tout feature
driver: reflect changes of uart_set_always_rx_timeout() function, change uart.c
driver: change conditions to trigger workaround for tout feature in uart.c
driver: change uart_set_always_rx_timeout()
freemodbus: fix tabs, remove commented code
driver: remove uart_ll_is_rx_idle()
2020-03-30 22:05:48 +08:00
Anton Maklakov
1441b671d6
Merge branch 'bugfix/ci_static_analysis_fail_on_new_issue' into 'master'
...
ci: update static analysis rules to fail on any new issue
Closes IDF-686 and IDF-973
See merge request espressif/esp-idf!6424
2020-03-30 15:36:42 +08:00
Angus Gratton
25aa5b0e28
esp32: Enable flash encryption by setting FLASH_CRYPT_CNT to max
...
Previous method was to write-protect this efuse, however on ECO3
the write protect field also covers the UART_DOWNLOAD_DIS efuse.
Doing it this way keeps the possibility of disabling UART download
mode, later.
2020-03-30 18:13:42 +11:00
Angus Gratton
142f69448f
secure boot v2: esp32: Prevent read disabling additional efuses
...
Also reduce the number of eFuse write cycles during first boot when
Secure Boot and/or Flash Encryption are enabled.
2020-03-30 18:00:40 +11:00
Marius Vikhammer
d1d91ec3dd
crypto tests: fix mallocs that were missing MALLOC_CAP_8BIT
...
Tests had the potential to fail they got non byte-accessible memory allocated.
2020-03-30 10:40:59 +07:00