Michael (XIAO Xufeng)
5b6c965e99
soc_caps.h: remove spi cap that is defined to 0
...
According to the caps rule, for unsupported feature we don't define anything.
Remove the define 0 that violates this rule.
2020-11-12 10:29:42 +08:00
Marius Vikhammer
488f46acf5
SHA/RSA: moved all caps to soc_caps.h
2020-11-12 02:15:46 +00:00
Felipe Neves
35ef4ffa99
heap: add tlsf config specific to the host test
2020-11-12 11:07:46 +11:00
Felipe Neves
60f79705a3
heap: tune the tlsf control structure to reduce per-pool overhead
2020-11-12 11:06:29 +11:00
Angus Gratton
fccab8f4ef
riscv: Add new arch-level component
...
Changes come from internal branch commit a6723fc
2020-11-12 09:33:18 +11:00
David Čermák
fa1899b071
Merge branch 'bugfix/mdns_src_addr_cpy' into 'master'
...
mdns: Fix wrong mdns source address if lwIP IPv6 zoning disabled
Closes IDFGH-4196
See merge request espressif/esp-idf!11145
2020-11-12 00:15:41 +08:00
David Čermák
807a9b111d
Merge branch 'bugfix/mqtt_outbox_timeout_default' into 'master'
...
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
Closes IDFGH-4221
See merge request espressif/esp-idf!11181
2020-11-12 00:09:09 +08:00
David Cermak
7ac97616c1
mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
...
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.
Merges https://github.com/espressif/esp-idf/pull/6055
2020-11-11 11:56:44 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Angus Gratton
a7ae0ee1fa
nvs_partition_generator: Strip trailing whitespace in "hex2bin" input files
2020-11-11 07:36:35 +00:00
Angus Gratton
60ba7e4ae2
test_nvs_host: Fail on any non-zero exit code when running external tools
...
Check for != -1 was not picking up Python errors as WEXITSTATUS evaluates to 254 (at least on Linux)
2020-11-11 07:36:35 +00:00
Angus Gratton
ad4a10d7c1
Merge branch 'bugfix/efuse_change_burn_order_for_s2_s3' into 'master'
...
efuse: Fix the order of writing in batch mode
See merge request espressif/esp-idf!11067
2020-11-11 14:49:20 +08:00
Jiang Jiang Jian
5f49ad24a9
Merge branch 'bugfix/fix_assert_in_passkey_reply' into 'master'
...
Bugfix/fix assert in passkey reply
Closes BT-1090
See merge request espressif/esp-idf!10962
2020-11-11 11:35:35 +08:00
Jiang Jiang Jian
b9ca112d56
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly' into 'master'
...
Fix crash caused by calling a2dp_deinit directly
Closes BT-1129
See merge request espressif/esp-idf!11129
2020-11-11 11:35:03 +08:00
Jiang Jiang Jian
48a9b685e5
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround' into 'master'
...
wpa_supplicant: Increase PMK Lifetime to a very high value
See merge request espressif/esp-idf!11168
2020-11-11 11:29:29 +08:00
Jiang Jiang Jian
37a262f209
Merge branch 'bugfix/wifi_fix_beacon_dtim_count_error' into 'master'
...
Wi-Fi: set softap beacon DTIM count according to TSF timer
See merge request espressif/esp-idf!11172
2020-11-11 11:27:00 +08:00
Island
a885a13582
Merge branch 'bugfix/ble_mesh_wrong_func_declaration' into 'master'
...
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
See merge request espressif/esp-idf!11175
2020-11-11 10:59:57 +08:00
Angus Gratton
8c8634d683
Merge branch 'feature/esp_timer_task_uses_freertos_notification' into 'master'
...
esp_timer: Use Task Notification instead of semaphore
See merge request espressif/esp-idf!10991
2020-11-11 10:50:20 +08:00
Michael (XIAO Xufeng)
ee40f02afc
esp_flash: use divider rather than hard-coded freq in init code
2020-11-10 19:09:17 +08:00
Michael (XIAO Xufeng)
6c2b6c9340
esp_flash: decrease performance threshld
...
To reflect the influence of yield during write
2020-11-10 19:05:29 +08:00
Michael (XIAO Xufeng)
7ddfcfb8d2
esp_flash_test: improve unit test
...
From now on, we have two tags for esp_flash tests:
- [esp_flash] for main flash chip only tests
- [esp_flash_3] for tests with external flash chips
To Run all tests, type `[esp_flash`; to run tests for main flash chip
only, type `[esp_flash].
2020-11-10 19:05:28 +08:00
Michael (XIAO Xufeng)
8ae09194ac
esp_flash: refactor to support various type of yield
...
There is a periodically yield in the esp_flash driver, to ensure the
cache will not be disabled for too long on ESP32.
On ESP32-S2 and later, we need to support more different kind of yield:
1. polling conditions, including timeout, SW read request, etc.
2. wait for events, including HW done/error/auto-suspend, timeout
semaphore, etc.
The check_yield() and yield() is separated into two parts, because we
may need to insert suspend, etc. between them.
2020-11-10 19:05:22 +08:00
Nachiket Kukade
89a25e41c8
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-10 10:17:48 +00:00
Xia Xiaotian
199414cd7e
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-10 09:10:45 +00:00
weitianhua
ed2654bdf3
Remove dummy assert when receive passkey requst
2020-11-10 15:58:24 +08:00
David Čermák
971cbbb7f3
Merge branch 'bugfix/lwip_add_slaac_note' into 'master'
...
lw-IP: Added description to Kconfig option on IPv6 SLAAC
Closes IDFGH-4219 and IDFGH-4217
See merge request espressif/esp-idf!11148
2020-11-10 15:43:38 +08:00
weitianhua
08eace5a26
Fix crash cause by calling a2dp deinit when connected
2020-11-10 07:25:57 +00:00
Jiang Jiang Jian
f1171d9e1b
Merge branch 'bugfix/fix_coex_ble_disconnect_issues_1105' into 'master'
...
bluetooth: Fix ble disconnect issue in coex mode
Closes BT-1134
See merge request espressif/esp-idf!11128
2020-11-10 15:17:06 +08:00
lly
e543dc9a3b
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-10 14:05:19 +08:00
gengyuchao
5aecf71021
Fix two bugs:
...
1.Fix supervision timeout in LLC DISC busy statue can not disconnect issue.
2.Solve the problem that the ble terminate ack packet may lose with a high probability in coex mode.
2020-11-10 03:02:57 +00:00
Angus Gratton
479acb2210
esptool: Update to v3.0 release version
2020-11-10 02:36:18 +00:00
nx518
9207c6ca8e
lwip: Added description to Kconfig option on IPv6 SLAAC
...
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
Angus Gratton
0032971311
Merge branch 'bugfix/ulp_wakeup_trigger' into 'master'
...
ulp risc_v: fix bug about bit for wakeup trigger
Closes IDF-2298
See merge request espressif/esp-idf!11106
2020-11-09 14:57:36 +08:00
Michael (XIAO Xufeng)
2e90bf6b15
Merge branch 'bugfix/spi_slave_remove_debug_code' into 'master'
...
spi_slave: remove debug code
Closes IDFGH-4161
See merge request espressif/esp-idf!10975
2020-11-09 12:26:22 +08:00
Angus Gratton
3882c2b8ed
Merge branch 'feature/bringup_esp32s3_fpga_update_rmt_driver' into 'master'
...
rmt: support esp32s3
Closes IDF-1773
See merge request espressif/esp-idf!10292
2020-11-07 07:15:53 +08:00
Felipe Neves
ac6ce5ddbd
docs: added some fast-seek documentation to the fatfs.rst
2020-11-06 13:18:16 -03:00
Axel Lin
db276595cf
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
...
The OUTBOX_EXPIRED_TIMEOUT_MS was 30*1000 in original esp-mqtt code.
Don't change the default OUTBOX_EXPIRED_TIMEOUT_MS without good reason,
which may has impact on memory usage for existing applications.
Fixes: 0ea20bed43
("MQTT: add configurable msg expired timeout")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-11-06 20:42:38 +08:00
Jiang Jiang Jian
c7a8025d45
Merge branch 'high/fix_ble_scan_irq_by_timer' into 'master'
...
components/bt: fix hci timeout, add timer to monitor scan evt.
See merge request espressif/esp-idf!11105
2020-11-06 17:12:14 +08:00
Angus Gratton
79e68ffaae
esp32s2: Disable ADC calibration routine if running on FPGA
2020-11-06 07:25:35 +00:00
KonstantinKondrashov
48c498bdca
esp32s2/fpga: Fix a clock configure in bootloader
2020-11-06 07:25:35 +00:00
KonstantinKondrashov
f2c9c1e4ab
efuse: Fix the order of writing in batch mode for esp32s2 and s3
2020-11-06 07:25:35 +00:00
Jeroen Domburg
5bbd61d013
Merge branch 'bugfix/fix_crash_psram_not_found' into 'master'
...
Psram: Do not initialize spiram cache if no chip is found
See merge request espressif/esp-idf!11093
2020-11-06 15:11:48 +08:00
KonstantinKondrashov
e0d0200aed
esp_timer: Use Task Notification instead of semaphore
2020-11-06 06:43:22 +00:00
wangcheng
e5af56db41
components/bt: fix hci timeout, add timer to monitor scan evt.
2020-11-06 14:04:17 +08:00
Mahavir Jain
ea57c10a3c
Merge branch 'fix/protocomm_simple_ble' into 'master'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received
Closes IDF-2250
See merge request espressif/esp-idf!10769
2020-11-06 13:18:50 +08:00
Jiang Jiang Jian
c2ad450e21
Merge branch 'bugfix/fix_TCP_timer_interval' into 'master'
...
lw-ip: fix TCP timer interval
See merge request espressif/esp-idf!11033
2020-11-06 11:04:33 +08:00
Jeroen Domburg
4b444316ab
Psram: Do not initialize spiram cache if no chip is found.
...
Closes https://github.com/espressif/esp-idf/issues/6063
2020-11-06 02:32:39 +00:00
Felipe Neves
93ffc009ef
vfs: restrict the fast seek for read-only files
...
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb
fat_vfs: added fast seek capable file operation
2020-11-05 17:01:50 -03:00
Felipe Neves
8815a3dfa0
fatfs: expose FF_USE_FASTSEEK option
2020-11-05 17:01:50 -03:00
Jiang Jiang Jian
a88989fee8
Merge branch 'bugfix/fix_clkn_overflow_issue' into 'master'
...
Fix BT controller dead issue caused by clk overflow
See merge request espressif/esp-idf!11012
2020-11-05 23:08:46 +08:00
ronghulin
ffd23623b7
bugfix: fix TCP timer interval
2020-11-05 15:00:51 +00:00
Michael (XIAO Xufeng)
d7ce8a537f
Merge branch 'feature/bringup_esp32s3_fpga_rtc_sleep' into 'master'
...
feature (rtc): update rtc related code(rtc_sleep rtc_init) to support esp32s3
See merge request espressif/esp-idf!10404
2020-11-05 19:19:36 +08:00
morris
1be923acb4
rmt: rename always_on to aware_dfs
2020-11-05 19:00:55 +08:00
morris
ff976867b3
rmt: split TX and RX in LL driver
...
Split TX and RX function in LL driver.
Channel number is encoded in driver layer.
Added channel signal list in periph.c
2020-11-05 19:00:55 +08:00
chenjianqiang
9465af0066
rmt: support esp32s3
2020-11-05 19:00:55 +08:00
Prasad Alatkar
13433d10fc
Protocomm/simple_ble: Make gatt table map size equal to number of handles received
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-05 08:53:13 +00:00
fuzhibo
b29f075660
rtc: compile the regi2c_ctrl.c code to iram
2020-11-05 16:17:12 +08:00
Angus Gratton
99fae0f0b5
Merge branch 'bugfix/lwip_afl_test_build' into 'master'
...
test_compile_fuzzers: Fix include paths for host build
See merge request espressif/esp-idf!11118
2020-11-05 15:58:31 +08:00
Angus Gratton
98a0cc783f
test_compile_fuzzers: Fix include paths for host build
...
Regression in 988be69466
, need to add
esp_hw_support component include dir here.
2020-11-05 16:30:07 +11:00
Jiang Jiang Jian
76a7b76e3d
Merge branch 'feature/wifi_update_wifi_lib_to_support_esp32s3' into 'master'
...
Wi-Fi: update wifi lib to merge esp32s3 code
See merge request espressif/esp-idf!11107
2020-11-05 11:25:58 +08:00
Xia Xiaotian
aca8d9621d
Wi-Fi: update wifi lib to support esp32s3
2020-11-04 21:23:50 +08:00
Island
90472a0a8c
Merge branch 'feat/ble_mesh_node_local_data_func' into 'master'
...
ble_mesh: stack: Add node local netkey/appkey func
Closes BLEMESH-255
See merge request espressif/esp-idf!10334
2020-11-04 19:39:32 +08:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
lly
549dc2a411
ble_mesh: stack: Add node local netkey/appkey func
2020-11-04 03:25:02 +00:00
Cao Sen Miao
bd2d70ca0b
ulp risc_v: fix bug about bit for wakeup trigger
2020-11-04 10:47:40 +08:00
fuzhibo
93c7cf094e
rtc: update rtc related code(rtc_sleep rtc_init) to support esp32s3
2020-11-04 02:43:41 +00:00
morris
bc8b56cef7
timergroup: refactor unit test to better support future chip
2020-11-03 18:16:50 +08:00
morris
e4c8ec6174
timergroup: move interrupt index into peripheral description file
...
1. Added timer_group_periph.c file, describing module global signals
(e.g. interrupt index)
2. Added more caps in soc_caps.h
2020-11-03 18:16:50 +08:00
israel
24d88fb78c
AP_STAIPASSIGNED now passes the IP through 'event_data'
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
2020-11-02 16:17:12 +08:00
Jiang Jiang Jian
5ad2ec79fd
Merge branch 'bugfix/fix_reject_using_rtc_gpio' into 'master'
...
fix reject lightsleep when using rtc gpio to wakeup
See merge request espressif/esp-idf!11027
2020-11-02 16:13:33 +08:00
Island
a2394dee0a
Merge branch 'bugfix/fix_node_test_func_not_set_role' into 'master'
...
ble_mesh: test: Fix node test function not update role flag
See merge request espressif/esp-idf!11039
2020-10-30 21:05:16 +08:00
Mahavir Jain
46148d1ef3
Merge branch 'bugfix/wifi_provisioning_lock' into 'master'
...
wifi_provisioning: release lock on scan start failure
Closes IDFGH-4157
See merge request espressif/esp-idf!11059
2020-10-30 19:38:44 +08:00
Michael (XIAO Xufeng)
35faecea1d
Merge branch 'feature/support_sigma_delta_on_s3' into 'master'
...
sigma_delta: add periph signal list and support esp32-s3
See merge request espressif/esp-idf!10945
2020-10-30 17:22:02 +08:00
Bruno Binet
adabe5a76e
wifi_provisioning: release lock on scan start failure
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/6019
2020-10-30 13:16:56 +05:30
Michael (XIAO Xufeng)
23584e094f
Merge branch 'feature/esp_flash_32b_addr' into 'master'
...
esp_flash: support high capacity flash chips (32-bit address)
See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
754e73b39a
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources' into 'master'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
Closes IDFGH-4176
See merge request espressif/esp-idf!11011
2020-10-30 03:33:40 +08:00
Michael (XIAO Xufeng)
3c402f83a8
esp_flash_test: decrease some performance threshold by 6%
...
Due to the 32-bit flash feature, some performance value are decreased by 6%
2020-10-30 01:11:43 +08:00
Michael (XIAO Xufeng)
d48c4e1da7
spi_flash_test: workaround for broken ROM API after new API calls.
2020-10-29 18:21:44 +08:00
Michael (XIAO Xufeng)
8337f0afa2
spi_flash: fix LL of esp32s3 and add 32-bit support
2020-10-29 18:21:42 +08:00
Michael (XIAO Xufeng)
b4c3718e39
flash_test: test 32bit address region if chip size meet
2020-10-29 18:21:27 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
lly
1f61b67ec3
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:48:06 +08:00
morris
17808b3ff8
sigma_delta: add periph signal list and support esp32-s3
2020-10-29 11:06:28 +08:00
weitianhua
1de3b17192
Fix BT controller dead issue caused by clk overflow
2020-10-29 10:49:30 +08:00
ninh
19fd0f5634
fix reject lightsleep when using rtc gpio to wakeup
2020-10-29 02:47:58 +00:00
Angus Gratton
8f3393afdf
Merge branch 'refactor/create_esp_hw_support' into 'master'
...
Create esp_hw_support
Closes IDF-2161
See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
6b0a5af73e
soc: move implementations to esp_hw_support
2020-10-28 22:38:50 +08:00
Jiang Jiang Jian
6bed9ec70c
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered
Closes BTCI-50
See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
KonstantinKondrashov
e9978f7623
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-10-28 16:25:07 +08:00
wangcheng
6d7c9907c3
components/bt: fixed memory damage caused by bluetooth memory release
2020-10-28 06:59:03 +00:00
wangcheng
8cf0c1c3b8
components/bt: fix assert(10, 9), when the AFPM happens
2020-10-28 06:59:03 +00:00
Jiang Jiang Jian
a54e92f00b
Merge branch 'mesh/bugfix_1023' into 'master'
...
esp_wifi_mesh: update wifi mesh libs
See merge request espressif/esp-idf!10970
2020-10-28 14:22:47 +08:00
Island
0a61f04f3f
Merge branch 'bugfix/bluedroid_gatt_clcb_use_afer_free_issue' into 'master'
...
component/bt: Fix gatt clcb use-after-free issue
See merge request espressif/esp-idf!10989
2020-10-28 14:01:07 +08:00
Michael (XIAO Xufeng)
9cc81f7698
Merge branch 'fix/spi_master_use_data_flag' into 'master'
...
spi_master: fix the error log when use tx/rx_data with larger data
See merge request espressif/esp-idf!11005
2020-10-28 11:13:39 +08:00
shenjun
ea0603897d
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-28 02:58:44 +00:00
lly
5f146455f3
component/bt: Fix gatt clcb use-after-free issue
2020-10-28 02:42:28 +00:00
Renz Bagaporo
79887fdc6c
soc: descriptive part occupy whole component
2020-10-28 07:21:29 +08:00
Renz Bagaporo
988be69466
esp_hw_support: create component
2020-10-28 07:21:29 +08:00
Michael (XIAO Xufeng)
12249dcb09
spi_master: fix the error log when use tx/rx_data with larger data
2020-10-27 23:34:03 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00
morris
d084ef4473
gdma: fix wrong m2m mode wrong config
2020-10-27 16:53:19 +08:00
Jiang Jiang Jian
84a312c0a0
Merge branch 'bugfix/update_toolchain_5.2.0_psram_final' into 'master'
...
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
See merge request espressif/esp-idf!10635
2020-10-27 14:48:23 +08:00
Michael (XIAO Xufeng)
2a329df051
Merge branch 'feat/spi_flash_qio_test' into 'master'
...
spi_flash: add unit tests for qio mode
See merge request espressif/esp-idf!8303
2020-10-27 12:24:05 +08:00
xiehang
f9e490e0dc
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-10-27 02:57:01 +00:00
David Čermák
97ac37378f
Merge branch 'bugfix/esp_netif_ppp_event_data' into 'master'
...
esp-netif: Fix PPP netif event posting to include esp_netif data
Closes IDFGH-4147
See merge request espressif/esp-idf!10958
2020-10-27 05:27:24 +08:00
David Čermák
25530d2247
Merge branch 'bugfix/slip_input_longer_u8' into 'master'
...
esp_netif: Fixed SLIP input to support size longer than 256
Closes IDFGH-4057
See merge request espressif/esp-idf!10959
2020-10-27 04:03:06 +08:00
Rob Connolly
a92ae03b1e
esp_netif: Fixed SLIP input to support size longer than 256
...
Implement batch processing of incoming slip data.
Merges https://github.com/espressif/esp-idf/pull/5928
2020-10-26 17:53:17 +01:00
Michael (XIAO Xufeng)
9a394e1aa0
Merge branch 'feature/spi_bringup_esp32s3' into 'master'
...
spi: bringup on esp32s3
See merge request espressif/esp-idf!10107
2020-10-27 00:51:42 +08:00
David Cermak
8a143fcf40
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2020-10-26 16:00:42 +00:00
David Čermák
e1c3350cec
Merge branch 'feature/lwip_tcp_isn_hook' into 'master'
...
lw-ip: enable TCP ISN hook
See merge request espressif/esp-idf!10854
2020-10-26 20:45:16 +08:00
Angus Gratton
f806261964
Merge branch 'bugfix/fix_rtc_io_hal_desc' into 'master'
...
Sleep related minor description fixes
Closes IDFGH-3868
See merge request espressif/esp-idf!10725
2020-10-26 18:48:03 +08:00
Angus Gratton
1688289c06
Merge branch 'bugfix/esp_efuse_mac_get_default_fix_mac_range_for_internal_usage' into 'master'
...
esp_common: Fix range of MACs for interal usage with wrong crc
Closes IDFGH-4066
See merge request espressif/esp-idf!10922
2020-10-26 16:21:56 +08:00
Michael (XIAO Xufeng)
bcb5c3506d
Merge branch 'feature/dedicated_gpio' into 'master'
...
Dedicated GPIO driver on ESP32-S2 and ESP32-S3
Closes IDF-1672
See merge request espressif/esp-idf!8716
2020-10-26 15:33:33 +08:00
Jiang Jiang Jian
090dbc5550
Merge branch 'feature/add_ipv6_ping' into 'master'
...
lw-ip:add feature for ipv6 ping
Closes WIFI-2535
See merge request espressif/esp-idf!9530
2020-10-26 15:16:23 +08:00
Michael (XIAO Xufeng)
8926216723
Merge branch 'bugfix/esp32s2_adc_rng_registers' into 'master'
...
esp32s2: Use regi2c registers to enable bootloader RNG
See merge request espressif/esp-idf!10941
2020-10-26 13:55:05 +08:00
Angus Gratton
6d1d6e736d
Merge branch 'bugfix/wpa_supplicant_link_depth' into 'master'
...
wpa_supplicant: Fix failure to link under some circumstances
Closes IDFGH-3715
See merge request espressif/esp-idf!10822
2020-10-26 12:22:32 +08:00
Jiang Jiang Jian
161bff3b11
Merge branch 'bugfix/tx_prog_dram_crash' into 'master'
...
components/bt: fixed tx_prog insert error(master)
See merge request espressif/esp-idf!10910
2020-10-26 11:33:20 +08:00
Armando
f7e91ef6c1
spi: esp32s3 bringup for spi
2020-10-26 11:28:34 +08:00
Jiang Jiang Jian
286ccb203e
Merge branch 'bugfix/fix_TCP_retransmission_interval' into 'master'
...
fix TCP retransmission interval
Closes WIFI-2861
See merge request espressif/esp-idf!10867
2020-10-26 11:25:14 +08:00
Jiang Jiang Jian
65bee98861
Merge branch 'bugfix/wps_fail_reason_code' into 'master'
...
esp_wifi: Add Failures Reason code in all WPS failure send event
Closes WIFI-2947
See merge request espressif/esp-idf!10924
2020-10-26 11:24:14 +08:00
Angus Gratton
087cacd06a
Merge branch 'bugfix/unneeded_header_files' into 'master'
...
Remove some unneeded header files/deps
See merge request espressif/esp-idf!10237
2020-10-26 11:16:32 +08:00
Armando
5a3cca8f67
spi_slave: remove debug code
...
Closes https://github.com/espressif/esp-idf/pull/6023
2020-10-26 10:59:33 +08:00
He Yin Ling
653fa702b4
Merge branch 'test/move_auto_test_script_to_new_repo' into 'master'
...
ci: move auto_test_script to new repo
See merge request espressif/esp-idf!10471
2020-10-24 09:21:18 +08:00
Chen Yu Dong
f38321a218
test: move auto_test_script to new repo
...
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
Island
6af7681008
Merge branch 'optimize/ble_mesh_reduce_code_size' into 'master'
...
ble_mesh: stack: Optimization introduced to reduce code size
Closes BLEMESH-247
See merge request espressif/esp-idf!10863
2020-10-23 19:02:56 +08:00
Aditya Patwardhan
fa42beac97
esp32/esp-tls: remove dependancy of esp_https_client and tcp_transport on mbedtls
2020-10-23 05:16:06 +00:00
Aditya Patwardhan
8d65cee0a9
esp32/esp-tls: Make crypto abstraction layer inside esp-tls
...
Which allows several components to use cryptographic functions from
esp-tls which is the current abstraction layer.
2020-10-23 05:16:06 +00:00
Mahavir Jain
0fc4249dd5
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-10-23 05:11:33 +00:00
Mahavir Jain
58c33f3bdf
lwip: provide configuration option to enable TCP ISN hook
2020-10-23 05:11:33 +00:00
Mahavir Jain
8099dd089d
tcp_isn: use ROM APIs for md5 calculations
2020-10-23 05:11:33 +00:00
Mahavir Jain
b8925ab48b
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-23 05:11:33 +00:00
Jiang Jiang Jian
2639dd940c
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss' into 'master'
...
lw-ip:bugfix ipv6 ping error when src ip miss
See merge request espressif/esp-idf!10930
2020-10-23 11:27:42 +08:00
lly
fc071c10a6
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-10-23 02:04:21 +00:00
lly
9620a1a568
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-10-23 02:04:21 +00:00
lly
9176fe996c
ble_mesh: stack: Add Kconfig options to make server models optional
2020-10-23 02:04:21 +00:00
lly
a1f1a6b484
ble_mesh: stack: Use Kconfig option to make client models optional
2020-10-23 02:04:21 +00:00
lly
d13e0635a8
ble_mesh: stack: Make some internal static functions inline
2020-10-23 02:04:21 +00:00
lly
051f02ee80
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-10-23 02:04:21 +00:00
lly
675c94a9d4
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-10-23 02:04:21 +00:00
Michael (XIAO Xufeng)
b744c14a8a
Merge branch 'bugfix/spi_slave_fix_cs_num_crash' into 'master'
...
spi_slave: fix crash issue when cs is set to -1
Closes IDFGH-3885
See merge request espressif/esp-idf!10414
2020-10-22 22:36:21 +08:00
Renz Bagaporo
21e46d5b3c
ci: use actual esp_system headers for host test
2020-10-22 19:42:34 +08:00
Renz Bagaporo
e7460c1f00
soc: remove unecessary headers in dport_access.h
2020-10-22 19:42:34 +08:00
Renz Bagaporo
b3a7c6e27e
components: remove some unneeded headers from source files
2020-10-22 19:37:10 +08:00
Renz Bagaporo
0aa9ee5b24
esp32s3: delete duplicate esp32s3
2020-10-22 20:01:59 +11:00
Renz Bagaporo
e19f5d8955
hal: fix wrong description on rtc io hal
...
Closes https://github.com/espressif/esp-idf/issues/5770
2020-10-22 20:01:41 +11:00
Angus Gratton
982d4be760
Merge branch 'bugfix/freertos_include_coreid' into 'master'
...
freertos: Fix include coreid regression, add new UT configs
See merge request espressif/esp-idf!10864
2020-10-22 16:58:51 +08:00
Angus Gratton
4df4bd9558
Merge branch 'bugfix/clock_getres_accuracy_resolution' into 'master'
...
newlib: Fix clock_getres() improves accuracy
See merge request espressif/esp-idf!10743
2020-10-22 16:50:29 +08:00
Ivan Grokhotkov
902d630102
Merge branch 'bugfix/delete_duplicate_s3_pm_configs' into 'master'
...
esp32s3: delete duplicate s3 pm configs
See merge request espressif/esp-idf!10715
2020-10-22 16:45:19 +08:00
xueyunfei
79fc027830
lwip:add feature for ipv6 ping
2020-10-22 15:01:59 +08:00
Angus Gratton
57d6026f97
Merge branch 'feature/efuse_support_for_esp32s3' into 'master'
...
efuse: Adds support for esp32-s3 chip
See merge request espressif/esp-idf!10491
2020-10-22 13:53:01 +08:00
Angus Gratton
c51dca618a
Merge branch 'feature/update_key_name_of_secure_boot' into 'master'
...
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
Closes ESPTOOL-55
See merge request espressif/esp-idf!10849
2020-10-22 13:41:13 +08:00
Angus Gratton
75cb8eecf6
Merge branch 'feature/change_factory_reset_pin_range' into 'master'
...
bootloader: Change range of the factory reset pin in Kconfig for ESP32-S2
Closes IDFGH-3537
See merge request espressif/esp-idf!10920
2020-10-22 12:31:08 +08:00
Angus Gratton
cb12365221
Merge branch 'feature/add_inttypes_for_esp_app_format' into 'master'
...
bootloader_support: Add missing inttypes include in esp_app_format.h
Closes IDFGH-3950
See merge request espressif/esp-idf!10921
2020-10-22 12:16:22 +08:00
Angus Gratton
639e97437f
esp32s2: Use regi2c registers to enable bootloader RNG
2020-10-22 14:39:59 +11:00
Jiang Jiang Jian
34e6a17c09
Merge branch 'bugfix/fix_tsf_bug' into 'master'
...
WiFi:fix tsf bug
Closes WIFI-2909, WIFI-2928, and WIFI-2893
See merge request espressif/esp-idf!10909
2020-10-22 11:09:02 +08:00
wangcheng
94fae76de1
components/bt: fixed tx_prog insert error
2020-10-21 20:22:17 +08:00
xueyunfei
9ac6d4a1ce
bugfix ipv6 ping error when src ip miss
2020-10-21 20:10:15 +08:00
kapil.gupta
474c38a5f3
esp_wifi: Add WPS Reason code in all failures
2020-10-21 10:56:19 +05:30
Jiang Jiang Jian
303587103a
Merge branch 'bugfix/btdm_bluedroid_enable_takes_long_time' into 'master'
...
Bugfix/btdm bluedroid enable takes long time
Closes BT-1022
See merge request espressif/esp-idf!10266
2020-10-21 12:32:25 +08:00
Mahavir Jain
199b2cb79d
freertos: add parameter validation checks in xTaskCreateStaticPinnedToCore
...
Regression from commit-id a3c90bf59a
2020-10-21 14:05:01 +11:00
Angus Gratton
c87fe77ef9
freertos: Restore the check that mutex is given by owner
...
Even without this check, if the owner doesn't match then FreeRTOS will still
fail an assertion - but it's not as clear what the root cause is.
2020-10-21 14:04:01 +11:00
Angus Gratton
8a70b1cdc9
ci freertos: Add test configs for some of the optional FreeRTOS 10 configurations
...
Also unit tests for the legacy hook functions.
2020-10-21 14:04:01 +11:00
Ivan Grokhotkov
b6b1d1b49a
Merge branch 'bugfix/pm_dump_format' into 'master'
...
esp_pm: fix formatting issues in esp_pm_dump_locks
See merge request espressif/esp-idf!10842
2020-10-20 22:21:03 +08:00
Ivan Grokhotkov
b98032aae4
Merge branch 'bugfix/pm_uart_garbage' into 'master'
...
esp_pm: fix garbage on UART when CONFIG_PM_ENABLE=y
See merge request espressif/esp-idf!10843
2020-10-20 22:18:00 +08:00
KonstantinKondrashov
99226734e2
esp_common: Fix range of MACs for interal usage with wrong crc
...
Closes: https://github.com/espressif/esp-idf/issues/5937
2020-10-20 22:12:28 +08:00
suren.gabrielyan
637f5c0a68
CI: Add a test to pre-check fuzzer tests compilation before weekly run
2020-10-20 13:57:00 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
092b63f491
bootloader_support: Add missing inttypes include in esp_app_format.h
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/5837
2020-10-20 21:49:07 +08:00
KonstantinKondrashov
5f975a8168
bootloader: Change range of the factory reset pin in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/5489
2020-10-20 21:28:37 +08:00
morris
bb1369b922
dedicated gpio: add driver
2020-10-20 21:06:09 +08:00
Jiang Jiang Jian
b3ce1db97a
Merge branch 'bugfix/fix_spp_read_flow_control' into 'master'
...
component_bt/fix spp flow control and vfs write
Closes BT-1011
See merge request espressif/esp-idf!10331
2020-10-20 20:26:19 +08:00
zhangyanjiao
2a5a6a87fd
esp_wifi: fix tsf bug
...
Closes https://github.com/espressif/esp-idf/issues/5915
2020-10-20 16:08:22 +08:00
Angus Gratton
e5f06d7f47
Merge branch 'feature/esp32s3_support_gettimeofday' into 'master'
...
time: Fix gettimeofday for ESP32-S3
See merge request espressif/esp-idf!10871
2020-10-20 14:09:36 +08:00
Konstantin Kondrashov
9386cafbc3
time: Fix gettimeofday for ESP32-S3
2020-10-20 14:09:32 +08:00
Angus Gratton
bb74334830
freertos: Fix regression when xCoreID included in task status TCB
...
Regression when adding FreeRTOS 10 support.
As reported at https://github.com/espressif/esp-idf/issues/1453#issuecomment-709663537
2020-10-20 14:06:28 +11:00
Ivan Grokhotkov
48f27cb5ab
Merge branch 'feature/esp32_ulp_allow_8kb' into 'master'
...
esp32: allow up to 8 kB of ULP program size
Closes IDFGH-1772
See merge request espressif/esp-idf!10727
2020-10-20 04:08:57 +08:00
Ivan Grokhotkov
30754918ee
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2020-10-19 18:54:34 +02:00
Island
b62944b6b1
Merge branch 'bugfix/ble_mesh_autorsp_description' into 'master'
...
esp_ble_mesh: api: fixed comment about autoresp
Closes BMCI-116
See merge request espressif/esp-idf!10886
2020-10-19 16:33:28 +08:00
Michael (XIAO Xufeng)
2e681f4cb5
Merge branch 'bugfix/fix_rs485_ut_fail' into 'master'
...
Bugfix/fix RS485 ut fail
See merge request espressif/esp-idf!9448
2020-10-19 16:17:23 +08:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
morris
906dd0ad84
pcnt: replace isr register with isr service in example
2020-10-19 11:56:18 +08:00
morris
153e819e8a
pcnt: add rotary encoder example
2020-10-19 11:56:18 +08:00
morris
74d78148bc
pcnt: add pcnt peripheral signal connections
...
pcnt: fix bug in clear interrupt status
2020-10-19 11:56:18 +08:00
Claudio Jeker
669331d0c4
pcnt: properly clear interrupt status in pcnt_intr_service
...
status is 0 when pcnt_hal_clear_intr_status() is called and so the
interrupt will be triggered immediatly again. Store the original
status and pass this as mask to pcnt_hal_clear_intr_status().
Merges https://github.com/espressif/esp-idf/pull/5929
2020-10-19 11:08:06 +08:00
Angus Gratton
982a4abbb7
Merge branch 'bugfix/adc_dma_test_value' into 'master'
...
adc_test: fix the failure caused by low expected middle value
See merge request espressif/esp-idf!10878
2020-10-19 11:04:14 +08:00
andreachiara
0b9d270804
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 10:48:57 +08:00
Angus Gratton
4504318a28
Merge branch 'feature/esp32s2_bootloader_random' into 'master'
...
bootloader_support: Enable RNG entropy source for ESP32-S2
Closes IDF-1347
See merge request espressif/esp-idf!8965
2020-10-19 07:12:59 +08:00
Michael (XIAO Xufeng)
c0887582a2
adc_test: fix the failure caused by low expected middle value
2020-10-18 10:32:04 +08:00
Michael (XIAO Xufeng)
1966f00f0b
soc: updates caps usage
...
We should define caps as 1 if true. When use the caps macros, #if and
#if ! should be used instead of #ifdef/#ifndef.
2020-10-17 16:10:17 +08:00
Michael (XIAO Xufeng)
647dea9395
soc: combine xxx_caps.h into one soc_caps.h
...
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).
Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h
This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Krzysztof Budzynski
bd7fecd396
Merge branch 'bugfix/ulp_doc_fixes' into 'master'
...
ULP: Update instruction set documentation for Esp32 and Esp32s2.
See merge request espressif/esp-idf!8560
2020-10-17 02:44:47 +08:00
Dmitry Yakovlev
0a8afd13a2
Udate instruction set documentation for Esp32 and Esp32s2.
...
Sleep instruction removed from S2 instruction set.
LDx/STx instructions descritioin fix offset range to 13 bits (11 bits signed 32 bit words offset).
Remove I2C RD/WR operations from S2.
2020-10-17 02:44:47 +08:00
Michael (XIAO Xufeng)
ecca44df93
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32' into 'master'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32
Closes DIG-53
See merge request espressif/esp-idf!10521
2020-10-16 23:02:35 +08:00
Angus Gratton
04ecdd95cf
bootloader_support makefile: Use consistent indentation
2020-10-16 18:48:26 +11:00
Angus Gratton
b35cb43caf
bootloader_support: Add dummy ESP32-S3 RNG support
2020-10-16 18:48:26 +11:00
Angus Gratton
9311b1e7be
esp32s2: Enable 8M clock source for RNG also
...
Either of these options is sufficient to pass dieharder test suite with
bootloader random output, having both enabled is a bonus.
2020-10-16 18:48:26 +11:00
Angus Gratton
699742acc6
esp32s2: Support bootloader_random_enable()
2020-10-16 18:48:26 +11:00
Angus Gratton
a416452657
Merge branch 'feature/skip_sha256_error_on_fpga' into 'master'
...
bootloader: Skip a sha256 error on FPGA
See merge request espressif/esp-idf!10836
2020-10-16 14:43:06 +08:00
Michael (XIAO Xufeng)
465e5050b6
Merge branch 'bugfix/fix_spi_flash_clock_config_error_s2' into 'master'
...
bootloader_support: fix spi flash clock config error
See merge request espressif/esp-idf!10628
2020-10-16 12:04:32 +08:00
ronghulin
d9f7df6f9b
fix TCP retransmission interval
2020-10-16 11:48:43 +08:00
Shubham Kulkarni
bcdc8ac28f
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-15 20:09:23 +05:30
KonstantinKondrashov
b19c4739c3
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
...
- espefuse.py burn_key secure_boot is no longer used.
- Secure boot V1: espefuse.py burn_key secure_boot_v1 file.bin
- Secure boot V2: espefuse.py burn_key secure_boot_v2 file.bin
2020-10-15 16:48:23 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
f45e8bab35
Merge branch 'feature/jtag_reenable' into 'master'
...
Feature/jtag reenable
Closes IDF-802
See merge request espressif/esp-idf!10524
2020-10-15 14:46:49 +08:00
KonstantinKondrashov
3c57d5e0a1
bootloader: Skip a sha256 error on FPGA
2020-10-15 13:27:54 +08:00
Angus Gratton
67baa8371a
Merge branch 'feature/rename_analog_i2c_files' into 'master'
...
feature(rtc): rename i2c_xxx to regi2c_xxx
See merge request espressif/esp-idf!10672
2020-10-15 11:16:14 +08:00
Angus Gratton
466ad65cf4
Merge branch 'bugfix/usb_console_critical_section' into 'master'
...
esp_system: fix incorrect critical section usage in usb_console
Closes IDF-2049
See merge request espressif/esp-idf!10826
2020-10-15 10:36:57 +08:00
Angus Gratton
9f1d9931a7
Merge branch 'bugfix/bt_hidh_write' into 'master'
...
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
Closes IDFGH-3881
See merge request espressif/esp-idf!10144
2020-10-15 06:39:15 +08:00
Angus Gratton
3a959ca3e3
Merge branch 'bugfix/ci_driver_gpio_config_s2' into 'master'
...
driver test: Don't use ESP32-S2 CS1 pin for output test
Closes IDFCI-112
See merge request espressif/esp-idf!10835
2020-10-15 06:28:20 +08:00
Ivan Grokhotkov
50ef2f97d6
esp_pm: fix garbage on UART when CONFIG_PM_ENABLE=y
...
`uart_ll_get_txfifo_len` returns the number of bytes available in the
TX FIFO; The condition we need is "FIFO empty", not "FIFO has free
space". `uart_ll_is_tx_idle` does that, and also ensures that the last
character popped from the TX FIFO has been fully transmitted.
2020-10-14 19:43:53 +02:00
fuzhibo
6773df88f2
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-14 21:15:24 +08:00
baohongde
3b82670a50
components/bt: Fix waking up fail while sleeping
2020-10-14 20:20:57 +08:00
Michael (XIAO Xufeng)
b1ace5808d
Merge branch 'bugfix/tusb_console_strlen' into 'master'
...
Fix a strncpy-related warning caused by a wrong argument
See merge request espressif/esp-idf!10685
2020-10-14 17:42:10 +08:00
KonstantinKondrashov
66b9b589cb
efuse: Adds support for esp32-s2 chip
2020-10-14 16:26:51 +08:00
Angus Gratton
ba3a6f68b4
driver test: Don't use ESP32-S2 CS1 pin for output test
...
On a ESP32-S2 with PSRAM attached, this may cause a crash
2020-10-14 16:18:55 +11:00
Angus Gratton
bf85348034
tlsf: Enable asserts
2020-10-14 16:11:49 +11:00
Angus Gratton
1224ae9a42
freertos: Use configured idle task stack size not minimum task stack size for idle tasks
2020-10-14 16:11:49 +11:00
Angus Gratton
30b5aab77a
freertos: Fix some edge cases around un-pinned tasks migrating cores
2020-10-14 16:11:49 +11:00
Felipe Neves
dfa2d547a7
freertos: pin timer task in core 0 plus fixed in SMP race conditions
...
freertos: replace the freertos regular malloc to the specific malloc from xtensa port for tcb and stack allocations
freertos: avoid the cpu1 to unwind pended ticks when xTaskResumeAll is called insed of an ISR
freertos: protected the xPortGetCoreID functions with missing critical sections
tests: re-eanble the ignored tests that was failling before race-condition fixes
2020-10-14 16:11:49 +11:00
Felipe Neves
3057b76a7e
tests: re-add all disabled tests and all disabled configurations
2020-10-14 16:11:49 +11:00
Felipe Neves
206540909e
freertos: readd task checking for stack overflow macros
2020-10-14 16:11:49 +11:00
Felipe Neves
656b706ea4
freertos: added core-ID member to task status structure aloowing its tracing.
...
Closes https://github.com/espressif/esp-idf/issues/5763
2020-10-14 16:11:39 +11:00
liqigan
743c1c1f20
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Felipe Neves
f3783ba258
app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
...
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Felipe Neves
d8ed9be1d4
freertos/timer: fix the static timer creation
...
Removes the not used spinlock field inside timer object which was causing assertion fail
2020-10-13 23:52:03 +00:00
Felipe Neves
bd9b921713
heap_tlsf: added implementation of TLSF allocator
...
heap: ported tlsf allocator into multi heap
heap_host_tests: added tlsf allocator into host test
heap_host_test: update freebytes after using free
heap_tests: tlsf now passing on host tests without poisoning
multi_heap: added support for memalign using tlsf implementation
heap_caps: removed heap_caps_aligned_free
heap/test: fixed broken aligned alloc test build
heap: added poisoning pattern when blocks are being merged
heap/tests: added timing tests for memory allocation
heap: reduced tlsf structure overhead
heap/tlsf: made all short functions inside of tlsf module as inline to improve timings
heap: moved tlsf heap routines outside of flash memory
newlib: linked multiheap memalign with newlib memalign function
heap: moved block member functions to a separate file so multi_heap can use the functions
heap/test: improved the tlsf timing test
heap/test: added memalign on aligned alloc tests
heap: moved tlsf configuration constants to a separated file
heap: added random allocations test with timings
heap: modified the calculation of heap free bytes
heap: make aligned free true deprecated functions and update their documentation
heap: add extra assert after successive mallocs on small allocation host test
heap: remove legacy aligned alloc implementation.
performance: added malloc and free time performance default values
2020-10-13 23:52:03 +00:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov
51d86081b8
gdbstub: fix thread list generation
...
This commit fixes an issue with gdbstub, where it would list threads
with TIDs 1 to N in qfThreadInfo/qsThreadInfo responses, and then
would tell GDB that the current TID is 0 in the qC response. This
caused an assertion failure in GDB, because it couldn't find the
thread structure corresponding to TID 0:
src/gdb/gdb/thread.c:93: internal-error: thread_info* inferior_thread(): Assertion `tp' failed.
The issue was caused by the logic of qfThreadInfo/qsThreadInfo.
If the "paniced" task index was 1, the code would report it in the
response to qfThreadInfo, and then mistakenly skip task with index 0
in qsThreadInfo, due to the use of pre-increment instead of a
post-increment.
With that issue fixed, GDB assertion doesn't happen anymore. However
the code contained a deeper problem, which manifested itself in the
fact that GDB would incorrectly show task index 0 as the current task,
after the above fix.
Previous version of the code assumed that when GDB requests the thread
list, it uses the first thread returned by the target as the "default"
thread, and subsequently shows the user that the program is stopped
in that thread. This assumption was incorrect. In fact, after
connecting to a remote target, GDB obtains information about the
"default" or "current" thread from two sources:
1. the 'thread' special register indicated in the status response
($T00thread;00000001#ee)
2. if the target has only sent the plain stop response ($T00#ee), GDB
would ask for the current thread using a qC packet.
With that in mind, it is not necessary to report the paniced task as
the first task in qfThreadInfo response. We can simply returns the
tasks in their natural order, and then indicate the current task in
the qS packet response.
However even that change does not fully resolve the issues with task
list. The previous version of this code also incorrectly interpreted
the meaning of GDB TIDs -1 and 0. When GDB sends an "Hg0" command
early in the connection process, it doesn't expect the server to set
task 0 as the current task, as the code assumed. Rather, it tells the
server to "set any (arbitrary) task as the current one", and the most
logical thing to do for the server that is already in "stopped" state
is to keep the current task selection.
Since TID 0 has a special meaning in GDB remote protocol, gdbstub code
is now modified to map task indices (which start from 0) to GDB TIDs.
GDB TIDs are arbitrary, and for simplicity we keep the same order and
start counting them from 1.
The summary of all the above changes is:
1. Use "task index + 1" as the TID reported to GDB
2. Report the tasks in natural order; don't complicate the code to
make the paniced task first in the list.
3. Centralize modification of 'current_task_index' and 'regfile'
in the new 'set_active_task' function, to improve encapsulation.
2020-10-13 18:09:22 +02:00
Ivan Grokhotkov
4dc1195ca5
esp_system: fix incorrect critical section usage in usb_console
...
spinlock_acquire does not disable interrupts, whereas
portENTER_CRITICAL does.
Closes IDF-2049
2020-10-13 17:39:31 +02:00
baohongde
3f97f1d67a
components/bt: Make sleep avaliable in hli(for future use)
2020-10-13 19:45:03 +08:00
me-no-dev
d535b8c458
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
...
Fixes: https://github.com/espressif/esp-idf/issues/5781
2020-10-13 14:30:12 +03:00
Angus Gratton
bc1cca2bf8
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-13 18:25:29 +11:00
Jiang Jiang Jian
f10f27c01a
Merge branch 'bugfix/ipv6_address_get_fail_after_wifi_disconnect' into 'master'
...
lw-ip:ipv6 address get fail after wifi disconnect
Closes ESPCS-442
See merge request espressif/esp-idf!9438
2020-10-13 12:14:46 +08:00
Jiang Jiang Jian
138f036b55
Merge branch 'bugfix/pmf_softap_coex_issue' into 'master'
...
Fix issues related to PMF and WPA2-Enterprise
Closes WIFI-2852, WIFI-2704, and WIFI-2863
See merge request espressif/esp-idf!10523
2020-10-13 11:43:41 +08:00
Angus Gratton
af57f5f520
Merge branch 'bugfix/secure_boot_v2_ota_verification' into 'master'
...
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3
Closes IDFGH-4032
See merge request espressif/esp-idf!10600
2020-10-13 07:09:44 +08:00
Angus Gratton
ff8d05466e
Merge branch 'bugfix/deep_sleep_stub_heap_rtc_fast_mem' into 'master'
...
deep sleep: Calculate RTC CRC without using any stack or other RTC heap memory
Closes IDF-2242
See merge request espressif/esp-idf!10741
2020-10-13 06:17:50 +08:00
Mahavir Jain
0b71a0a46d
Merge branch 'bugfix/esp_https_ota_error_codes' into 'master'
...
esp_https_ota: fix error code formatting
See merge request espressif/esp-idf!10809
2020-10-12 22:39:31 +08:00
Michael (XIAO Xufeng)
fc7433d610
Merge branch 'feature/twai_isr_runs_with_cache_disabled' into 'master'
...
TWAI: ISR runs when cache is disabled
See merge request espressif/esp-idf!9920
2020-10-12 20:18:36 +08:00
Ivan Grokhotkov
85f919a428
esp_https_ota: fix error code formatting
2020-10-12 13:46:15 +02:00
Michael (XIAO Xufeng)
f5e4638c54
Merge branch 'feature/tusb_cdc_without_timer' into 'master'
...
Update `tinyusb_cdcacm_write_flush` to using ticks counting instead of the FreeRTOS timer
See merge request espressif/esp-idf!10738
2020-10-12 19:45:57 +08:00
Andrei Gramakov
ab33f55e1b
tinyusb: Fix a strncpy-related warning caused by a wrong argument
...
The issue was in using with `strncpy` a size of source array instead of using a size of destination array.
2020-10-12 12:30:42 +02:00
Jiang Jiang Jian
b8d26ca389
Merge branch 'bugfix/assert_no_IRAM_ATTR' into 'master'
...
components/bt: btdm fix cache disable crash
See merge request espressif/esp-idf!10778
2020-10-12 16:58:26 +08:00
Michael (XIAO Xufeng)
b821025312
Merge branch 'bugfix/uart_test_debug' into 'master'
...
driver: add diagnostic information into UART test, enable flow control
See merge request espressif/esp-idf!10627
2020-10-12 15:50:33 +08:00
fuzhibo
9cd5e6f8c9
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-12 07:41:03 +00:00
Angus Gratton
ff4d82c7d2
Merge branch 'feature/sha_hal' into 'master'
...
SHA: add HAL layer and refactor
See merge request espressif/esp-idf!10065
2020-10-12 15:15:28 +08:00
Supreet Deshpande
2356be7c7a
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3
...
Closes https://github.com/espressif/esp-idf/issues/5905
2020-10-12 07:15:16 +00:00
Island
64fa998c0f
Merge branch 'optimize/ble_mesh_make_buf_config_invisible' into 'master'
...
ble_mesh: stack: Make mesh buf debug option invisible
See merge request espressif/esp-idf!10777
2020-10-12 14:14:50 +08:00
Michael (XIAO Xufeng)
3c167497ad
Merge branch 'bugfix/esp_flash_erase_timeout' into 'master'
...
esp_flash: change timeout threshold and can close timeout
Closes IDF-2023
See merge request espressif/esp-idf!10138
2020-10-12 12:49:36 +08:00
Cao Sen Miao
b9f6efd99a
esp_flash: change timeout threshold and can close timeout
2020-10-12 10:43:25 +08:00
xueyunfei
91fd587fb7
lwip/ipv6:ipv6 address get fail after wifi disconnect
2020-10-12 10:40:22 +08:00
lly
0d3c724281
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-12 02:26:47 +00:00
Island
2b374ab7b8
Merge branch 'feat/ble_mesh_device_properties_v2' into 'master'
...
ble_mesh: Update mesh device property to v2
See merge request espressif/esp-idf!10754
2020-10-12 10:13:27 +08:00
Michael (XIAO Xufeng)
47e5dfb120
Merge branch 'feature/test_for_ext_flash_HSPI_on_esp32s2' into 'master'
...
spi_flash: add unit tests for HSPI on esp32s2
See merge request espressif/esp-idf!10040
2020-10-12 10:06:49 +08:00
lly
d3aa32c2ec
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-12 00:39:58 +00:00
lly
0b57cdf85b
ble_mesh: stack: Move device property to model common part
2020-10-12 00:39:58 +00:00
Angus Gratton
562ab01046
deep sleep: Calculate RTC CRC immediately before deep sleep, without using RAM
...
Fix for issues where RTC FAST memory is updated as part of going into deep
sleep. Very high risk if heaps are in RTC memory - in particular task stacks
may be in RTC memory, but also other variables.
Also fixes potential concurrency problems as RTC FAST memory is not accessible
by CPU during the CRC calculation itself.
Method:
- Disable interrupts (currently for single core only, will need update for S3)
- Load all registers before calculating CRC or going to sleep
2020-10-12 11:19:56 +11:00
Angus Gratton
bb480b72d0
Merge branch 'bugfix/parttool_init' into 'master'
...
parttool: make part_list an optional argument
See merge request espressif/esp-idf!10776
2020-10-12 06:36:48 +08:00
Anton Maklakov
c8d45f11b3
Merge branch 'ci/fast_template_app_s3' into 'master'
...
ci: add esp32s3 into template app build
See merge request espressif/esp-idf!10598
2020-10-11 19:00:48 +08:00
wangcheng
49a52cda6e
components/bt: btdm fix cache disable crash
2020-10-11 15:14:34 +08:00
Island
cbb9aca23a
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay' into 'master'
...
Bugfix/ble mesh proxy cfg replay
See merge request espressif/esp-idf!10699
2020-10-10 21:07:42 +08:00
Nachiket Kukade
6ae4b3ef48
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
2020-10-10 09:03:55 +00:00
Darian Leung
4c57f50fe4
TWAI: ISR runs when cache is disabled
...
This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
2020-10-10 14:19:32 +08:00
Marius Vikhammer
b3e7b58d04
parttool: make part_list an optional argument
...
Previous versions of PartitionType only required type and subtype as
arguments for the constructor. Make the new part_list argument optional to
keep backwards compatibilty
2020-10-10 09:46:51 +08:00
Cao Sen Miao
98cb2e5af3
spi_flash: add a unit test for HSPI on esp32s2
2020-10-09 20:57:00 +08:00
Ivan Grokhotkov
eb83878323
Merge branch 'bugfix/coredump_thread_info_failure' into 'master'
...
espcoredump: fix exception when -thread-info fails
See merge request espressif/esp-idf!10720
2020-10-09 19:36:36 +08:00
Michael (XIAO Xufeng)
953c046550
esp32s3/bootloader: extend IRAM usage to 0x6000
...
The bootloader cannot fit in the size of iram_loader_seg when built under -O0. Extend the IRAM size to fix this.
2020-10-09 17:50:17 +08:00
lly
68a6ccba76
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-09 08:52:01 +00:00
lly
e286cd845f
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-09 08:52:01 +00:00
Marius Vikhammer
949fb8e63a
SHA: add HAL layer and refactor driver
...
Add a LL and HAL layer for SHA.
2020-10-09 08:24:08 +00:00
Ivan Grokhotkov
a587cd1774
Merge branch 'bugfix/esp32s3_build' into 'master'
...
esp32s3: sync memprot header from esp32s2, fixing compilation error
See merge request espressif/esp-idf!10753
2020-10-09 15:58:11 +08:00
Angus Gratton
d6f8e9dfa8
Merge branch 'bugfix/delete_unneeded_cpu_h' into 'master'
...
esp32s2, esp32s3: delete unneeded cpu.h
See merge request espressif/esp-idf!10716
2020-10-09 13:54:56 +08:00
Angus Gratton
8aa73aea86
esp32s2/3: Add missing stdlib includes
...
All three of these headers refer to stdint types, memprot uses stdbool
2020-10-09 15:05:41 +11:00
Island
646599f6f8
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check' into 'master'
...
NimBLE: host_rcv_pkt event buf size check.
Closes BT-1015
See merge request espressif/esp-idf!10108
2020-10-09 09:16:09 +08:00
Ivan Grokhotkov
aa489dba07
esp32s3: sync memprot header from esp32s2, fixing compilation error
...
Since 497b730e8f
, panic_handler.c calls
esp_memprot_get_active_intr_memtype instead of
esp_memprot_is_assoc_intr_any.
2020-10-08 22:20:39 +02:00
Andrei Gramakov
3164116abd
Update tinyusb_cdcacm_write_flush
to using ticks counting instead of the FreeRTOS timer
2020-10-08 09:42:44 +02:00
Mahavir Jain
c1bfaf7334
Merge branch 'bugfix/protocomm_mem_failure' into 'master'
...
protocomm_console.c: Check if memory is allocated to buf and if not then...
See merge request espressif/esp-idf!10733
2020-10-08 15:30:23 +08:00
Angus Gratton
4289ca3e0e
Merge branch 'feature/freertos_timer_task_optional' into 'master'
...
freertos: save up to 4 kB of RAM if timer functionality is not used by the app
See merge request espressif/esp-idf!10721
2020-10-08 11:26:13 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
e28cd68839
esp_system: Add test case for using deep sleep wake stub when stack is in RTC memory
...
This test currently fails on ESP32 & ESP32-S2, fix will be in next commit.
2020-10-08 11:17:27 +11:00
KonstantinKondrashov
7ae7adf16a
newlib: Fix clock_getres() improves accuracy
...
Returns not rounded value of resolution for WITH_RTC and !WITH_FRC
2020-10-07 18:01:35 +08:00
kewal shah
9a16b551ef
protocomm_console.c: Check if memory is allocated to buf and if not then return ESP_ERR_NO_MEM error
2020-10-06 10:13:40 +05:30
Angus Gratton
26a0df0423
Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
...
bootloader_support: fix issue in memory mapping for getting app descriptor
Closes IDFGH-4038
See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
Angus Gratton
4b36da3f33
Merge branch 'feature/parttool_add_options_to_info_cmd' into 'master'
...
partition_table: Extend the get_partition_info command
See merge request espressif/esp-idf!10537
2020-10-06 07:35:32 +08:00
Chinmay Chhajed
3c0f06adb2
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-05 12:14:47 +00:00
KonstantinKondrashov
55dc1524ee
partition_table: Extend the get_partition_info command
...
A manufactory tool needs to retrieve info about partitions. With a new flag - "--part_list" we can get a list of partitions with the same type/subtype and easily iterate by it.
- name and flag arguments
- added flag "--part_list" to get a list of partitions with the same type/subtype
- save prev behavior of the get_partition_info command (return the only first item)
- added host test
2020-10-05 17:56:43 +08:00
Ivan Grokhotkov
ef10c2576f
esp32: allow up to 8 kB of ULP program size
...
The remaining 4 kB had been reserved for storing RF calibration and
BT stack state since 4e092be6
. However, these features never got
implemented. If we ever need to place RF related data into RTC slow
memory, we can do this by creating a variable with RTC_NOINIT_ATTR
instead.
Closes https://github.com/espressif/esp-idf/issues/3993
2020-10-05 11:41:39 +02:00
David Čermák
28d2b7a9b3
Merge branch 'bugfix/esp_netif_non_lwip' into 'master'
...
esp-netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
Closes IDFGH-3971
See merge request espressif/esp-idf!10472
2020-10-05 16:16:11 +08:00
David Čermák
f1eb4b827e
Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code
Closes IDFGH-4027
See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
David Čermák
39b9e46273
Merge branch 'bugfix/optionally_set_smi_gpio' into 'master'
...
esp_eth_mac_esp32: optionally setup SMI GPIO's
Closes IDFGH-4030
See merge request espressif/esp-idf!10589
2020-10-05 15:24:11 +08:00
Angus Gratton
1eefe6494c
Merge branch 'feature/rsa_caps' into 'master'
...
RSA: add max RSA bit len as a soc caps
See merge request espressif/esp-idf!10594
2020-10-05 12:56:28 +08:00
Michael (XIAO Xufeng)
637ca4b15d
bootloader_support: fix fix spi flash clock config error
...
Relates to: https://github.com/espressif/esp-idf/issues/5099
2020-10-03 04:37:52 +00:00
Michael (XIAO Xufeng)
a263d9a8e4
Merge branch 'fix/esp_flash_idle_logic' into 'master'
...
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
See merge request espressif/esp-idf!10530
2020-10-03 09:18:41 +08:00
Ivan Grokhotkov
654124adf0
freertos: don't create timer task if timer APIs are not used
...
Saves 2496 bytes of heap for the hello-world app on the ESP32,
and 4080 bytes of heap on the ESP32-S2 (due to IRAM savings).
2020-10-02 17:58:36 +02:00
Ivan Grokhotkov
8c246fd4f3
driver: add diagnostic information into UART test, enable flow control
2020-10-02 17:33:35 +02:00
Ivan Grokhotkov
5eebdd1de2
espcoredump: fix exception when -thread-info fails
...
GDB "-thread-info N" command (for a specific thread N) may fail if
GDB can not perform a backtrace. At the same time, "-thread-info"
command succeeds in this situation, returning information for all
threads.
Replace repeated calls to "-thread-info N" with a single call to
"-thread-info", also reducing the total execution time.
2020-10-02 16:54:32 +02:00
Angus Gratton
001a6be9b1
Merge branch 'bugfix/esp_pm_ignore_failing_test' into 'master'
...
esp_pm: temporarily disable failing test
See merge request espressif/esp-idf!10683
2020-10-02 14:01:28 +08:00
Michael (XIAO Xufeng)
fe37db3271
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
2020-10-02 05:34:36 +00:00
Mahavir Jain
92b72aa6c8
Merge branch 'bugfix/http_digest_auth' into 'master'
...
esp_http_client: Include port in host field, fix return type in API declaration
Closes IDFGH-1344
See merge request espressif/esp-idf!10590
2020-10-01 16:47:26 +08:00
Mahavir Jain
b9c14aa65d
Merge branch 'bugfix/esp_coredump_fixes_for_s2' into 'master'
...
esp_coredump: rename all config options to have generic `ESP` prefix
See merge request espressif/esp-idf!10697
2020-10-01 16:40:13 +08:00
Renz Bagaporo
e820e014b3
esp32s3: remove duplicate pm configs
2020-10-01 16:08:30 +08:00
Ivan Grokhotkov
db09f9815b
Merge branch 'bugfix/apptrace_opt2_build' into 'master'
...
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
See merge request espressif/esp-idf!10690
2020-09-30 22:57:46 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Mahavir Jain
bd19088125
esp_system: initialize coredump for ESP32-S2
...
This was regression introduced in recent refactoring changes
from startup code.
2020-09-30 20:22:27 +05:30
Mahavir Jain
237087a5ca
espcoredump: remove ESP32 prefix from config options
...
- This component is applicable for ESP32 and ESP32-S2, hence the change
- Backward compatibility is maintained using `sdkconfig.rename` file
2020-09-30 20:22:27 +05:30
Shubham Kulkarni
b06035443f
esp_http_client: Include port in host field
...
Closes: https://github.com/espressif/esp-idf/issues/3628
2020-09-30 15:39:42 +05:30
Renz Bagaporo
72176e275d
esp32s2, esp32s3: delete unneeded cpu.h
2020-09-30 17:58:00 +08:00
Shubham Kulkarni
661c18c578
esp_http_client.h: Fix return type in declaration of esp_http_client_flush_response.
...
Closes: https://github.com/espressif/esp-idf/pull/5845
2020-09-30 11:25:07 +05:30
Mahavir Jain
ab988ab5ca
bootloader_support: move anti rollback API to common loader section
...
API `bootloader_common_get_partition_description` is required for
anti-rollback feature and should be part of common loader code.
2020-09-30 11:13:13 +05:30
Mahavir Jain
5b344610c9
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here insures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-09-30 11:13:13 +05:30
Armando
1393520e78
spi_slave: fix crash issue caused by setting cs to -1
...
Setting cs num to -1 means cs pin is not connected. But passing the value -1 to the
spicommon_cs_initialize() will lead to program crash caused by "array index out
of bounds". We expect the driver to execute well but the driver should not be in
charge of users' behaviour, so this commit prevents the crash.
https://github.com/espressif/esp-idf/issues/5784
2020-09-30 11:40:52 +08:00
Jiang Jiang Jian
c34c961910
Merge branch 'bugfix/coex_some_bugfix_about_ble_dyn_prio' into 'master'
...
components/coex: Some bugfix about ble dynamic prio
Closes BT-1025
See merge request espressif/esp-idf!10189
2020-09-30 10:48:12 +08:00
Angus Gratton
83a7891f84
Merge branch 'feature/intr_alloc' into 'master'
...
feature/intr_alloc: moved interrupt allocator to the esp-system and refactored it moving all platform specific code to its place
Closes IDF-1913
See merge request espressif/esp-idf!10267
2020-09-30 07:44:12 +08:00
Felipe Neves
2e826b7a8f
intr_alloc: split interrupt allocator into common-code and platform-code
...
esp_system: removed repeated interrupt allocator code and moved common code to esp_system
xtens: moved xtensa specific code from freertos to the xtensa component
hal/interrupt_controller: added interrupt controller hal and ll files
docs: update the doxyfile with new location of esp_itr_alloc.h file
xtensa: fixed dangerous relocation problem after moving xtensa interrupt files out of freertos
docs: removed Xtensa reference from intr_allocator api-reference
xtensa: pushed the interrupt function that manages non iram interrupts to the xtensa layer
esp_system/test: fixed platform dependent setting for intr_allocator tests
hal: rename the functions used to manage non iram interrupt mask.
2020-09-30 07:44:12 +08:00
Alexey Gerenkov
1850941550
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
2020-09-29 18:19:34 +03:00
baohongde
628655b6be
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-09-29 21:08:13 +08:00
Jiang Jiang Jian
07499cc898
Merge branch 'feature/8021x_sha256_akm_support' into 'master'
...
esp_wifi: Add support for 802.1x sha256 auth key mode
Closes WIFI-2773
See merge request espressif/esp-idf!10412
2020-09-29 20:45:12 +08:00
Renz Bagaporo
04c67e83f3
esp_pm: temporarily disable failing test
2020-09-29 18:35:47 +08:00
kapil.gupta
ebc0b42c75
esp_wifi: Add support for 802.1x sha256 auth key mode
...
Closes https://github.com/espressif/esp-idf/issues/5805
2020-09-29 15:23:39 +05:30
mathiasbredholt
8a102926f8
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-09-29 11:47:32 +02:00
liqigan
93ba9ba15c
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-09-29 17:19:29 +08:00
liqigan
14f48d35bd
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-09-29 17:15:11 +08:00
liqigan
eff892933c
add event when calling spp API failed
2020-09-29 17:15:11 +08:00
Jiang Jiang Jian
96d59ff3e9
Merge branch 'bugfix/fix_bredr_read_rssi_delta' into 'master'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr
Closes IDFGH-3739
See merge request espressif/esp-idf!10574
2020-09-29 16:47:43 +08:00
Michael (XIAO Xufeng)
f4aacbef9b
Merge branch 'feature/support_access_internal_i2c_register' into 'master'
...
feature(rtc): add new APIs support access internal i2c register
See merge request espressif/esp-idf!10039
2020-09-29 08:08:51 +08:00
Sachin Billore
e34204c9c1
HMAC: adds test case for downstream JTAG Re-enable support
...
Closes IDF-802
2020-09-28 23:41:52 +05:30
Sachin Billore
0e5cf0f34d
HMAC: adding downstream JTAG Re-enable support
...
Closes IDF-802
2020-09-28 23:40:59 +05:30
Island
a46ab4ae84
Merge branch 'bugfix/channel_map_send_time' into 'master'
...
component/bt: Insert the llcp packet to the top of the tx_preg linked list.
Closes BT-993
See merge request espressif/esp-idf!10170
2020-09-28 21:49:48 +08:00
Mahavir Jain
79f52a0658
Merge branch 'fix/mbedtls_target_library_link' into 'master'
...
mbedtls: Fixed target library linking when using the DS peripheral
See merge request espressif/esp-idf!10650
2020-09-28 20:35:30 +08:00
Michael (XIAO Xufeng)
c449a0efe2
Merge branch 'bugfix/gdma_ll_tx_fifo' into 'master'
...
gdma: fix incorrect calculation of tx fifo size
See merge request espressif/esp-idf!10610
2020-09-28 15:51:25 +08:00
Jiang Jiang Jian
1dc850b95b
Merge branch 'bugfix/update_esp32_phy_v4500' into 'master'
...
esp_wifi: update esp32 phy v4500
See merge request espressif/esp-idf!10621
2020-09-28 15:44:47 +08:00
Michael (XIAO Xufeng)
4e781d1263
Merge branch 'bugfix/flash_clear_WEL_rom_patch' into 'master'
...
spi_flash: ROM patch for clearing WEL bit for unlock
See merge request espressif/esp-idf!10540
2020-09-28 15:36:19 +08:00
Aditya Patwardhan
db3cbf91f9
mbedtls: Fixed target library linking when using the DS peripheral
2020-09-28 12:58:54 +05:30
Jiang Jiang Jian
caba103d51
Merge branch 'bugfix/add_clear_bond_complete_evt' into 'master'
...
componenet_bt/bugfix: add remove bond device complete event
Closes BT-1013
See merge request espressif/esp-idf!10342
2020-09-28 14:39:40 +08:00
Cao Sen Miao
f448e97fea
flash:patch for clearing WEL in ROM
2020-09-28 12:53:06 +08:00
ChenJianxing
f3813c9062
esp_wifi: update esp32 phy v4500
...
improve frequence offset feature.
2020-09-28 11:42:05 +08:00
Michael (XIAO Xufeng)
c7264f04c6
Merge branch 'bugfix/fix_incorrect_i2s_pdm_clk_issue' into 'master'
...
Bugfix(I2S): Fix I2S PDM clock incorrect issue when using APLL.
Closes IDFGH-3423 and IDFGH-3106
See merge request espressif/esp-idf!9101
2020-09-28 11:35:31 +08:00
Michael (XIAO Xufeng)
60fb1a6ef3
Merge branch 'bugfix/spi_add_flash' into 'master'
...
spi_flash: fix a logic bug in checking ex_flash and psram
Closes IDFGH-2230
See merge request espressif/esp-idf!10009
2020-09-28 10:47:07 +08:00
Jiang Jiang Jian
b963dd3b32
Merge branch 'bugfix/no_event_for_connect' into 'master'
...
esp_wifi: fix the bug that no event when run connect twice
Closes WIFI-2390
See merge request espressif/esp-idf!10515
2020-09-27 23:16:49 +08:00
Jiang Jiang Jian
07f7ae7df0
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect' into 'master'
...
component_bt/bugfix: fix a2dp test case dummy and disconnect
Closes BT-706
See merge request espressif/esp-idf!10184
2020-09-27 21:15:43 +08:00
baohongde
acce9e5fea
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-27 19:55:12 +08:00
baohongde
dac798afbb
components/bt: Fix crash in BTM_SetPowerMode after disconnect
...
Introduced by commit 0583a049
2020-09-27 19:55:12 +08:00
baohongde
ecd75ec652
components/bt: Fix clear bond fail when connected without ble included
2020-09-27 19:55:12 +08:00
xiongweichao
4e4c86b267
add remove bond device complete event
2020-09-27 19:55:12 +08:00
Jiang Jiang Jian
0739cab478
Merge branch 'feature/add_tx_done_cb_api' into 'master'
...
wifi: Add support to register tx_done callback
Closes WIFI-2599
See merge request espressif/esp-idf!9727
2020-09-27 12:44:35 +08:00
fuzhibo
247789bb2e
rtc: support access internal i2c register
2020-09-27 12:12:17 +08:00
liqigan
ba51da8c91
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-09-27 10:44:18 +08:00
Angus Gratton
e95c8c1d66
Merge branch 'feature/esptool_allow_no_stub' into 'master'
...
Allow esptool's download stub to be disabled by other options and applications
See merge request espressif/esp-idf!10114
2020-09-26 01:25:53 +08:00
Yorick van Pelt
65707cfb41
esp_eth_mac_esp32: optionally setup SMI GPIO's
...
This enables passing smi_mdio_gpio_num = -1 to disable that signal
Merges https://github.com/espressif/esp-idf/pull/5903
2020-09-25 19:59:41 +08:00
wangcheng
8ddbadafe7
component/bt: Insert the llcp packet to the top of the tx_preg linked list.
2020-09-25 18:27:10 +08:00
Marius Vikhammer
4d57a5c2c7
gdma: fix incorrect calculation of tx fifo size
2020-09-25 16:15:56 +08:00
Renz Bagaporo
17b2d7864e
esp32s3: move s3 pm to esp_pm
2020-09-25 05:24:10 +00:00
Renz Bagaporo
fb749440fd
esp_pm: create pm init function
2020-09-25 05:24:10 +00:00
Renz Bagaporo
f33f49331f
ci: update configs to include/exclude esp_pm in unit test
2020-09-25 05:24:10 +00:00
Renz Bagaporo
6462f9bfe1
esp32, esp32s2: create esp_pm component
2020-09-25 05:24:10 +00:00
Island
87bc33f7df
Merge branch 'optimize/ble_mesh_provisioner_delete_dev' into 'master'
...
ble_mesh: stack: Optimize Provisioner delete device function
See merge request espressif/esp-idf!10557
2020-09-25 11:52:31 +08:00
xiongweichao
b0c4988d69
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-25 11:14:24 +08:00
xiongweichao
84cacaba51
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-25 10:54:13 +08:00
Cao Sen Miao
4ce8b59016
spi_flash: fix initialization failure when ex_flash with psram on
...
non-SPI1 bus.
Close https://github.com/espressif/esp-idf/issues/4379
2020-09-25 10:22:24 +08:00
Hrudaynath Dhabe
8746d3726b
wifi: Add IDF specific changes to add support for registering tx_done callback
2020-09-24 18:39:04 +05:30
Marius Vikhammer
3c14900a95
RSA: add max RSA bit len as a soc caps
2020-09-24 16:52:50 +08:00
Krzysztof Budzynski
b07a60c0b8
Merge branch 'docs/update_rtc_clock_source_description_in_api_references' into 'master'
...
docs: update the description for RTC Clock Sources for esp32 and esp32s2
Closes DOC-530
See merge request espressif/esp-idf!10577
2020-09-24 15:31:53 +08:00
zhangyanjiao
7b10cbfaaa
esp_wifi: fix the bug that no event when run connect twice
2020-09-24 14:40:41 +08:00
lly
2607662054
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-09-24 06:29:22 +00:00
Jiang Jiang Jian
e093eb064c
Merge branch 'feature/run_esp32c3_code_on_esp32_and_esp32s2' into 'master'
...
Feature/run esp32c3 code on esp32 and esp32s2
See merge request espressif/esp-idf!10213
2020-09-24 13:27:47 +08:00
Armando
1e1beb69aa
spi: fix build fail issue when target is esp32s3
2020-09-24 10:51:23 +08:00
Xia Xiaotian
bdbe74693f
esp_wifi: refactor wifi code in order to adapter to new chips
2020-09-24 10:15:50 +08:00
Ivan Grokhotkov
4f6fe91c3d
Merge branch 'bugfix/nvs_correct_namespaces' into 'master'
...
NVS: put wild functions into namespace
See merge request espressif/esp-idf!10514
2020-09-23 22:11:36 +08:00
Jiang Jiang Jian
b626e306da
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages' into 'master'
...
flash_mmap: can mmap after get enough free MMU pages
Closes IDFCI-49 and IDFCI-84
See merge request espressif/esp-idf!9728
2020-09-23 21:03:53 +08:00
Mahavir Jain
4a3b5b73a8
Merge branch 'feature/esp_ds_sw_support' into 'master'
...
Added support for RSA sign using DS peripheral (only for ESP32-S2)
Closes IDF-1626
See merge request espressif/esp-idf!9477
2020-09-23 20:39:04 +08:00
Wang Fang
a50966cf7a
docs: update the description for RTC Clock Sources for esp32 and esp32s2
2020-09-23 17:13:19 +08:00
Michael (XIAO Xufeng)
4b95f7efa8
Merge branch 'feature/spi_dma_hal_ll_refactor' into 'master'
...
spi: refactor DMA ll layer functions
Closes IDFGH-3538 and IDFGH-2555
See merge request espressif/esp-idf!9929
2020-09-23 15:32:41 +08:00
Michael (XIAO Xufeng)
3c2f2aaffe
Merge branch 'docs/spi_flash_readme_update' into 'master'
...
hal: Update readme aftering extracting hal document from soc document
See merge request espressif/esp-idf!10453
2020-09-23 13:33:08 +08:00
Cao Sen Miao
5baf124219
docs: update readme aftering extracting hal document from soc document
2020-09-23 11:47:23 +08:00
Renz Bagaporo
6d7606aee5
soc: remove unecessary compile line include dir orderding control
2020-09-23 02:53:03 +00:00
Renz Bagaporo
7f5893d53c
soc: move dac_hal to hal
2020-09-23 02:53:03 +00:00
Renz Bagaporo
01d9aa8070
soc: move mpu_hal test to hal component
2020-09-23 02:53:03 +00:00
Renz Bagaporo
2bcf99527c
soc: move out rtc_hal to hal component
2020-09-23 02:53:03 +00:00
Aditya Patwardhan
91b88acaec
tcp_transport: Added required API to support Digital Signature for SSL
2020-09-22 18:31:31 +05:30
Aditya Patwardhan
47f7c6a991
esp32s2/esp_ds: Digital Signature software support
...
1)Added support for alt rsa sign implementation with DS peripheral (
through ESP-TLS - mbedTLS SSL/TLS stack)
2020-09-22 18:31:31 +05:30
morris
0bb21281ca
esp32s3: select esp32s3 beta version in menuconfig
2020-09-22 15:15:03 +08:00
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
Marius Vikhammer
bff0016eb8
crypto accelerator support on esp32s3
...
SHA: passing unit tests
RSA: pass tests
AES: tests passing
2020-09-22 15:15:03 +08:00
morris
cc66334014
esp_timer: initial support on esp32-s3
2020-09-22 15:15:03 +08:00
morris
75a372a9f0
unit_test: support reference clock, test delay function
2020-09-22 15:15:03 +08:00
morris
e90dbe29cb
esp32s3: run on chip
2020-09-22 15:15:03 +08:00
jiangguangming
28145e0894
support flash instr and rodata copy to SPIRAM
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Cao Sen Miao
d7e50c6457
spi_flash:bringup some flash supports for esp32s3
2020-09-22 15:15:03 +08:00
chenjianqiang
f19cabb7e4
psram: support psram for esp32s3
2020-09-22 15:15:03 +08:00
morris
6225932201
bootloader_support: add esp32-s3 initial support
2020-09-22 15:15:03 +08:00
Xia Xiaotian
2e0c60461c
esp_wifi: refactor PHY access
...
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2020-09-22 15:00:05 +08:00
Jiang Jiang Jian
b845bb5787
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss' into 'master'
...
lw-ip:ipv6 send multicast data fail when src address is null
Closes WIFI-2489
See merge request espressif/esp-idf!9716
2020-09-22 14:19:31 +08:00
Jiang Jiang Jian
cfc4be0f06
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj' into 'master'
...
component_bt/bugfix: Confirmed bugfix from Baidu project
See merge request espressif/esp-idf!10450
2020-09-22 11:38:29 +08:00
Jiang Jiang Jian
c2c6c24e35
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM' into 'master'
...
wifi: Fix spin lock allocation in PSRAM bug
See merge request espressif/esp-idf!10449
2020-09-22 11:36:54 +08:00
Island
0ba0c3a01d
Merge branch 'bugfix/ble_mesh_node_deinit' into 'master'
...
ble_mesh: stack: Persistent storage misc fixes
See merge request espressif/esp-idf!9467
2020-09-22 10:08:03 +08:00
Ivan Grokhotkov
58ab54979c
Merge branch 'bugfix/efuse_test_stackoverflow' into 'master'
...
CI: Increase stack size for efuse unit test
See merge request espressif/esp-idf!10531
2020-09-21 21:58:15 +08:00
Armando
59e350b195
spi: seperate the pointer for the TX and RX DMA
2020-09-21 20:33:56 +08:00
Armando
27a6f2666a
spi_master: refactor hal context structures
...
This commit seperates the hal context into different configuration
structures based on their members' definitions. Through refactoring
spi_master.c, the device related configuration should be passed in and
set each time before a new transaction. The transaction related
configuration now is a local variable in case of the fact that error
occurs without any notice when user forgets to pass new transaction
configuration in (which means the old driver will use the trans_config
that is saved from last transaction).
Besides, via above refactor, this commit fixs a bug which leads to
wrong cs polarity setting.
Closes https://github.com/espressif/esp-idf/pull/5490
Moreover, via above refactor, this commit also fixs a bug about duplex
mode switching when multiple devices are added to the bus.
Closes https://github.com/espressif/esp-idf/issues/4641
2020-09-21 20:32:41 +08:00
lly
e14868ff30
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-09-21 11:46:52 +00:00
Ivan Grokhotkov
396dea51ba
Merge branch 'bugfix/core_dump_regression' into 'master'
...
bugfix/esp_system: fix core_dump on flash regression by placing esp_system_abort back to IRAM
See merge request espressif/esp-idf!10522
2020-09-21 16:11:22 +08:00
Angus Gratton
033f49f974
Merge branch 'bugfix/cpp_header_rom_secure_boot' into 'master'
...
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
Closes IDFGH-3998
See merge request espressif/esp-idf!10528
2020-09-21 15:51:03 +08:00
jiangguangming
052f88f1d1
flash_mmap: restore interrupt and cache before err return
2020-09-21 07:37:50 +00:00
jiangguangming
61e341e791
flash_mmap: can mmap after get enough free MMU pages
2020-09-21 07:37:50 +00:00
Angus Gratton
5004812dd6
Merge branch 'bugfix/spiram_reserve_size_pr5373' into 'master'
...
SPIRAM reserved memory size fixes
Closes IDFGH-3407 and IDFGH-3931
See merge request espressif/esp-idf!9185
2020-09-21 12:27:00 +08:00
Marius Vikhammer
ae0931be06
CI: Increase stack size for efuse unit test
...
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size.
2020-09-21 12:23:14 +08:00
Angus Gratton
a381ecca6f
Merge branch 'bugfix/cxx_exception_crash_test' into 'master'
...
Temporarily remove cxx exception frequent intr unit test
See merge request espressif/esp-idf!10426
2020-09-21 10:31:27 +08:00
Michael (XIAO Xufeng)
ea1eb495a5
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_master' into 'master'
...
spi_master: correctly set cs polarity
See merge request espressif/esp-idf!10265
2020-09-21 10:17:38 +08:00
Angus Gratton
95177d5f07
esp32s2 spiram: Fix unused variable warnings
2020-09-21 11:43:55 +10:00
Angus Gratton
d1b86720f1
esp32s2: Reduce calls to esp_spiram_get_size() when initializing PSRAM
2020-09-21 11:43:55 +10:00
Angus Gratton
3f034a5005
spiram: Add soc macro for SPIRAM address space size, use it where applicable
...
Reference https://github.com/espressif/esp-idf/pull/5373
2020-09-21 11:43:55 +10:00
negativekelvin
5eb5bb5f72
Fix reserved psram region
...
Closes https://github.com/espressif/esp-idf/pull/5373
Closes https://github.com/espressif/esp-idf/issues/5821
2020-09-21 11:39:54 +10:00
Jakob Hasse
6292d359f8
Removed C++ unit test
...
* Removed cxx exception frequent intr unit test
It sometimes stalled by too frequent interrupts
in some configurations, causing CI trouble.
* Opened Jira IDF-2144 for further investiation
2020-09-21 01:32:23 +00:00
Supreet Deshpande
0e940c80d4
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
...
Closes https://github.com/espressif/esp-idf/issues/5878
2020-09-20 22:50:44 +05:30
Michael (XIAO Xufeng)
4e287a09fe
spi_flash: add unit tests for qio mode
2020-09-20 01:57:14 +08:00
Michael (XIAO Xufeng)
3b2e8648eb
bootloader: create public bootloader_flash.h header
...
Move non-public functions into bootloader_flash_priv.h header
2020-09-19 10:52:02 +08:00
Michael (XIAO Xufeng)
fefdee1349
bootloader: fix the WRSR format for ISSI flash chips
...
1. The 2nd bootloader always call `rom_spiflash_unlock()`, but never help to clear the WEL bit when exit. This may cause system unstability.
This commit helps to clear WEL when flash configuration is done.
**RISK:** When the app starts, it didn't have to clear the WEL before it actually write/erase. But now the very first write/erase operation should be done after a WEL clear. Though the risk is little (all the following write/erase also need to clear the WEL), we still have to test this carefully, especially for those functions used by the OTA.
2. The `rom_spiflash_unlock()` function in the patch of ESP32 may (1) trigger the QPI, (2) clear the QE or (3) fail to unlock the ISSI chips.
Status register bitmap of ISSI chip and GD chip:
| SR | ISSI | GD25LQ32C |
| -- | ---- | --------- |
| 0 | WIP | WIP |
| 1 | WEL | WEL |
| 2 | BP0 | BP0 |
| 3 | BP1 | BP1 |
| 4 | BP2 | BP2 |
| 5 | BP3 | BP3 |
| 6 | QE | BP4 |
| 7 | SRWD | SRP0 |
| 8 | | SRP1 |
| 9 | | QE |
| 10 | | SUS2 |
| 11 | | LB1 |
| 12 | | LB2 |
| 13 | | LB3 |
| 14 | | CMP |
| 15 | | SUS1 |
QE bit of other chips are at the bit 9 of the status register (i.e. bit 1 of SR2), which should be read by RDSR2 command.
However, the RDSR2 (35H, Read Status 2) command for chip of other vendors happens to be the QIOEN (Enter QPI mode) command of ISSI chips. When the `rom_spiflash_unlock()` function trys to read SR2, it may trigger the QPI of ISSI chips.
Moreover, when `rom_spiflash_unlock()` try to clear the BP4 bit in the status register, QE (bit 6) of ISSI chip may be cleared by accident. Or if the ISSI chip doesn't accept WRSR command with argument of two bytes (since it only have status register of one byte), it may fail to clear the other protect bits (BP0~BP3) as expected.
This commit makes the `rom_spiflash_unlock()` check whether the vendor is issi. if so, `rom_spiflash_unlock()` only send RDSR to read the status register, send WRSR with only 1 byte argument, and also avoid clearing the QE bit (bit 6).
3. `rom_spiflash_unlock()` always send WRSR command to clear protection bits even when there is no protection bit active. And the execution of clearing status registers, which takes about 700us, will also happen even when there's no bits cleared.
This commit skips the clearing of status register if there is no protection bits active.
Also move the execute_flash_command to be a bootloader API; move
implementation of spi_flash_wrap_set to the bootloader
2020-09-19 10:51:51 +08:00
Felipe Neves
e8a276d641
esp_system: revert the esp_system_abort to the IRAM section
2020-09-18 22:18:30 -03:00
cnlohr
507c08251e
esp_netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
...
Note: besides the esp-netif component, this commit also disables
net_sockets.c from mbedtls, which is one of the base components and uses BSD API (not specifically lwIP). This might be refactored to use CONFIG_SUPPORT_BSD_API instead of CONFIG_ESP_NETIF_TCPIP_LWIP
in the future.
It also disables smartconfig_ack.c and wifi_init.c from esp_wifi
component for referencing some lwIP config options (smartconfig_ack.c changes might be also
updated to check CONFIG_SUPPORT_BSD_API)
Merges https://github.com/espressif/esp-idf/pull/5856
2020-09-18 15:10:55 +02:00
Jakob Hasse
0e118c6070
NVS: put wild functions into namespace
2020-09-18 15:38:40 +08:00
xueyunfei
8feadde2fa
ipv6 send multicast data fail when src address is null
2020-09-18 14:24:14 +08:00
Jiang Jiang Jian
65c94dfb4c
Merge branch 'bugfix/add_disconn_req_action_when_no_link' into 'master'
...
component_bt/bugfix: add_disconn_req_action_when_no_link
See merge request espressif/esp-idf!9751
2020-09-18 12:21:50 +08:00
Ivan Grokhotkov
3af24d2f36
Merge branch 'bugfix/fix_wrong_nvs_api_doc' into 'master'
...
nvs: fix api doc regarding to maximum key length
See merge request espressif/esp-idf!10439
2020-09-18 01:01:45 +08:00
Ivan Grokhotkov
d7f846d1b3
Merge branch 'bugfix/log-error-run-esptool' into 'master'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream
Closes IDF-2075
See merge request espressif/esp-idf!10465
2020-09-18 01:00:05 +08:00
Wielebny666
db6fbba73e
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
Partly solve this problem: https://github.com/espressif/esp-idf/pull/5490
2020-09-17 12:05:57 +00:00
martin.gano
da5b582dee
add file stream parameter and log stdout and stderr to same stream
2020-09-17 12:54:18 +02:00
Angus Gratton
0fe231d2b3
Merge branch 'feature/pkg_ver_uses_4_bits' into 'master'
...
efuse/esp32: Expands PKG_VER from 3 bit to 4 bits
Closes IDF-1919
See merge request espressif/esp-idf!9949
2020-09-17 18:21:08 +08:00
Mahavir Jain
d82b9275b5
Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization' into 'master'
...
provisioning: use memcpy instead of strncpy for copying SSID
Closes IDFGH-3983
See merge request espressif/esp-idf!10467
2020-09-17 17:56:37 +08:00
Michael (XIAO Xufeng)
3c283b490a
Merge branch 'feature/async_memcpy' into 'master'
...
async_mcp: support async memory copy on esp32s2 and esp32s3
See merge request espressif/esp-idf!10242
2020-09-17 16:54:28 +08:00
KonstantinKondrashov
2373f115fc
efuse/esp32: Expands PKG_VER from 3 bit to 4 bits
...
Closes: IDF-1919
2020-09-17 07:44:37 +00:00
Mahavir Jain
6a3d50c952
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 12:59:22 +05:30
morris
e52c93a514
nvs: fix api doc regarding to maximum key length
...
Thanks to feed back from https://esp32.com/viewtopic.php?f=25&t=17323
2020-09-17 12:37:28 +08:00
Island
83ffba024a
Merge branch 'bugfix/ble_mesh_check_stack_init' into 'master'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client
See merge request espressif/esp-idf!10468
2020-09-17 11:21:25 +08:00
Ivan Grokhotkov
b62d149b82
Merge branch 'feature/freertos_port_code_out_iram' into 'master'
...
feature/esp_system: move startup and freertos port once-time code out of IRAM when possible
Closes IDF-1975
See merge request espressif/esp-idf!9976
2020-09-17 06:58:08 +08:00
Ivan Grokhotkov
f4296b947e
Merge branch 'bugfix/fatfs_alloc_extram_first' into 'master'
...
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
Closes IDFGH-3850
See merge request espressif/esp-idf!10381
2020-09-17 03:41:34 +08:00
morris
a3cc43485f
async memcpy: support async memcopy on esp32s2/s3
...
Added async memory copy API:
on esp32-s2, the implementation is based on CP_DMA
on esp32-s3, the implementation is based on GDMA
2020-09-16 21:30:54 +08:00
Jiang Jiang Jian
78ee03b100
Merge branch 'bugfix/update_esp32_phy_4390' into 'master'
...
esp_wifi: update esp32 phy v4390
See merge request espressif/esp-idf!10397
2020-09-16 11:57:32 +08:00
dongyou
29592e3e83
wifi: Fix spin lock allocation in PSRAM bug
...
Closes https://github.com/espressif/esp-idf/issues/5629
2020-09-16 11:38:15 +08:00
me-no-dev
b64fd872bc
Allow esptool's download stub to be disabled by other options and applications
...
Currently USB CDC Download requires the `--no-stub` option of `esptool`. This change inverts the Kconfig option to negative, so that it can be `selected` by other options or enabled in applications through `sdkconfig.defaults`.
2020-09-16 03:25:53 +00:00
lly
cf1f5fe5ad
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-16 02:41:49 +00:00
Felipe Neves
e67162a7ea
startup: namespaced start_app and start_app_other_core to avoid user code collision
2020-09-15 16:05:19 -03:00
Felipe Neves
a1e5dd58b2
startup: moved init core functions out of iram memory
2020-09-15 16:02:12 -03:00
Felipe Neves
d59e8b50d2
freertos: move startup code out of iram memory
2020-09-15 16:02:12 -03:00
Ivan Grokhotkov
96db25c861
Merge branch 'feature/nvs_encryption_s2' into 'master'
...
NVS: using esp_partition API
Closes IDF-1340 and IDF-858
See merge request espressif/esp-idf!8683
2020-09-16 02:12:54 +08:00
Ivan Grokhotkov
8bc19ba893
Merge branch 'feature/free_components_iram' into 'master'
...
freertos: free IRAM space moving task functions into flash memory
See merge request espressif/esp-idf!5648
2020-09-15 23:14:31 +08:00
Alex Lisitsyn
eaa892bebf
freertos: optionally place selected freertos functions into flash memory instead of IRAM
...
correct generation.py script to be silent when file: function is not in the object list (just ignore placement)
correct linker.lf to place task functions into flash if CONFIG_FREERTOS_TASK_FUNCTIONS_INTO_FLASH is active otherwise into IRAM
update kconfig option to place functions into IRAM
update linker file after tests
fix spi_device_polling_end crash when xTaskGetTickCount() in flash
disable "yield from lower priority task, other CPU" test case when placing rtos functions into flash
upadate ut app config freertos_flash
combine spi_flash driver and freertos ut configs into one file
remove TEST_EXCLUDE_COMPONENTS
ci: fix ut job
remove functions that are called from ISR funcs
add port module functions to place into Flash
place snapshot funcs into Flash when ESP_PANIC_HANDLER_IRAM is not set
ci: add job with tags UT_T1_GPIO,ESP32_IDF
2020-09-15 23:14:31 +08:00
weitianhua
c598b816ba
Confirmed bugfix from Baidu project
2020-09-15 19:36:20 +08:00
Angus Gratton
4535fa03b0
Merge branch 'feature/freertos_dual_portYIELD_support' into 'master'
...
feature/freertos: enable support for portYIELD_FROM_ISR that takes an argument or not
Closes IDF-1962
See merge request espressif/esp-idf!9927
2020-09-15 19:06:58 +08:00
Island
ee7a7ffe55
Merge branch 'bugfix/ble_mesh_settings_fix' into 'master'
...
Bugfix/ble mesh settings fix
Closes BLEMESH-217
See merge request espressif/esp-idf!8920
2020-09-15 11:08:51 +08:00
Ivan Grokhotkov
0efad5951b
Merge branch 'bugfix/ulp_doc_typo' into 'master'
...
ulp: typo fix (Github PR)
Closes IDFGH-1899
See merge request espressif/esp-idf!10382
2020-09-15 01:11:25 +08:00
Ivan Grokhotkov
4fe7a58a60
Merge branch 'bugfix/config_pm_use_rtc_timer_ref' into 'master'
...
esp_timer: fix CONFIG_PM_USE_RTC_TIMER_REF option usage
Closes IDFGH-2958
See merge request espressif/esp-idf!8399
2020-09-15 00:41:16 +08:00
Ivan Grokhotkov
c330def25a
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
...
Closes https://github.com/espressif/esp-idf/issues/5756
2020-09-14 18:30:31 +02:00
Felipe Neves
c471cce26c
freertos/tests: added isr latency test with no parameter and parameter based yield from ISR
2020-09-14 16:12:38 +00:00
Felipe Neves
36b2737bb1
freertos/xtensa: make vportYIELD_FROM_ISR compatible with version that both takes argument or not
2020-09-14 16:12:38 +00:00
Michael (XIAO Xufeng)
1a1e1911f9
Merge branch 'bugfix/spi_dma_close_before_cpu_reset' into 'master'
...
spi: fix issue with closing DMA before CPU reset
Closes FCS-484
See merge request espressif/esp-idf!9844
2020-09-14 23:02:05 +08:00
Michael (XIAO Xufeng)
286ccc600e
Merge branch 'bugfix/spi_slave_hd_callback_judge' into 'master'
...
spi_slave_hd: Prevent NULL callback from being called
See merge request espressif/esp-idf!9998
2020-09-14 22:43:33 +08:00
weitianhua
31df07c5d7
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-14 17:22:41 +08:00
lly
b453c1268a
ble_mesh: stack: Use settings_core_erase when deinit
2020-09-14 08:40:12 +00:00
lly
825ceb726d
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-09-14 08:40:12 +00:00
lly
f34c7df26d
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-09-14 08:40:12 +00:00
lly
e18ea178b8
ble_mesh: stack: Split model settings store and clear
2020-09-14 08:40:12 +00:00
lly
f8c3818182
ble_mesh: stack: Erase netkey and appkey with key index
2020-09-14 08:40:12 +00:00
lly
80b16c58bb
ble_mesh: stack: Add clear hb_pub in settings
2020-09-14 08:40:12 +00:00
lly
88cc07b6ca
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-09-14 08:40:12 +00:00
lly
f010c36366
ble_mesh: stack: Use erase settings functions
2020-09-14 08:40:12 +00:00
lly
5ad4166d41
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-09-14 08:40:12 +00:00
lly
2bb65fac60
ble_mesh: stack: Add role check before enabling device
2020-09-14 08:40:12 +00:00
lly
ace471c266
ble_mesh: stack: Define a type for mesh nvs handle
2020-09-14 08:40:12 +00:00
Ivan Grokhotkov
767235ba6d
Merge branch 'bugfix/coredump_temp_files_del' into 'master'
...
coredump: temp-files delete fix
See merge request espressif/esp-idf!9511
2020-09-14 16:05:28 +08:00
Michael (XIAO Xufeng)
b65fd25458
Merge branch 'bugfix/update_link_hal_readme' into 'master'
...
hal: update link to HAL readme.md
See merge request espressif/esp-idf!10424
2020-09-14 13:26:30 +08:00
Michael (XIAO Xufeng)
b65d3e51aa
Merge branch 'bugfix/add_return_in_uart_wait_tx_done' into 'master'
...
bugfix(UART): Add return in uart_wait_tx_done
See merge request espressif/esp-idf!10193
2020-09-14 10:37:17 +08:00
Jakob Hasse
aca9ec28b3
NVS: using esp_partition API
...
* partition api changed from spi_flash* API to
esp_partition* API and is abstracted as a C++
interface.
* The old nvs encryption is still possible
* changed default unit test app partition table
* Partitions coming from esp_partition API are
checked for generic flash encryption. If yes,
an error is returned since generic flash
encryption isn't compatible with nvs
encryption
* esp32, esp32s2 tests don't require nvs_flash
but mbedtls now
Closes IDF-1340
Closes IDF-858
2020-09-14 10:34:34 +08:00
Mahavir Jain
b18d8f1863
Merge branch 'bugfix/http_client_empty_headers' into 'master'
...
esp_http_client: Fix issue when response headers have empty value
Closes IDFGH-3613, IDFGH-3921, and IDFGH-3959
See merge request espressif/esp-idf!10035
2020-09-11 23:47:32 +08:00
Mahavir Jain
ac7f7084bc
Merge branch 'bugfix/returns_correct_flash_encryption_mode' into 'master'
...
bootloader: Fix esp_get_flash_encryption_mode()
Closes IDFGH-3841
See merge request espressif/esp-idf!10142
2020-09-11 18:37:33 +08:00
boarchuz
bf942a60f3
esp_http_client: add flush response
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/5845
Closes: https://github.com/espressif/esp-idf/issues/5814
2020-09-11 15:25:24 +05:30
Mahavir Jain
34d5b64a34
Merge branch 'task/nvs_util_file_handling' into 'master'
...
nvs_util: Update file I/O handling for error handling across various OS
See merge request espressif/esp-idf!10051
2020-09-11 17:52:02 +08:00
Ivan Grokhotkov
00072fe2e2
Merge branch 'ci/standalone_unit_test_app' into 'master'
...
CI: add standalone unit test app for esp_netif
See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
Marius Vikhammer
b2f390df01
hal: update link to HAL readme.md
...
The HAL readme was moved during refactoring, but links were not updated.
2020-09-11 15:48:08 +08:00
Shivani Tipnis
d1f00e7c36
nvs_util: Update file I/O handling for error handling across various OS
2020-09-11 06:35:01 +00:00
weitianhua
57b695be10
Add global header and change declaration position
2020-09-11 14:31:18 +08:00
weitianhua
04a7771f33
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-11 14:31:18 +08:00
weitianhua
af52df8b83
Rewrite a2dp clean_up function
2020-09-11 14:31:18 +08:00
weitianhua
87bf47bd90
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-11 14:31:18 +08:00
Shubham Kulkarni
bb8981903e
esp_http_client: Fix issue when response headers have empty value
...
Closes: https://github.com/espressif/esp-idf/issues/5553
2020-09-11 11:48:36 +05:30
KonstantinKondrashov
09af4a9fad
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-09-11 04:20:23 +00:00
Island
9ac8b8739b
Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
...
ble_mesh: stack: Using the latest iv_index for provisioning
See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
lly
1037736300
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 00:47:43 +00:00
suren.gabrielyan
a43c06a592
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
5a8e2c1f52
Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
...
sleep: fix esp32 light sleep duration
See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d
Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
...
esp_flash: decrease performance threshold of ESP32-S2
See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
Michael (XIAO Xufeng)
37e3f20252
Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
...
esp_flash: fix write issue using buffer on stack out of lifetime
See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
...
components/bt: Fix SPP using NULL point with dynamic memory
Closes BT-1024
See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
ChenJianxing
200139cd86
esp_wifi: update esp32 phy v4390
...
fix rf signal test RX -20~-40 dBm pkts loss rate beyond 5% issue.
2020-09-10 15:41:21 +08:00
Michael (XIAO Xufeng)
baab55e230
esp_flash: decrease performance threshold of ESP32-S2
...
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4
esp_flash: fix write issue using buffer on stack out of lifetime
2020-09-10 03:17:39 +00:00
boarchuz
137bc6658c
ulp: typo fix
...
rd_reg comment references incorrect OPCODE ("OPCODE_WR_REG"); amended to "OPCODE_RD_REG".
Merges https://github.com/espressif/esp-idf/pull/4098
2020-09-10 01:33:50 +02:00
Ivan Grokhotkov
77afbd51ae
sleep: fix esp32 light sleep duration
...
Commit aa43ed8
was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.
Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3
Merge branch 'bugfix/ulp_as_version' into 'master'
...
ulp: fix ULP assembler version detection for localized systems
See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Ivan Grokhotkov
287bfeb7fd
Merge branch 'bugfix/parttool_example_test_fail' into 'master'
...
fix multiple example test failures
Closes IDFCI-39 and IDFCI-124
See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee
ulp: fix ULP assembler version detection for localized systems
2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448
Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
...
https_server: Added WSS server example and some http(s)+ws updates
Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444
See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3
Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
...
Set default AP handlers in wifi_create_and_start_ap()
See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Jiang Jiang Jian
b5e9047e47
Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
...
Fix reboot or crash when enable lightsleep on esp32s2
Closes WIFI-2248
See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
Ivan Grokhotkov
26016534d8
bootloader: move rtc_retain_mem functions back into .iram_loader.text
...
Introduced 66a32c17
when bootloader_common was moved out of the loader
section.
Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863
http_server: Simplified httpd_get_client_list() to return clients in int array
2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9
http_server: Add a flag to enable using control frames in user handlers
2020-09-09 08:00:20 +02:00
David Cermak
fe862f413f
https_server: Fix use of open_fn from application level
...
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427
esp_http_server: Add Websocket API to return list of active clients
...
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512
Merge branch 'bugfix/cxx_flag_operators' into 'master'
...
esp_eth: moved extern "C" after includes
See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fa8e0438b4
Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
...
esp32s2/soc: Fix periph_ll_periph_enabled
See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Jakob Hasse
f7f46905ec
esp_eth: moved extern "C" after includes
2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc
Set default AP handlers in wifi_create_and_start_ap()
2020-09-08 11:36:07 +05:30
Chen Yi Qun
b9a0d509a2
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 02:45:14 +00:00
lly
8a3ccd855f
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 00:47:42 +00:00
Ivan Grokhotkov
3a51584fbb
Merge branch 'bugfix/uart_read_o2' into 'master'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
Closes IDFCI-97
See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Island
122874bf86
Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
...
ble_mesh: stack: Avoid unnecessary assert in mesh stack
See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00
Anton Maklakov
2b7e02c9ed
Merge branch 'revert-983220e2' into 'master'
...
ci: enable RS485 related tests again
See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
KonstantinKondrashov
0319eb5984
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
Zhang Hu
6a5faa0fd7
Driver(I2S): Fix I2S PDM clock incorrect issue when using APLL.
...
closes https://github.com/espressif/esp-idf/issues/5127
closes https://github.com/espressif/esp-idf/issues/5386
2020-09-07 08:08:22 +00:00
baohongde
898baf20f8
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:41:30 +08:00
ninh
aa43ed8bb8
fix reboot or crash when enable lightsleep on esp32s2
2020-09-07 15:38:00 +08:00
David Čermák
8ff8a05334
Merge branch 'bugfix/switch_icmp_unit_test_from_baidu_to_taobao' into 'master'
...
unit_test: increase icmp unit test timeout configuration
See merge request espressif/esp-idf!10284
2020-09-07 14:54:01 +08:00
Jiang Jiang Jian
472c40f84e
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
...
Bugfix/l2cap link timeout llcp prog btu wtd
Closes BT-941 and BT-973
See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
Fu Hanxi
edc7cc9c00
add component_ut in assign-test and target-test stage.
...
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
morris
31aa16bbe6
unit_test: switch icmp test server to taobao
2020-09-06 09:42:44 +08:00
Jiang Jiang Jian
b89d1a47f0
Merge branch 'bugfix/change_pcm_config_position' into 'master'
...
bugfix/ Change PCM config to the right position
See merge request espressif/esp-idf!10185
2020-09-05 13:48:04 +08:00
Ivan Grokhotkov
0acf94f10f
esp_timer: fix CONFIG_PM_USE_RTC_TIMER_REF option usage
...
Also remove PM_USE_RTC_TIMER_REF in esp32s2, since this option is only
used in FRC implementation of esp_timer.
Closes https://github.com/espressif/esp-idf/issues/4991
2020-09-04 19:19:26 +00:00
Mahavir Jain
228adfa6b1
Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
...
Feature/ota incremental erase during write
See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
David Čermák
ddd8ca6671
Merge branch 'bugfix/fix_transport_ssl_blocking' into 'master'
...
transport: fix transport ssl blocking
See merge request espressif/esp-idf!10120
2020-09-04 17:47:14 +08:00
Jakob Hasse
40d80b981a
Fixed unity fixture for ESP32/S2
...
* Created compile switch for UNITY_MAIN
since it was using exit() syscall leading to
abort() on ESP
2020-09-04 17:37:47 +08:00
Ivan Grokhotkov
f789380e19
WIP/PoC: esp_netif UT as a test app
2020-09-04 17:37:47 +08:00
wangcheng
d635320871
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:21:40 +08:00
Mahavir Jain
70ddae41a8
Merge branch 'bugfix/empty_algorithm_header' into 'master'
...
esp_http_client: Adds http_auth empty algorithm header check
Closes IDFGH-3569
See merge request espressif/esp-idf!10047
2020-09-04 16:03:24 +08:00
Mahavir Jain
33d0024034
esp_https_ota: change erase to incremental during flash write
2020-09-04 12:05:06 +05:30
Peter Hoddie
3a768f51c3
app_update: add support for incremental flash erase
...
This patch modifies the OTA implementation to incremental erase flash sectors
as they are written, rather than bulk erasing them all at once when OTA begins.
This solves several problems:
- The bulk flash erase can take so long that it triggers the watchdog timer.
Disabling the watchdog is an undesirable risk.
- The bulk erase interferes with the responsiveness of the system to user input.
- Incremental erasing eliminates the need to pass the firmware image size to
esp_ota_begin to avoid erasing more flash sectors than required.
- When installing an OTA received via HTTP, the size of the firmware image is
known when the content-length header is received. Calling esp_ota_begin at that
time causes a long delay to do the bulk erase which causes the TCP transfer
speed to be measurably slowed when the transfer resumes after the erase.
Incremental erasing eliminates this TCP slowdown.
Update:
Rework so erase optimization is only applied when image_size is set to
OTA_WITH_SEQUENTIAL_WRITES #5246
Merges https://github.com/espressif/esp-idf/pull/5246
2020-09-04 12:05:02 +05:30
Ivan Grokhotkov
9d3add538b
Merge branch 'feature/toolchain_2020r3' into 'master'
...
Update toolchain to esp-2020r3
See merge request espressif/esp-idf!10250
2020-09-04 14:07:24 +08:00
David Čermák
fdd40b0d9e
Merge branch 'bugfix/slip_ipv6_fix' into 'master'
...
esp-netif: Fix SLIP interface to start with correct IPv6 addr
Closes IDFGH-2952
See merge request espressif/esp-idf!10116
2020-09-04 13:55:32 +08:00
Michael (XIAO Xufeng)
4941cf58d0
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2020-09-04 12:57:08 +08:00
Mahavir Jain
cec605f74d
Merge branch 'bugfix/espcommon_reqs_cmake' into 'master'
...
esp_common: Add required missing components to CMakelists
Closes IDFGH-3373
See merge request espressif/esp-idf!10122
2020-09-04 12:54:47 +08:00
Ivan Grokhotkov
ab0fc70104
Merge branch 'feature/check_section_references' into 'master'
...
ci: add script to check section references
See merge request espressif/esp-idf!9513
2020-09-04 06:19:13 +08:00
David Cermak
d3801be6d9
esp_http_server: Add httpd_ws_get_fd_info() API to check active WS clients
...
Added a new API to WebSocket server to test provided socket descriptor if it belongs to active clients for this server and if websocket handshake has been performed
Closes https://github.com/espressif/esp-idf/issues/5602
2020-09-03 20:40:11 +02:00
David Cermak
5dae28069f
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-09-03 18:11:09 +00:00
Ivan Grokhotkov
52d935615c
Merge branch 'bugfix/window_spill_a0_corruption' into 'master'
...
freertos: don't clobber a4 while spilling register windows
Closes IDFGH-3852 and IDF-1935
See merge request espressif/esp-idf!10252
2020-09-04 00:23:43 +08:00
Ivan Grokhotkov
7a9d2c3fb4
bootloader: fix section placement of wdt_hal
...
Regression from moving HAL and LL code into the new "hal" component.
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
66a32c1707
bootloader: fix section placement issues found by the check script
...
Summary of changes:
- bootloader_clock split into *_clock_init and *_clock_loader.
Only esp_clk_apb_freq is in *_clock_loader.
- bootloader_common moved out of loader; functions needed in loader
(or, referenced from bootloader_utility) were moved into
bootloader_common_loader.c.
- assert and abort moved into bootloader_panic, made part of the
loader
- rtc_clk and rtc_time made part of loader
2020-09-03 18:14:17 +02:00
Michael (XIAO Xufeng)
91af5eaf4f
Merge branch 'refactor/twai_hal_state' into 'master'
...
Refactor TWAI HAL to store state information
Closes IDF-1633
See merge request espressif/esp-idf!9789
2020-09-03 23:22:30 +08:00
Ivan Grokhotkov
c3008e8ae1
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2020-09-03 12:13:11 +02:00
Shivani Tipnis
8963ebf2e2
esp_common: Add required missing components to CMakelists
2020-09-03 09:46:37 +00:00
lly
d6947d0699
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-03 07:17:50 +00:00
David Čermák
9e8f4e51b2
Merge branch 'bugfix/mdns_query_id' into 'master'
...
mdns: Responding: Fix query ID, add questions if not strict mode
Closes IDFGH-3639 and IDFGH-3577
See merge request espressif/esp-idf!9795
2020-09-03 14:57:47 +08:00
Anton Maklakov
f63bbc169e
toolchain: fix the C++ exception workaround for new toolchains that don't have such hook
2020-09-03 13:50:54 +07:00
Island
bc6d239681
Merge branch 'feat/ble_mesh_use_model_cb' into 'master'
...
ble_mesh: stack: Use model callback for operations [Zephyr]
See merge request espressif/esp-idf!9505
2020-09-03 14:48:13 +08:00
Krzysztof Budzynski
6211d5297d
Merge branch 'doc/warn_doxygen_ver' into 'master'
...
docs: add warning for doxygen version
See merge request espressif/esp-idf!10219
2020-09-03 13:48:40 +08:00
Marius Vikhammer
9b552ce004
docs: add warning for doxygen version
...
Running with a newer doxygen version than what's
used in CI may raise warnings locally that are not
present when built by CI
2020-09-03 13:48:40 +08:00
Mahavir Jain
7f5b6d1843
Merge branch 'bugfix/time_spinlock' into 'master'
...
newlib: revert back from spinlocks to using newlib locks for time.h
Closes IDFGH-3858
See merge request espressif/esp-idf!10130
2020-09-03 12:34:29 +08:00
Shubham Kulkarni
58b386bca3
Fix issue when algotithm header is not present
2020-09-03 04:32:45 +00:00
lly
043abf5750
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-03 02:02:33 +00:00
Marius Vikhammer
6fb996b1ac
newlib: revert back from spinlocks to using newlib locks for time.h
...
Spinlocks from spinlock.h do not disable the scheduler and thus cannot safely
be directly used as a locking mechanism. A task holding the lock can get
pre-empted, and at that point the new running task will also be allowed to
take the spinlock and access whatever it was protecting.
Another issue is that the task holding a spinlock could migrate to a different
core which in turn would cause the application to fail asserts. The current
implementation assumes the core that takes the lock is also the core that
releases it.
Closes https://github.com/espressif/esp-idf/issues/5762
2020-09-03 09:56:02 +08:00
Krzysztof Budzynski
cc33c1db91
Merge branch 'doc/adc_grammar_stuff' into 'master'
...
Bugfix(doc): minor modifications in the adc section
Closes DOC-436
See merge request espressif/esp-idf!9620
2020-09-03 04:29:24 +08:00
Michael (XIAO Xufeng)
9e7eda9770
Merge branch 'feat/spi_flash_override_size' into 'master'
...
spi_flash: add config option to override flash size in bootloader header
See merge request espressif/esp-idf!10131
2020-09-03 02:57:31 +08:00
Ivan Grokhotkov
52cc05108e
Revert "CXX: removed exception windowspill test"
...
This reverts commit f3e180de72
.
2020-09-02 15:44:18 +02:00
Ivan Grokhotkov
04b95f3567
freertos: don't clobber a4 while spilling register windows
...
Commit 891eb3b0
was fixing an issue with PS and EPC1 not being
preserved after the window spill procedure. It did so by saving PS in
a2 and EPC1 in a4. However the a4 register may be a live register of
another window in the call stack, and if it is overwritten and then
spilled to the stack, then the corresponding register value will end
up being corrupted. In practice the problem would show up as an
IllegalInstruction exception, when trying to return from a function
when a0 value was 0x40020.
Fix by using a0 register instead of a4 as scratch. Also fix a comment
about xthal_save_extra_nw, as this function in fact doesn't clobber
a4 or a5 because XCHAL_NCP_NUM_ATMPS is defined as 1.
Closes https://github.com/espressif/esp-idf/issues/5758
2020-09-02 15:40:41 +02:00
David Čermák
40f3cc4a34
Merge branch 'feature/mqtt_outbox_expired_config' into 'master'
...
MQTT: add configurable msg expired timeout
See merge request espressif/esp-idf!9997
2020-09-02 20:40:45 +08:00
Wu Bo Wen
658b56a690
doc/adc: modifications in the adc documentation and adc headers
2020-09-02 11:30:48 +00:00
David Cermak
bcfa36db8f
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
2020-09-02 11:12:08 +02:00
David Cermak
f62e321d87
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
2020-09-02 11:12:08 +02:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
xutao
bd2daccb22
transport: fix transport ssl blocking
...
In SSL mode, if `esp_transport_poll_read` function is used, the cache data in mebdtls will be blocked
2020-09-02 07:01:01 +00:00
Jiang Jiang Jian
685d6af004
Merge branch 'feature/pmf_espnow_coexistance' into 'master'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance
Closes WIFI-2712, WIFI-2774, WIFI-2775, and WIFI-2778
See merge request espressif/esp-idf!9885
2020-09-02 14:35:15 +08:00
Darian Leung
7398390049
TWAI: Track HW state in HAL
...
This commit refactors the TWAI HAL such that it
now tracks harwdare state instead of the driver
layer. Some HAL and LL cleanup was also done.
2020-09-02 13:03:41 +08:00
Jiang Jiang Jian
36720504f9
Merge branch 'bugfix/add_protection_for_spp_api' into 'master'
...
componnet_bt:/ Add protection for btc and some comment correction
Closes BT-899 and BTCI-78
See merge request espressif/esp-idf!9329
2020-09-02 12:01:34 +08:00
Nachiket Kukade
3308ede898
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-09-02 09:26:39 +05:30
Armando
d3d4dd9357
spi_slave_hd: fix issue with adding callback calling judgement
2020-09-02 03:20:42 +00:00
Ivan Grokhotkov
fdba279970
Merge branch 'ci/adc_calib_test_failures' into 'master'
...
bugfix/CI: fix for adc-calib test failures
See merge request espressif/esp-idf!10215
2020-09-02 03:05:27 +08:00
Michael (XIAO Xufeng)
c15c6a2803
Merge branch 'fix/esp_flash_delay_type' into 'master'
...
esp_flash: fix the data type of delay_us
See merge request espressif/esp-idf!10115
2020-09-02 01:21:12 +08:00
Michael (XIAO Xufeng)
37423083bb
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2020-09-02 00:35:53 +08:00
Michael (XIAO Xufeng)
ea63bd3de4
Merge branch 'feat/extract_hal_from_soc' into 'master'
...
hal: extract hal component from soc component
See merge request espressif/esp-idf!9992
2020-09-01 23:56:15 +08:00
Ivan Grokhotkov
7da6d6c1b5
Merge branch 'bugfix/get_time_in_less_than_microsecond' into 'master'
...
esp_timer: inline is initialized check
See merge request espressif/esp-idf!10080
2020-09-01 23:29:14 +08:00
Ivan Grokhotkov
2ee480163d
Merge branch 'bugfix/disable_failing_ut_for_S2' into 'master'
...
esp_system: Disable UTs for ESP32-S2 linked to sleep mode
See merge request espressif/esp-idf!10235
2020-09-01 23:18:24 +08:00
Michael (XIAO Xufeng)
9d09f739da
Merge branch 'refactor/unit_test_ref_clock' into 'master'
...
unit_test:refactor ref clock to use RMT carrier
See merge request espressif/esp-idf!10045
2020-09-01 22:13:03 +08:00
Jiang Jiang Jian
2e65e3a7d1
Merge branch 'bugfix/fix_softAP_set_channel_bug' into 'master'
...
esp_wifi: fix softAP set channel bug
Closes WIFI-2575 and WIFI-1972
See merge request espressif/esp-idf!10134
2020-09-01 21:20:03 +08:00
KonstantinKondrashov
b1e667cdcc
esp_system: Disable UTs for ESP32-S2 linked to sleep mode
...
- disable source trigger behavior
- light sleep followed by deep sleep
- wake up from light sleep using timer
2020-09-01 17:10:28 +08:00
weitianhua
9b57366908
Change PCM config to the right position
2020-09-01 16:05:01 +08:00
Island
cfd13d8c90
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect' into 'master'
...
component/bt: fix Blufi sends data after disconnecting the seq still increase
See merge request espressif/esp-idf!10217
2020-09-01 15:38:26 +08:00
Mahavir Jain
ae15603c91
Merge branch 'bugfix/ota_documentation' into 'master'
...
Update OTA README, set custom headers in esp_https_ota
Closes IDFGH-3535 and IDFGH-3619
See merge request espressif/esp-idf!10053
2020-09-01 15:36:06 +08:00
Renz Bagaporo
e70f240e12
esp_timer: do init check in timer implementation
2020-09-01 15:01:11 +08:00
zhangyanjiao
f8ea1f0045
esp_wifi:
...
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-01 14:46:50 +08:00
Marius Vikhammer
0ea20bed43
MQTT: add configurable msg expired timeout
2020-09-01 06:40:18 +00:00
Wu Bo Wen
a8b5592762
ci: quick fix for adc-calib failures
2020-09-01 14:01:58 +08:00
Michael (XIAO Xufeng)
5425ef4ee4
hal: extract hal component from soc component
2020-09-01 13:25:32 +08:00
XieWenxiang
e92c2f553b
component/bt: fix Blufi sends data after disconnect the seq still increase
2020-09-01 09:54:14 +08:00
Michael (XIAO Xufeng)
2d440e408a
esp_flash: fix the data type of delay_us
...
unsigned can be 16-bit on some architecture, which doesn't meet the
requirements of delaying for several hundreds of us.
2020-08-31 18:10:32 +00:00
David Čermák
ffd7f39189
Merge branch 'feature/mqtt_sub_update_01594bf1' into 'master'
...
MQTT: Update submodule reference to 01594bf11
Closes IDFGH-3408, IDFGH-3217, IDFGH-3565, IDFGH-3710, IDFGH-3786, IDF-2006, and IDFGH-3748
See merge request espressif/esp-idf!10079
2020-08-31 21:17:09 +08:00
Krzysztof Budzynski
94cc8fc4b3
Merge branch 'doc/tinyusb' into 'master'
...
TinyUSB documentation
See merge request espressif/esp-idf!8862
2020-08-31 20:57:29 +08:00
Jiang Jiang Jian
80969f5a4c
Merge branch 'bugfix/esp_wifi_log_level' into 'master'
...
wifi: Fix esp_wifi log levels
Closes WIFI-2543 and WIFI-2706
See merge request espressif/esp-idf!9830
2020-08-31 18:40:20 +08:00
Jiang Jiang Jian
16e0ff273c
Merge branch 'bugfix/enter_sniff_mode_attr_err' into 'master'
...
bugfix/enter_sniff_mode_attr_err
See merge request espressif/esp-idf!9407
2020-08-31 14:28:57 +08:00
morris
4dd649d533
unit_test:refactor ref clock to use RMT carrier
2020-08-31 14:25:23 +08:00
David Čermák
9bc2773b22
Merge branch 'bugfix/ws_stop_deadlock' into 'master'
...
Websocket client: avoid deadlock if stop called from event handler
See merge request espressif/esp-idf!9963
2020-08-31 14:17:28 +08:00
Michael (XIAO Xufeng)
2b323e7180
Merge branch 'bugfix/fix_dac_driver_ut' into 'master'
...
Driver(dac): fix DAC-DMA driver and unit test
Closes IDF-1407
See merge request espressif/esp-idf!8814
2020-08-31 00:05:34 +08:00
Michael (XIAO Xufeng)
7876d7f5a6
Merge branch 'bugfix/add_adc-dma_for_esp32' into 'master'
...
driver(adc): add adc-dma code for esp32
Closes IDF-1407
See merge request espressif/esp-idf!9139
2020-08-30 23:27:13 +08:00
Shubham Kulkarni
c4d16e9f79
esp_https_ota: Add a feature to set custom headers to esp_https_ota request
...
Closes: https://github.com/espressif/esp-idf/issues/3097
2020-08-29 09:05:52 +00:00
Marius Vikhammer
2d67e37c6f
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681
)
Closes https://github.com/espressif/esp-mqtt/issues/158
SSL: add support for tls with secure element (ATECC608A)
esp-mqtt commit: a7ff9afa3f
)
Closes https://github.com/espressif/esp-mqtt/issues/156
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10
)
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d
)
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab
)
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2
)
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
Add support for Digital Signature through ESP-TLS
esp-mqtt commit: 7d8e59de00
2020-08-28 17:04:14 +08:00
aditi_lonkar
a6a8381745
wifi: Fix esp_wifi log levels
...
Closes https://github.com/espressif/esp-idf/issues/5721
2020-08-28 11:59:03 +05:30
Island
eda151992b
Merge branch 'feature/btdm_add_link_role_param_for_gatt_connection_event' into 'master'
...
component/bt: add link role param for gatt connection event
See merge request espressif/esp-idf!10164
2020-08-28 14:16:13 +08:00
xiewenxiang
5979111109
component/bt: add link role param for gatt connection event
2020-08-28 08:47:54 +08:00
Andrei Gramakov
c863b4c777
docs: tinyusb documentation
2020-08-27 13:49:33 +02:00
wangcheng
f8fd58d7f6
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-08-27 14:46:27 +08:00
Sachin Billore
f1dae0d6e1
ESP32 SecureBoot V2: eFuse write operations are updated to use the eFuse Manager APIs
...
Closes IDF-2034
Closes https://github.com/espressif/esp-idf/issues/5771
2020-08-27 04:24:04 +00:00
Jiang Jiang Jian
3eac0ec5be
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx_master' into 'master'
...
esp_wifi: Fix null pointer dereferences in mgmt rx
See merge request espressif/esp-idf!10140
2020-08-27 11:21:54 +08:00
Angus Gratton
46b3a6d88e
Merge branch 'bugfix/secure_boot_v2_key_gen_py3' into 'master'
...
esptool: Update submodule fixing Py3 keygen in Secure boot v2
Closes IDFGH-3887
See merge request espressif/esp-idf!10157
2020-08-27 08:50:01 +08:00
weitianhua
8a9bfd3e92
Add protection for rfcomm close API in SPP
2020-08-26 15:17:28 +08:00
weitianhua
7e772d2195
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-08-26 15:17:28 +08:00
kapil.gupta
e13ab93b98
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:40:46 +05:30
weitianhua
d43f3539ee
Workaround for a hardware bug in Slave sniff mode. Because of Slave dose not start a sniff timeout count when slave send a ACL package.
2020-08-26 15:00:29 +08:00
fuzhibo
0914dfbb6a
dfiver(dac): add dac dma driver and unit test
2020-08-26 06:23:24 +00:00
fuzhibo
bd92e95160
driver(adc): add adc-dma code for esp32
2020-08-26 03:54:02 +00:00
kapil.gupta
06bc7f1d2f
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-26 03:51:37 +00:00
Angus Gratton
cf3be75844
Merge branch 'bugfix/usb_hal_and_clk' into 'master'
...
Fix USB CLK always reset and USB with swapped pins not working through HAL
See merge request espressif/esp-idf!10113
2020-08-26 07:39:03 +08:00
Supreet Deshpande
63161abb76
esptool: Update submodule fixing Py3 keygen in Secure boot v2
2020-08-26 03:25:32 +05:30
me-no-dev
0aa1c13027
Fix USB CLK always reset and USB with swapped pins not working
2020-08-25 10:59:59 +03:00
wangcheng
6a9becd75f
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-23 13:42:40 +00:00
Michael (XIAO Xufeng)
8a9dc46b14
Merge branch 'bugfix/spi_master_add_dummy_check' into 'master'
...
spi_master: add dummy check when both mosi and miso are set
Closes IDF-1872 and IDF-266
See merge request espressif/esp-idf!9406
2020-08-23 12:47:18 +08:00
Marius Vikhammer
c2bb0762bb
Websocket client: avoid deadlock if stop called from event handler
2020-08-21 18:57:45 +08:00
David Čermák
a80b25ebbb
Merge branch 'feature/ws_client_close_frame' into 'master'
...
ws_client: Added support for close frame, closing connection gracefully
Closes IDF-1915
See merge request espressif/esp-idf!9677
2020-08-21 14:36:18 +08:00
David Čermák
e2f72f449c
Merge branch 'feature/ethernet_flow_control' into 'master'
...
ethernet: support flow control
Closes IDF-1207, WIFI-2510, WIFI-2290, WIFI-2291, WIFI-2507, WIFI-2508, WIFI-2612, and IDFGH-3465
See merge request espressif/esp-idf!9643
2020-08-21 14:33:30 +08:00
Krzysztof Budzynski
6c17e3a64c
Merge branch 'docs/Specify_two_calls_to_RingbufferReceive_is_required_in_wrap_mode' into 'master'
...
Add a note to specify that two calls to RingbufferReceive are required in wrap mode
Closes IDF-1980
See merge request espressif/esp-idf!9999
2020-08-19 20:00:27 +08:00
Jiang Jiang Jian
9e45dca650
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num' into 'master'
...
lw-ip: fix max ipv6 pkt queue num too large cause no mem issue
Closes WIFI-2527 and WIFI-2350
See merge request espressif/esp-idf!9697
2020-08-19 16:07:14 +08:00
Angus Gratton
7547820393
Merge branch 'refactor/sleep_modes' into 'master'
...
Refactor sleep modes code
Closes IDF-1119
See merge request espressif/esp-idf!8404
2020-08-19 12:51:43 +08:00
David Cermak
5e9f8b52e7
tcp_transport: Added internal API for underlying socket, used for custom select on connection end for WS
...
Internal tcp_transport functions could now use custom socket operations.
This is used for WebSocket transport, when we typically wait for clean
connection closure, i.e. selecting for read/error with expected errno or
recv size=0 while socket readable (=connection terminated by FIN flag)
2020-08-18 06:42:22 +00:00
David Cermak
b213f2c6d3
ws_client: Added support for close frame, closing connection gracefully
2020-08-18 06:42:22 +00:00
Armando
fc6010c959
spi_master: add dummy check when both mosi and miso are set
...
Closes https://github.com/espressif/esp-idf/issues/2715
2020-08-18 10:30:30 +08:00
Jiang Jiang Jian
a768b58aa2
Merge branch 'bugfix/add_rf_test_short_and_long' into 'master'
...
esp_wifi: add rf test 11b plcp preamble support
See merge request espressif/esp-idf!8889
2020-08-17 21:55:23 +08:00
Armando
da9649df53
spi: fix issue with closing DMA before CPU reset
2020-08-17 21:32:20 +08:00
Armando
aa93347972
spi: remove spi4 related macros and codes
2020-08-17 21:32:15 +08:00
Renz Bagaporo
3f6e366f56
esp_system: force RTC_SLEEP_PD_XTAL on ESP32 via get pdflags
...
Based on the original code (`esp32/sleep_modes.c`), `RTC_SLEEP_PD_XTAL`
is always given as an argument to `esp_sleep_start`. Enforce this in
function to get power down flags to avoid redundancy.
2020-08-17 19:09:24 +08:00
Renz Bagaporo
0db3edd490
esp32: move sleep test to esp_system
2020-08-17 19:09:24 +08:00
Renz Bagaporo
fe65bf00b1
esp_system: use ext0, ext1, ulp wakeup prepare hal
2020-08-17 19:09:24 +08:00
Renz Bagaporo
4f5135030f
esp_system: remove register level operations for timer wakeup
2020-08-17 19:09:24 +08:00
Renz Bagaporo
0b6ead74b5
soc: ll and hal for sleep related code
2020-08-17 19:09:24 +08:00
Renz Bagaporo
b30522f701
esp32, esp32s2: move sleep modes code to esp_system
2020-08-17 19:09:23 +08:00
Renz Bagaporo
14902da344
esp32: move disabling rom log to esp_rom
2020-08-17 19:08:56 +08:00
Armando
e58ce2141d
spi_master: rename the hal layer function that calculates clock and timing
2020-08-17 17:04:07 +08:00
Michael (XIAO Xufeng)
dc22501b47
Merge branch 'bugfix/mcpwm_capture_getedge_null_deref' into 'master'
...
Bugfix(MCPWM): Fix dereferencing of a null pointer in function mcpwm_capture_signal_get_edge
See merge request espressif/esp-idf!9255
2020-08-17 15:52:24 +08:00
Jiang Jiang Jian
9c1b2820a1
Merge branch 'feature/btdm_mode_change_event' into 'master'
...
components/bt: Add mode change event
Closes BT-981
See merge request espressif/esp-idf!9720
2020-08-17 14:53:46 +08:00
xiehang
1a39459336
esp_wifi: add rf test long short support
2020-08-17 11:08:19 +08:00
He Yin Ling
f22862f28d
Merge branch 'bugfix/remove_auto_conn_case' into 'master'
...
test: remove auto conn case because we do not support this anymore
See merge request espressif/esp-idf!9938
2020-08-17 09:01:40 +08:00
Angus Gratton
62c4b569ad
Merge branch 'refactor/timekeeping_init' into 'master'
...
Timekeeping refactor
Closes IDF-1864
See merge request espressif/esp-idf!7824
2020-08-17 08:13:44 +08:00
ChenJianxing
bf48acc284
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-08-16 22:08:07 +08:00
liu zhifu
6ed4dd65a4
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-08-15 11:35:10 +08:00
Jiang Jiang Jian
8294d5b788
Merge branch 'bugfix/fix_wifi_tx_all' into 'master'
...
esp_wifi: fix wifi tx all
Closes WIFI-1835
See merge request espressif/esp-idf!9147
2020-08-14 15:03:57 +08:00
Michael (XIAO Xufeng)
ceb690886e
Merge branch 'feature/esp32s2_adc_calib_V1' into 'master'
...
driver/adc: support for esp32s2 adc calibration scheme (RTC High Priority)
Closes IDFGH-3500
See merge request espressif/esp-idf!10004
2020-08-14 13:42:39 +08:00
Krzysztof Budzynski
f0d53bd097
Merge branch 'docs/translate_ulp_risc_v' into 'master'
...
docs: translate api-guides/ulp-risc-v from EN to CN
See merge request espressif/esp-idf!9757
2020-08-13 19:44:46 +08:00
He Hui Zi
dfa59e3d22
docs: translate api-guides/ulp-risc-v from EN to CN
2020-08-13 19:44:46 +08:00
Wu Bo Wen
6a0951ecb2
driver/adc: support for esp32s2 adc calibration scheme
...
ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-08-13 17:27:03 +08:00
Angus Gratton
1a47f025e9
Merge branch 'bugfix/cpu_start_build' into 'master'
...
esp_system: fix bootloader wdt enabled build issue
Closes IDFGH-3717
See merge request espressif/esp-idf!9816
2020-08-13 16:52:31 +08:00
liu zhifu
fa9a5c0be5
esp_wifi: optimize WiFi TX performance
2020-08-13 12:26:21 +08:00
baohongde
060a36352c
components/bt: Add mode change event
2020-08-12 09:20:04 +00:00
ChenJianxing
4949087217
esp_wifi: fix phy v4350 RX throughput low issue.
...
sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-08-12 14:16:45 +08:00
Jiang Jiang Jian
0584b3d1d3
Merge branch 'bugfix/fix_unable_update_rssi_of_hidden_ap' into 'master'
...
bugfix: fix connect hidden AP doesn't update information
Closes WIFI-2484, WIFI-2604, and WIFI-2609
See merge request espressif/esp-idf!9600
2020-08-12 12:04:44 +08:00
Michael (XIAO Xufeng)
3b617dd94c
Merge branch 'bugfix/fix_bugs_in_rtcio_unit_test' into 'master'
...
bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test
Closes IDFCI-96
See merge request espressif/esp-idf!10015
2020-08-12 11:21:34 +08:00
Jiang Jiang Jian
68ddb64dd7
Merge branch 'bugfix/fix_udp_tx_performance_issue' into 'master'
...
lw-ip: fix udp tx packet loss issue
Closes WIFI-2573
See merge request espressif/esp-idf!9925
2020-08-11 21:22:18 +08:00
ronghulin
087c580c09
bugfix: fix connect hidden AP doesn't update information
...
Closes https://github.com/espressif/esp-idf/issues/5632
2020-08-11 19:41:32 +08:00
Jiang Jiang Jian
63b566eb27
Merge branch 'bugfix/fix_softap_mode_wifi_event_issue' into 'master'
...
bugfix: fix softap mode event issue
Closes WIFI-1861, WIFI-1446, WIFI-2367, WIFI-2042, and WIFI-893
See merge request espressif/esp-idf!7918
2020-08-11 19:34:07 +08:00
Chen Yi Qun
f9b167103f
bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test
2020-08-11 18:43:54 +08:00
Renz Bagaporo
c70c227591
esp_system: private system time functions for now
2020-08-11 17:52:36 +08:00
Renz Bagaporo
da88671491
esp_system: link time, not runtime, dependency on esp_timer
2020-08-11 17:52:36 +08:00
Michael (XIAO Xufeng)
593d3ce79a
Merge branch 'bugfix/twai_brp_div_init' into 'master'
...
TWAI: Initialize brp_div field to zero, fix register field name, and remove sdkconfig form caps
See merge request espressif/esp-idf!9924
2020-08-11 17:01:18 +08:00
ronghulin
b006acbb46
bugfix: fix softap mode event issue
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-11 10:34:47 +08:00
Michael (XIAO Xufeng)
d06f1f6897
Merge branch 'test/esp_flash_s2_performance_thr' into 'master'
...
flash test: decrease the threshold of performance test on s2
See merge request espressif/esp-idf!9831
2020-08-11 10:10:18 +08:00
Jiang Jiang Jian
933de37074
Merge branch 'bugfix/softAP_power_save_buffer_issue' into 'master'
...
esp_wifi: fix the bug for softAP power save buffer issue
Closes WIFI-2362
See merge request espressif/esp-idf!9826
2020-08-10 23:33:17 +08:00
Jiang Jiang Jian
4d4dee8a52
Merge branch 'bugfix/wifi_stop_crash' into 'master'
...
esp_wifi: fix the crash when wifi stop after deinit
Closes WIFI-2647 and WIFI-2646
See merge request espressif/esp-idf!9931
2020-08-10 19:11:55 +08:00
morris
76fe489c58
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-10 18:54:25 +08:00
morris
a3da67a97a
ethernet: set DMA owner after all descriptors have configured
2020-08-10 18:54:25 +08:00
morris
f4131b9b42
ethernet: handle early rx interrupt
2020-08-10 18:54:25 +08:00
morris
4e38aab1b0
ethernet: support flow control for esp32 emac
2020-08-10 18:54:25 +08:00
Wang Fang
ee135b8e28
Add a note to specify that two calls to RingbufferReceive are required in wrap mode
2020-08-10 18:25:51 +08:00
Michael (XIAO Xufeng)
e97e7281b2
Merge branch 'feature/tinyusb_cdc' into 'master'
...
Feature/tinyusb cdc
See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +08:00
wubowen
de72ef2c1a
bugfix: Fixed the issue that calling mcpwm_capture_signal_get_edge causes a crash
2020-08-10 09:31:03 +00:00
Darian Leung
fdbda1ce78
TWAI: Simplify caps header
...
This commit simplies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-08-10 17:01:32 +08:00
Darian Leung
d814a40c1d
TWAI: Fix ESP32-S2 register field name
2020-08-10 17:01:32 +08:00
Darian Leung
6983d1e0bb
TWAI: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2020-08-10 17:01:32 +08:00
Renz Bagaporo
346cf4430d
esp_system: introduce system time functions
...
- Introduce system time function and concept of system time provider.
esp_timer is system time provider when present.
- Set the reference point for system time, g_startup_time.
- Use the system time functions in newlib instead of calling esp_timer
functions directly
2020-08-10 15:12:38 +08:00
Renz Bagaporo
5785e4dfb6
newlib: move some functions to soc, esp32, esp32s2
2020-08-10 15:11:38 +08:00
Renz Bagaporo
a395a00d2c
newlib: separate low-level code in time.c implementation
2020-08-10 15:11:37 +08:00
Michael (XIAO Xufeng)
cda9c595d7
Merge branch 'feature/mcpwm_capture_on_both_edge' into 'master'
...
MCPWM: add an option to do mcpwm capture on both edges
See merge request espressif/esp-idf!9850
2020-08-10 11:48:50 +08:00
Michael (XIAO Xufeng)
37cd6249d8
Merge branch 'bugfix/remove_FILE_from_log_messages' into 'master'
...
bugfix: remove __FILE__ from log messages
Closes IDFGH-3709 and IDFGH-3712
See merge request espressif/esp-idf!9852
2020-08-10 11:43:38 +08:00
Hou Chen Yao
cdf1e8a38b
remove auto conn case because we do not support this anymore
2020-08-10 01:46:26 +00:00
Ivan Grokhotkov
7acda7b8eb
Merge branch 'bugfix/panic_instr_fetch_prohibited' into 'master'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions
See merge request espressif/esp-idf!9851
2020-08-07 21:43:35 +08:00
Michael (XIAO Xufeng)
64f2ac49ce
Merge branch 'feature/esp32s3_hal_driver_placeholder' into 'master'
...
soc: placeholder for esp32s3 HAL driver
See merge request espressif/esp-idf!9897
2020-08-07 17:27:05 +08:00
Jiang Jiang Jian
c27bd40d54
Merge branch 'feature/support_phase2TTLS_algos' into 'master'
...
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
Closes FCS-361
See merge request espressif/esp-idf!8816
2020-08-07 14:06:12 +08:00
Jiang Jiang Jian
b613f90cb9
Merge branch 'bugfix/eap_client_iot_issue' into 'master'
...
wpa_supplicant: Fix IOT issue with freeradius & internal eap agent
See merge request espressif/esp-idf!9766
2020-08-07 12:22:32 +08:00
morris
edb5ddf63b
soc: placeholder for esp32s3 HAL driver
...
soc rtc
2020-08-07 11:59:00 +08:00
xiehang
49cb6905d4
lwip: fix udp tx packet loss issue
2020-08-07 11:25:06 +08:00
Andrei Gramakov
84aa1c0cc3
usb: cdc support, streams redirection; ci, examples upd
...
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists
IDF-578
2020-08-06 15:26:08 +02:00
lly
0fcd0bb6b8
ble_mesh: stack: Client model related code clean
2020-08-06 08:45:22 +00:00
lly
e924e5f2f4
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-06 08:45:22 +00:00
lly
36d714ec59
ble_mesh: stack: Check client msg result in common func
2020-08-06 08:45:22 +00:00
lly
02eaaca3d6
ble_mesh: stack: Fix no events for some error conditions
2020-08-06 08:45:22 +00:00
lly
5f6f61f634
ble_mesh: stack: Move client role set to the msg function
2020-08-06 08:45:22 +00:00
lly
ad39479804
ble_mesh: stack: Remove some not used client parameters
2020-08-06 08:45:22 +00:00
lly
1d6f653640
ble_mesh: stack: Remove some not used variables & functions
2020-08-06 08:45:22 +00:00
lly
7542c86d9c
ble_mesh: stack: Update client model msg send
2020-08-06 08:45:22 +00:00
Michael (XIAO Xufeng)
64535528ac
flash test: decrease the threshold of performance test on s2
2020-08-06 13:13:56 +08:00
Michael (XIAO Xufeng)
bfd71ae7ec
Merge branch 'feature/dma_memcpy' into 'master'
...
esp32s2: async memcpy
Closes IDF-1573
See merge request espressif/esp-idf!8436
2020-08-06 11:32:43 +08:00
Jiang Jiang Jian
066361f5aa
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram-least_modification' into 'master'
...
Bugfix/move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
See merge request espressif/esp-idf!9808
2020-08-05 23:51:09 +08:00
Jiang Jiang Jian
97b47f117b
Merge branch 'bugfix/bluedroid_ble_provisioning_gatt_deregister_fix' into 'master'
...
Bluedroid: Fix BLE provisioning failure with bluedroid stack
See merge request espressif/esp-idf!9833
2020-08-05 23:50:14 +08:00
Ivan Grokhotkov
600665a563
Merge branch 'bugfix/esp32s2_o2_op' into 'master'
...
freertos: fix build error at -O2 optimization level
Closes IDFGH-3581
See merge request espressif/esp-idf!9444
2020-08-05 22:03:00 +08:00
Ivan Grokhotkov
4e7e8598f3
freertos: ensure the interrupt stack is aligned
...
CONFIG_FREERTOS_ISR_STACKSIZE was set to 2100 when ELF core dump was
enabled, which resulted in a non-16-byte-aligned interrupt stack
offset. This triggered "is SP corrupted" check in the backtrace,
terminating the backtrace early.
Fix the default value, and make sure that the stack is always aligned,
regardless of the value of CONFIG_FREERTOS_ISR_STACKSIZE.
2020-08-05 12:51:41 +02:00
Ivan Grokhotkov
5ff9cd495e
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-08-05 12:00:50 +02:00
zhangyanjiao
a5c05e2c94
esp_wifi: fix the bug for softAP power save buffer issue
2020-08-05 14:35:50 +08:00
zhangyanjiao
b47dee59dc
esp_wifi: fix the crash when wifi stop after deinit
2020-08-05 11:50:27 +08:00
Michal Vácha
e4820fc447
Fixed TLS 1.1 still being enables even if disabled via config.
...
Fixed MBEDTLS_SSL_PROTO_TLS1_1 still being defined even ifCONFIG_MBEDTLS_SSL_PROTO_TLS1_1 is not
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5675
2020-08-05 03:38:51 +00:00
dongyou
97ae87df41
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 11:04:16 +08:00
Renz Bagaporo
43af455457
esp_system: fix bootloader wdt enabled build issue
...
Closes https://github.com/espressif/esp-idf/issues/5643
2020-08-05 10:39:12 +08:00
Ivan Grokhotkov
b3814a1b5e
Merge branch 'bugfix/soc_reduce_iram' into 'master'
...
soc: move RTC initialization out of IRAM
See merge request espressif/esp-idf!9898
2020-08-04 21:44:50 +08:00
morris
b30bd7a2ef
esp32s2: add CP_DMA driver
2020-08-04 15:28:32 +08:00
Andrei Gramakov
48c4378a70
coredump: temp-files delete fix
2020-08-04 09:15:30 +02:00
kapil.gupta
50b4cf9286
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-08-04 04:50:58 +00:00
Jiang Jiang Jian
59347d6a63
Merge branch 'bugfix/fix_fragment_issue' into 'master'
...
esp_wifi: Fix WiFi fragment issue
Closes WIFI-2625
See merge request espressif/esp-idf!9877
2020-08-04 12:09:49 +08:00
Island
313f4a97d6
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested' into 'master'
...
component/bt: fix Blufi sends longer customer data will will lead congested
See merge request espressif/esp-idf!9887
2020-08-03 20:54:23 +08:00
Chen Yi Qun
caaf62bdad
driver, http_client, web_socket, tcp_transport: remove __FILE__ from log messages
...
__FILE__ macro in the error messages adds full paths to the production binarys, remove __FILE__ from the ESP_LOGE.
Closes https://github.com/espressif/esp-idf/issues/5637
Merges https://github.com/espressif/esp-idf/pull/5638
2020-08-03 15:21:36 +08:00
Wu Bo Wen
14a6b1db56
driver/mcpwm: add an option to capture on both edges.
...
However, The functionality of capturing on both edges is alternatively done with passing in the two flags ORed together: MCPWM_NEG_EDGE|MCPWM_POS_EDGE
closes https://github.com/espressif/esp-idf/issues/4446
closes https://github.com/espressif/esp-idf/issues/2943
2020-08-03 14:58:45 +08:00
XieWenxiang
fa729f3805
component/bt: fix Blufi sends longer customer data will will lead congested
2020-08-03 14:55:12 +08:00
Mahavir Jain
79da52f8e1
Merge branch 'feature/upgrade_nghttp2_component' into 'master'
...
nghttp2: upgrade to v1.41.0 release
Closes IDFGH-2821
See merge request espressif/esp-idf!9843
2020-08-03 14:13:22 +08:00
Michael (XIAO Xufeng)
9103343812
Merge branch 'feature/tinyusb_config_cleanup' into 'master'
...
Feature/tinyusb config cleanup
Closes IDFGH-3653
See merge request espressif/esp-idf!9782
2020-08-01 23:58:26 +08:00
Ivan Grokhotkov
0ee714e1fa
soc: move RTC initialization out of IRAM
...
Saves approximately 870 bytes of IRAM.
2020-08-01 00:52:43 +02:00
xiehang
c744c6f30c
esp_wifi: Fix WiFi fragment issue
2020-07-31 20:02:27 +08:00
Jiang Jiang Jian
d1f9a238f3
Merge branch 'bugfix/sys_fix_build_error_about_livelock' into 'master'
...
components/sys: Fix build error about livelock when intwdt is disable
See merge request espressif/esp-idf!9312
2020-07-31 16:43:22 +08:00
Jiang Jiang Jian
2ad8f8c9d2
Merge branch 'bugfix/ADV_UNDERRUN_assert_1024' into 'master'
...
components/bt: Fix ble assert(1024,0), ADV_UNDERRUN error
Closes BT-726
See merge request espressif/esp-idf!9479
2020-07-30 21:18:11 +08:00
Michael (XIAO Xufeng)
c77c4ccf6c
Merge branch 'bugfix/twai_assert_program_logic' into 'master'
...
TWAI: Remove asserts used for program logic
Closes IDFGH-3729
See merge request espressif/esp-idf!9834
2020-07-30 18:09:50 +08:00
Michael (XIAO Xufeng)
570629dcca
Merge branch 'bugfix/twai_msg_cnt_size' into 'master'
...
TWAI: Fix size of RX msg count field on the esp32
See merge request espressif/esp-idf!9870
2020-07-30 18:09:35 +08:00
David Čermák
5bd96db8a1
Merge branch 'bugfix/esp_netif_restart_dhcpc' into 'master'
...
esp_netif: Remove restarting DHCP client/server if it has already been started
Closes IDF-1978
See merge request espressif/esp-idf!9760
2020-07-30 17:16:49 +08:00
Darian Leung
662864f5bc
twai: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-07-30 15:45:58 +08:00
Darian Leung
f790e0cc28
TWAI: Remove asserts used for program logic
...
This commit fixes the bug where TWAI driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-30 15:25:11 +08:00
Jiang Jiang Jian
cbe7bffcd2
Merge branch 'bugfix/update_esp32_phy_4350' into 'master'
...
esp_wifi: update phy lib
See merge request espressif/esp-idf!9822
2020-07-30 01:58:50 +08:00
David Cermak
1a0e7d81d8
esp_netif tests: Add manual DHCP state transision tests
...
Extended test cases for DHCP server and DHCP client state transitions to include also manual transitions using esp_netif_dhcps_start/stop() esp_netif_dhcpc_start/stop()
2020-07-29 11:50:27 +00:00
David Cermak
8cfeae15fd
esp_netif: Remove restarting DHCP client and server if it has already been started
...
To be in line with previous behaviour in tcpip_adapter, do nothing and return appropriate error if the DHCP client/server has already been started
2020-07-29 11:50:27 +00:00
Ivan Grokhotkov
75a874d4fd
spi_flash: make {get,release}_temp_buffer OS functions optional
...
Fixes a crash when calling a NULL release_temp_buffer pointer throug
esp_flash_noos_functions, when doing a core dump.
2020-07-29 12:42:26 +02:00
morris
c359d9a1f1
fix rom api usage violation
...
replace ets_delay_us with esp_rom_delay_us
2020-07-29 15:57:49 +08:00
Angus Gratton
e7b89e6ddc
Merge branch 'bugfix/esp32s2_panic_handler_iram' into 'master'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2
Closes IDF-1639
See merge request espressif/esp-idf!9749
2020-07-29 13:54:19 +08:00
Angus Gratton
75402afcae
Merge branch 'feature/esp32s3_clk_memory_layout' into 'master'
...
esp32s3: memory layout
See merge request espressif/esp-idf!9753
2020-07-29 13:48:25 +08:00
ChenJianxing
8c982ea738
esp_wifi: update phy lib
...
1. esp32 phy lib v4350
2. esp32s2 phy lib v603
2020-07-29 10:36:02 +08:00
Anton Maklakov
d7db6673f5
Merge branch 'revert-1ba7dc22' into 'master'
...
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
sushant.chougule
70eb9abdee
Bluedroid: Fix BLE provisioning failure with bluedroid stack
2020-07-28 21:54:05 +05:30
Ivan Grokhotkov
8ac56e904b
Merge branch 'bugfix/coredump_esp_panic_reason' into 'master'
...
Coredump ESP panic reason
See merge request espressif/esp-idf!9072
2020-07-28 23:49:10 +08:00
Mahavir Jain
2c8fc336e0
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2020-07-28 20:27:27 +05:30
Michael (XIAO Xufeng)
6434c1e2bd
Merge branch 'feat/esp_flash_enable_s2_ut' into 'master'
...
esp_flash: fix several issues and enable unit test for ESP32-S2
Closes IDF-1409
See merge request espressif/esp-idf!8259
2020-07-28 18:15:41 +08:00
Angus Gratton
a2dc60b254
Merge branch 'feature/secure_boot_esp32s2' into 'master'
...
Feature/secure boot esp32s2
See merge request espressif/esp-idf!8254
2020-07-28 16:39:34 +08:00
Ivan Grokhotkov
16c73edc67
Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
...
esp_rom: extract common ets apis into esp_rom_sys.h
See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
Angus Gratton
9222f5473f
Merge branch 'bugfix/stack_check_error' into 'master'
...
esp_system: restore deleted no stack check flag
See merge request espressif/esp-idf!9721
2020-07-28 07:43:41 +08:00
Alexey Gerenkov
cae41db8b8
coredump: Fixes core dump private header inclusion guard
2020-07-27 21:38:34 +03:00
Alexey Gerenkov
21091c6b0e
coredump: Fixes ESP-specific panic reasons handling
2020-07-27 21:38:33 +03:00
David Čermák
2f74b4e023
Merge branch 'bugfix/fix_websocket_issue' into 'master'
...
websocket_client : fix some issues for websocket client
See merge request espressif/esp-idf!9674
2020-07-27 22:51:21 +08:00
Michael (XIAO Xufeng)
395a51b441
Merge branch 'bugfix/fix_touch_sensor_api' into 'master'
...
driver(touch): fix touch sensor driver redundancy
Closes IDF-1850
See merge request espressif/esp-idf!9273
2020-07-27 22:20:10 +08:00
Michael (XIAO Xufeng)
cef10fdfef
Merge branch 'feature/uart_error_string_mod' into 'master'
...
uart: Improve error log description in UART rx buffer size
Closes IDFGH-3579
See merge request espressif/esp-idf!9466
2020-07-27 16:35:20 +08:00
Michael (XIAO Xufeng)
1aabab0160
Merge branch 'bugfix/i2c_const_function_signature' into 'master'
...
I2C: add const to signature of master_write function
Closes IDFGH-3324
See merge request espressif/esp-idf!9306
2020-07-27 16:31:20 +08:00
Jiang Jiang Jian
1ec35ba5a7
Merge branch 'bugfix/bt_linkup_fallback_event' into 'master'
...
Bluedroid: Fixes cases having fallback to link up event.
Closes BT-944
See merge request espressif/esp-idf!9671
2020-07-27 16:09:42 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Michael (XIAO Xufeng)
35007bd443
Merge branch 'bugfix/tinyusb_pins_cfg' into 'master'
...
usb: configure_pins fix for tinyusb
Closes IDFGH-3653
See merge request espressif/esp-idf!9657
2020-07-27 14:57:19 +08:00
Chen Jian Xing
56261ef9a2
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
...
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
morris
19761e3113
esp32s3: clk, memory layout
2020-07-27 13:05:22 +08:00
Michael (XIAO Xufeng)
9e3b807036
esp_flash: reduce the rd ext performance for s2
2020-07-27 12:27:06 +08:00
Michael (XIAO Xufeng)
8165025320
spi test: replace several SPIRAM_SUPPORT with SPIRAM configs
...
The previous config option is renamed to ESP32_SPIRAM_SUPPORT, which
cannot cover the ESP32-S2 case.
2020-07-27 12:27:05 +08:00
Michael (XIAO Xufeng)
c7b1436485
esp_flash: fix cs_initialize issue on esp32s2
2020-07-27 12:27:05 +08:00
Michael (XIAO Xufeng)
0a65911df2
esp_flash: enable unit tests for ESP32-S2 external flash
2020-07-27 12:27:04 +08:00
Michael (XIAO Xufeng)
30fa716376
spi: fix cs num support for different SPI hosts.
...
For esp32, all SPI hosts have 3 CS pins, however, on ESP32, SPIMEM1 has
two CS pins, FSPI has six, while HSPI has three.
2020-07-27 12:27:03 +08:00
Michael (XIAO Xufeng)
4bad988317
esp_flash: fix slow read on ESP32-S2
2020-07-27 12:20:19 +08:00
wangcheng
43f1e43215
component/bt: Fix ble IFS_UNDERRUN, ADV_UNDERRUN error
2020-07-27 04:09:17 +00:00
fuzhibo
1568b6913d
driver(touch): fix touch sensor driver redundancy
2020-07-27 03:37:29 +00:00
Angus Gratton
a91bd4078f
secure boot: Fixes for ESP32-S2 first boot logic
2020-07-27 00:01:10 +00:00
Angus Gratton
bfc3f85826
bootloader esp32s2: Fix return type of ROM function signature verification
2020-07-27 00:01:10 +00:00
Angus Gratton
abdb657926
bootloader esp32s2: Increase bootloader DRAM & IRAM allowance
...
Bootloader DRAM now ends at 0x3FFEAB00 which is the start of ROM
static RAM (reclaimable after app is running).
IRAM loader segment increased by 8KB.
Available total static RAM for the app is now reduced by 16KB.
2020-07-27 00:01:10 +00:00
Supreet Deshpande
e640e148cf
Secure boot v2 support for ESP32-S2
2020-07-27 00:01:10 +00:00
sushant.chougule
a7d8d2c8da
Bluedroid: Fix gatt clcb allocation and deallocation error
2020-07-25 01:48:48 +00:00
xutao
341e480573
websocket_client : fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-07-24 22:08:37 +08:00
Andrei Gramakov
a2b42b37f6
usb: removes non-integrated features
2020-07-24 12:10:10 +02:00
Andrei Gramakov
20cec420ad
usb: configure_pins fix for tinyusb
...
Closes https://github.com/espressif/esp-idf/issues/5588
2020-07-24 12:10:10 +02:00
Angus Gratton
a62689a351
Merge branch 'bugfix/mbedtls_mpi_exp_mod' into 'master'
...
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
Closes IDF-1870
See merge request espressif/esp-idf!9496
2020-07-24 00:02:13 +08:00
Hrudaynath Dhabe
d7ccad371a
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
2020-07-23 11:07:14 +00:00
Andrei Gramakov
7e4cdc140a
usb: configure_pins fix for tinyusb
...
Closes https://github.com/espressif/esp-idf/issues/5588
2020-07-23 11:49:00 +02:00
Angus Gratton
c871c349f2
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image
Closes IDFGH-3594
See merge request espressif/esp-idf!9509
2020-07-23 13:27:48 +08:00
Angus Gratton
49907bddff
Merge branch 'bugfix/pm_uart_rate' into 'master'
...
common: UART console settings fixes & improvements
See merge request espressif/esp-idf!9297
2020-07-23 13:13:11 +08:00
baohongde
acb835d86f
components/sys: Fix build error about livelock when intwdt is disable
2020-07-23 02:21:32 +00:00
Jiang Jiang Jian
803cf064d2
Merge branch 'bugfix/eap_client_crash' into 'master'
...
wpa_supplicant: Fix null pointer deference and memleak
Closes IDFGH-3699
See merge request espressif/esp-idf!9690
2020-07-23 10:16:05 +08:00
Jiang Jiang Jian
730db68fe9
Merge branch 'nimble/nrpa_support' into 'master'
...
NimBLE: Add Non-Resolvable private address support and misc fixes
See merge request espressif/esp-idf!9184
2020-07-23 10:03:57 +08:00
Jiang Jiang Jian
bdca464da6
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix' into 'master'
...
Fix WPA3 and WPA2 transition related failures
Closes WIFI-2555
See merge request espressif/esp-idf!9533
2020-07-23 09:51:05 +08:00
Ivan Grokhotkov
e4e553efeb
Merge branch 'bugfix/vfs_zero_length_base_path' into 'master'
...
vfs: fix invalid dereference for zero-length base_path
Closes IDFGH-3567
See merge request espressif/esp-idf!9561
2020-07-23 04:06:48 +08:00
Ivan Grokhotkov
24e9d6b26a
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-07-22 21:57:58 +02:00
Prasad Alatkar
0b56a27e4a
NimBLE: Add Non-Resolvable private address support and misc bug fixes
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-22 14:10:01 +05:30
Angus Gratton
862e2da51f
Merge branch 'refactor/common_rom_md5_apis' into 'master'
...
esp_rom: extract common MD5 hash apis into esp_rom_md5.h
See merge request espressif/esp-idf!9254
2020-07-22 12:39:37 +08:00
Renz Bagaporo
837052c86f
esp_system: restore deleted no stack check flag
...
Restores the change of startup refactor changes removed the no stack
check protection flag when compiling the source file that contains
execution of constructors - which contains function to setup stack
guard. Restore that and update the source file, since this is in the 2nd
stage of the startup now.
Closes https://github.com/espressif/esp-idf/issues/5617
2020-07-22 11:57:18 +08:00
Mahavir Jain
19711855e2
Merge branch 'bugfix/convert-string-to-bytes' into 'master'
...
bugfix: convert string to bytes to fix TypeError
Closes IDF-1922
See merge request espressif/esp-idf!9636
2020-07-22 02:47:36 +08:00
Ivan Grokhotkov
ba874ccb04
Merge branch 'feature/freemodbus_add_tcp_master_slave' into 'master'
...
freemodbus: add tcp master and slave support
Closes IDFGH-1147 and IDF-452
See merge request espressif/esp-idf!7506
2020-07-22 00:34:06 +08:00
Alex Lisitsyn
d0b9829eef
examples: freemodbus add tcp support for common master/slave iface
...
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files
Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452
2020-07-22 00:34:04 +08:00
Angus Gratton
650e2cb47f
Merge branch 'ci/workaround_multiple_ci_failures' into 'master'
...
CI: workaround multiple ci failures
See merge request espressif/esp-idf!9658
2020-07-21 18:03:41 +08:00
Jiang Jiang Jian
1ba7dc22cb
Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
...
Bugfix/resume esp32s2 wifi unit test
See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
morris
ab0537c079
esp_rom: extract common MD5 hash apis into esp_rom_md5.h
2020-07-21 17:01:28 +08:00
martin.gano
cb0bdb8bba
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
2020-07-21 10:18:53 +02:00
Ivan Grokhotkov
8739282a1d
Merge branch 'feature/size_info_artifacts_for_apps' into 'master'
...
CI: add size info for binaries
Closes IDF-1709
See merge request espressif/esp-idf!8962
2020-07-21 16:00:07 +08:00
Fu Hanxi
6885421976
CI: add size info for binaries
2020-07-21 16:00:05 +08:00
Angus Gratton
442736c5d6
Merge branch 'refactor/common_rom_uart_apis' into 'master'
...
esp_rom: extract common uart apis into esp_rom_uart.h
See merge request espressif/esp-idf!9313
2020-07-21 15:24:21 +08:00
Angus Gratton
3755fb6597
Merge branch 'feature/add_esp32s3_bootloader_ld_file' into 'master'
...
move part of esp32-s3 codes to master (bootloader linker, esp32s3 empty componnet)
See merge request espressif/esp-idf!9608
2020-07-21 14:51:04 +08:00
Mahavir Jain
ab3ec0dcad
Merge branch 'feature/upgrade_mbedtls_to_v2.16.7' into 'master'
...
mbedtls: update to mbedtls release v2.16.7
See merge request espressif/esp-idf!9470
2020-07-21 13:31:43 +08:00
Angus Gratton
5c58564f90
Merge branch 'feature/support_for_esp32_pico_v3_02' into 'master'
...
psram: support for esp32-pico-v3-02
See merge request espressif/esp-idf!9405
2020-07-21 13:28:26 +08:00
Jiang Jiang Jian
135650d21c
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue' into 'master'
...
bugfix: fix softap mode wpa memory leak
Closes WIFI-2474
See merge request espressif/esp-idf!9599
2020-07-21 12:09:39 +08:00
kapil.gupta
5502a553a7
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-07-20 19:56:06 +05:30
KonstantinKondrashov
d95c89a1eb
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-07-20 10:55:41 +00:00
Mahavir Jain
603e0883a1
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-07-20 15:50:20 +05:30
Marius Vikhammer
a392e4e57b
websocket: add configurable ws_transport buffer size
...
Closes IDFGH-3566
Closes https://github.com/espressif/esp-idf/issues/5513
2020-07-20 10:02:31 +00:00
Angus Gratton
35c145f5c9
Merge branch 'feature/update_esptool' into 'master'
...
esptool: Update esptool
Closes ESPTOOL-44
See merge request espressif/esp-idf!9609
2020-07-20 15:27:19 +08:00
Mahavir Jain
592063d492
Merge branch 'fix/prov_ble_read_offset' into 'master'
...
BLE provisioning: Add check for valid ble read offset
See merge request espressif/esp-idf!9115
2020-07-20 15:11:55 +08:00
Angus Gratton
eb77e1b11a
Merge branch 'bugfix/startup_secure_options' into 'master'
...
esp_system: fix compilation error when security features are enabled
See merge request espressif/esp-idf!9678
2020-07-20 15:08:17 +08:00
Angus Gratton
a2eed7cba6
esp32s2: Always use eFuse config for WP pin
...
No reason to override just this pin in software.
2020-07-20 14:08:49 +08:00
Angus Gratton
c09fdc0b09
esp32: Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
...
Allows booting in QIO/QOUT mode or with PSRAM on ESP32-PICO-V3 and
ESP32-PICO-V3-O2 without any config changes.
Custom WP pins (needed for fully custom circuit boards) should still be compatible.
2020-07-20 14:08:49 +08:00
chenjianqiang
e9dd4f283a
feat(esp32): support for esp32-pico-v3-02
2020-07-20 12:21:32 +08:00
chenjianqiang
9de04b9f5f
feat(psram): support 16Mbit PSRAM for esp32
2020-07-20 12:21:32 +08:00
chenjianqiang
bff6b5b70e
bugfix(psram): configure MMU after PSRAM initialization
2020-07-20 12:21:32 +08:00
morris
d066c3ab2c
esp_system: add panic high interrupt handler for esp32s3
2020-07-20 11:15:24 +08:00
morris
6316e6eba2
esp_system: add CONFIG_ESP_SYSTEM_RTC_EXT_CRYS
2020-07-20 11:15:24 +08:00
morris
204cb341b1
esp32s3: initial empty component
2020-07-20 10:51:05 +08:00
morris
3a8f5e45f0
bootloader: add linker script for esp32s3
2020-07-20 10:51:05 +08:00
morris
b587428e5d
bootloader: make bootloader offset address in flash configurable
2020-07-20 10:51:05 +08:00
Angus Gratton
6798ab3a08
Merge branch 'bugfix/shared_stack_not_switching_correctly' into 'master'
...
bugfix/shared_stack: Fix task stack not being replaced by shared stack correctly
See merge request espressif/esp-idf!7956
2020-07-20 08:32:37 +08:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
He Yin Ling
ff6ef11603
CI: do not run cases likely to fail
2020-07-19 06:32:12 +00:00
He Yin Ling
cd478edeae
CI: disable cases with test env SSC_T5_1
2020-07-19 06:32:12 +00:00
He Yin Ling
b7ae8d0670
CI: remove incorrect MTU related cases
2020-07-19 06:32:12 +00:00
Ivan Grokhotkov
eff6a1eaab
bootloader: fix SECURE_TARGET_HAS_SECURE_ROM_DL_MODE enabled for esp32
2020-07-17 21:04:08 +02:00
Ivan Grokhotkov
c943516c96
esp_system: fix compilation error when security features are enabled
...
affects CONFIG_SECURE_DISABLE_ROM_DL_MODE, CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
2020-07-17 21:04:08 +02:00
Chinmay Chhajed
4a0c137188
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-17 17:11:33 +05:30
Island
7a86681578
Merge branch 'bugfix/ble_mesh_health_current_status_recv' into 'master'
...
ble_mesh: stack: Fix recv health current status incorrectly
See merge request espressif/esp-idf!9653
2020-07-17 16:16:30 +08:00
morris
345606e7f3
esp_rom: extract common uart apis into esp_rom_uart.h
2020-07-17 16:00:59 +08:00
Angus Gratton
e04eacbe3f
Merge branch 'refactor/common_rom_efuse_apis' into 'master'
...
esp_rom: extract common efuse apis into esp_rom_efuse.h
See merge request espressif/esp-idf!9267
2020-07-17 15:57:28 +08:00
lly
4be5563fdb
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 02:53:40 +00:00
David Čermák
e9bce145cf
Merge branch 'feature/netif_slip' into 'master'
...
esp-netif: SLIP interface introduction
Closes IDFGH-2952
See merge request espressif/esp-idf!9183
2020-07-17 00:07:14 +08:00
Michael (XIAO Xufeng)
79a5b0b5af
Merge branch 'feat/esp_flash_data_slicer' into 'master'
...
esp_flash: refactor to be compatible with the latest ROM
Closes IDF-1664 and IDFGH-2074
See merge request espressif/esp-idf!8565
2020-07-16 16:07:32 +08:00
ronghulin
5f76927d96
bugfix: fix softap mode wpa memory leak
2020-07-16 07:26:19 +00:00
KonstantinKondrashov
76fd504cc8
esptool: Update esptool
...
Closes: ESPTOOL-44
2020-07-16 13:24:09 +08:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
Jiang Jiang Jian
84aebc6a78
Merge branch 'feature/bluedroid_link_based_dynamic_allocation' into 'master'
...
Bluedroid stack dynamic allocation changes to optimise DRAM usage
See merge request espressif/esp-idf!9461
2020-07-16 00:06:10 +08:00
David Cermak
bb9a7356ac
esp-netif: removing SLIP related events as the slip-modem set state synchronously
2020-07-15 15:46:46 +02:00
David Cermak
1a41545c3e
esp-netif: SLIP interface refactor to isolate interface from drivers
2020-07-15 15:46:46 +02:00
David Cermak
13de11fb32
lwip: Added debug config options to enable lwIP low level debugging
2020-07-15 15:46:46 +02:00
ryan
266be00254
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-07-15 15:46:46 +02:00
Ivan Grokhotkov
39bdbd7e33
freertos: fix compilation warning at -O2 level
...
Closes https://github.com/espressif/esp-idf/issues/5525
2020-07-15 12:50:51 +00:00
Nachiket Kukade
df14475c5b
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 12:20:16 +00:00
David Čermák
fa9f025e4a
Merge branch 'feature/asio_ssl_support' into 'master'
...
asio: basic support of SSL/TLS transport
Closes IDFGH-1085 and IDFGH-2138
See merge request espressif/esp-idf!8797
2020-07-15 19:51:47 +08:00
Anton Maklakov
1c4d4752b3
Merge branch 'bugfix/remove_exception_windowspill_test' into 'master'
...
CXX: remove exception windowspill test
See merge request espressif/esp-idf!9612
2020-07-15 18:33:42 +08:00
sushant.chougule
0583a04969
Bluedroid stack dynamic allocation changes to optimise DRAM usage
...
Structures allocated dynamically:
tACL_CONN, tBTM_PM_MCB, tBTM_SEC_DEV_REC, tGATT_TCB, tGATT_CLCB, tL2C_LCB, tL2C_CCB, tSDP_RECORD
Total dynamic allocation size ~19KB.
Peak dram usage reduced by ~12KB when in BT classic + BLE scenario(1 a2dp sink + 1 BLE gatt server)
2020-07-15 14:44:10 +05:30
Jiang Jiang Jian
d65af31309
Merge branch 'bugfix/fix_hci_max_page_num' into 'master'
...
bugfix/Support for more Bluetooth HID devices
Closes IDFGH-3515
See merge request espressif/esp-idf!9621
2020-07-15 15:51:00 +08:00
Jiang Jiang Jian
170b4c9eff
Merge branch 'bugfix/fix_get_bond_device_list' into 'master'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug
Closes BT-852 and BTCI-88
See merge request espressif/esp-idf!9542
2020-07-15 15:50:32 +08:00
Jiang Jiang Jian
b99266f0c4
Merge branch 'feature/esp_spp_stop_srv' into 'master'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP
Closes BT-850, BT-853, BT-854, BT-889, BT-902, BT-899, BTCI-89, and BTCI-90
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Jiang Jiang Jian
9c151dfce3
Merge branch 'fixbug/select_waiting_assert' into 'master'
...
lw-ip:fix bug for select waiting assert
Closes IDFGH-3019
See merge request espressif/esp-idf!9363
2020-07-15 15:49:01 +08:00
Angus Gratton
eb43872361
version: Update to v4.3.0
...
v4.3.0-dev is tagged where the branches diverged, catching up with the
remaining metadata here.
2020-07-15 13:56:05 +10:00
DerfJagged
5705c786e3
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-15 11:54:26 +08:00
Jiang Jiang Jian
0376b23c7c
Merge branch 'component/seperate_bta_jv_l2c' into 'master'
...
component_bt:/ separate BTA_JV_L2CAP for less bin size
See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
Jiang Jiang Jian
907e427641
Merge branch 'feature/enable_pcm_config' into 'master'
...
feature/ Enable PCM config
Closes BTCI-25
See merge request espressif/esp-idf!8996
2020-07-15 11:38:07 +08:00
xueyunfei
2b298cb895
lwip:fix bug for select waiting assert
...
Closes https://github.com/espressif/esp-lwip/issues/13
Official patch:http://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=8d7e436a9d24a2a1ee35aac72a7055e80330e994
2020-07-15 11:35:18 +08:00
morris
458b14a8ea
esp_rom: extract common efuse apis into esp_rom_efuse.h
2020-07-15 10:40:50 +08:00
Angus Gratton
24e49cc21d
Merge branch 'refactor/panic_handler_follow_ups' into 'master'
...
Panic handler follow ups
See merge request espressif/esp-idf!7732
2020-07-15 08:21:09 +08:00
David Čermák
f8b649baaf
Merge branch 'bugfix/ws_server_async_send_fin' into 'master'
...
http_server example: WebSocket server to set final flag in async messages
Closes IDFGH-3443
See merge request espressif/esp-idf!9251
2020-07-15 05:31:02 +08:00
Prasad Alatkar
457d4f36a6
BLE provisioning: Add check for valid ble read offset
2020-07-14 13:14:53 +00:00
Felipe Neves
11f6addc61
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-07-14 12:56:02 +00:00
Felipe Neves
a700035a85
test/shared_stack_printf: improved printf with shared stack function test
2020-07-14 12:56:02 +00:00
Felipe Neves
938a73756c
esp_common/shared_stack: modifed the stack switch procedure to a simpler way
...
esp_common/shared_stack: refactored the implemenation of shared stack function (still not working properly)
esp_expression_with_stack: refactored the shared stack function calling mechanism and updated the documentation
2020-07-14 12:56:02 +00:00
Jiang Jiang Jian
1fa7454f5e
Merge branch 'feature/wifi_get_tsf_time_api' into 'master'
...
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time on esp32.
Closes WIFI-2532
See merge request espressif/esp-idf!9535
2020-07-14 19:53:52 +08:00
David Cermak
0f72c05d78
openssl: made verification mode conversion to mbetls modes more strict
2020-07-14 10:42:17 +00:00
David Cermak
1c8171c3e8
asio: option to use wolfSSL as TLS stack for ASIO
...
Plus other minor update, make openssl aware of current modes (SSL_set_mode)
Update coding style in examples and tests, including copyright notices
2020-07-14 10:42:17 +00:00
David Cermak
9459c0dd43
asio: Basic SSL/TLS support in asio port for ESP platform
...
This port employs IDF port of OpenSSL for most common features, others
are discouraged or not supported. The port also introduces several stubs
for OpenSSL functions which ASIO needs to get compiled and linked.
Upstream ASIO supports WolfSSL as SSL/TLS stack, as well, which is
another option for SSL support in ASIO on ESP platform.
2020-07-14 10:42:17 +00:00
David Cermak
bd1e9b5ea7
openssl: basic support for errors and bio objects
...
Closes https://github.com/espressif/esp-idf/issues/3406
2020-07-14 10:42:17 +00:00
Jakob Hasse
f3e180de72
CXX: removed exception windowspill test
...
This test randomly fails in CI. Hence the
removal until further investigation.
The original issue the test was addressing
has been fixed in our gcc; it has also been
confirmed and fixed in the upstream gcc.
This test only crashes at the end of the test
function so it is reasonable to assume that
it should be safe removing it so far, ie., the
test doesn't reveal a problem with the original
fix but a different one.
Opening an Jira issue IDFCI-76 for the further
investigation
2020-07-14 18:40:44 +08:00
Angus Gratton
4a0a331122
Merge branch 'bugfix/esp32s2_return_use_fixed_static_ram_size_option' into 'master'
...
esp32s2: Add USE_FIXED_STATIC_RAM_SIZE feature
Closes IDF-1800
See merge request espressif/esp-idf!9033
2020-07-14 13:14:07 +08:00
Mahavir Jain
7727f1612e
Merge branch 'task/httpd_strlen' into 'master'
...
httpd_resp_send: use `HTTPD_RESP_USE_STRLEN` when possible
Closes IDFGH-3268
See merge request espressif/esp-idf!8957
2020-07-14 12:11:52 +08:00
Michael (XIAO Xufeng)
f8f2f7c297
Merge branch 'bugfix/touch_sensor_denoise_ci_for_esp32s2' into 'master'
...
ut: fix touch sensor denoise ci fail
Closes IDFCI-46
See merge request espressif/esp-idf!9571
2020-07-14 11:04:06 +08:00
weitianhua
8f84930c5c
Redesign Kconfig.in BT components
2020-07-14 11:01:02 +08:00
weitianhua
4167fc3438
Enable pcm config
2020-07-14 10:25:13 +08:00
Angus Gratton
2c4e2825ad
Merge branch 'feature/use_prebuilt_util_for_wifi_component' into 'master'
...
esp_wifi: use prebuilt CMake util to add wifi libs
See merge request espressif/esp-idf!9574
2020-07-14 07:57:11 +08:00
KonstantinKondrashov
11844a54f4
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
2020-07-13 22:46:05 +08:00
David Cermak
005f21accc
http_server: WebSocket server to set flag in transmitted messages by default
...
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-07-13 14:39:22 +00:00
David Čermák
6edf0fed2b
Merge branch 'feature/support_ksz8041' into 'master'
...
support ksz8041
Closes IDFGH-3495 and IDFGH-3584
See merge request espressif/esp-idf!9558
2020-07-13 22:30:58 +08:00
Hrudaynath Dhabe
7bc2fae323
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
...
specified interface.
Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-13 17:04:11 +05:30
Island
b6b4d41044
Merge branch 'bugfix/tx_rx_data_length' into 'master'
...
components/bt: Change the default value of conn_max_tx_octets to 251.
See merge request espressif/esp-idf!9409
2020-07-13 19:17:08 +08:00
Angus Gratton
0df0dad532
Merge branch 'bugfix/secure_boot_v2_sign_cmake_copy' into 'master'
...
Add platform independent CMake copy during signing
Closes IDFGH-3617
See merge request espressif/esp-idf!9543
2020-07-13 15:59:15 +08:00
Ivan Grokhotkov
b62e4e6f85
Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
...
feature: support vfs uart set line endings with specified uart number
See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
Ivan Grokhotkov
562edb3a5e
Merge branch 'bugfix/sdmmc_spi_highspeed' into 'master'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
See merge request espressif/esp-idf!9418
2020-07-13 15:50:30 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
6673407f98
httpd_resp_send: use HTTPD_RESP_USE_STRLEN
when possible
2020-07-13 05:34:56 +00:00
Jiang Jiang Jian
f29370b02c
Merge branch 'bugfix/ipv6_fragment' into 'master'
...
lw-ip:fix bug for ipv6 fragment
Closes WIFI-2304
See merge request espressif/esp-idf!8578
2020-07-13 12:09:56 +08:00
Michael (XIAO Xufeng)
c796bd5e63
esp_flash: refactor to make host driver function a const table
...
This is also part of ESP32-S3 ROM changes
2020-07-13 03:10:00 +08:00
Jiang Jiang Jian
64673b45e5
Merge branch 'bugfix/esp32s2_cache_unsupport_config' into 'master'
...
esp32s2: remove unsupported cache option
Closes IDFGH-3414
See merge request espressif/esp-idf!9300
2020-07-12 21:33:56 +08:00
Wang Lei
6b12ac0968
esp32s2: remove unsupported cache option
2020-07-12 21:33:55 +08:00
Jiang Jiang Jian
583f6e5e16
Merge branch 'docs/fix_event_typo' into 'master'
...
docs/fix event typo
Closes IDFGH-3488
See merge request espressif/esp-idf!9376
2020-07-12 21:23:50 +08:00
Jiang Jiang Jian
92d4bb6ed0
Merge branch 'bugfix/wps_multiple_ap_creds' into 'master'
...
Fix handling of multiple AP credentials in WPS
Closes FCS-356
See merge request espressif/esp-idf!9137
2020-07-12 20:26:08 +08:00
Michael (XIAO Xufeng)
f99ba33920
esp_flash: improve unit test to detect over boundary issue
2020-07-12 02:09:46 +08:00
Michael (XIAO Xufeng)
a9c8895bb2
esp_flash: refactor to be compatible with the latest ROM
...
Including:
1. Change the write bytes/read bytes parameter in the host driver into slicers to meet the requirements of complicated cases.
2. Refactor the esp_flash_api code a bit so that we can use the code in the ROM laster
3. Provide get_temp_buffer and release_temp_buffer in the os_functions when the buffer passed by application cannot be used directly.
4. Make timeout of operations configurable in the chip_driver.
5. Make dummy number configurable.
2020-07-12 02:09:45 +08:00
Michael (XIAO Xufeng)
f6dd63d03d
spi_slave_hd: new driver for spi slave in half duplex mode
2020-07-11 00:00:50 +08:00
Michael (XIAO Xufeng)
a50ea8ad55
spi: allow force pins being configured throug GPIO matrix
2020-07-11 00:00:47 +08:00
Island
9a71a74d2d
Merge branch 'bugfix/ble_mesh_misc_updates' into 'master'
...
Bugfix/ble mesh misc updates
Closes BLEMESH-223
See merge request espressif/esp-idf!9492
2020-07-10 21:50:16 +08:00
Mahavir Jain
992fd03f81
Merge branch 'bugfix/issues_with_vanilla_freertos' into 'master'
...
Fix build issues with Vanilla FreeRTOS
See merge request espressif/esp-idf!9536
2020-07-10 20:28:14 +08:00
wangcheng
b60c496296
components/bt: Change the default value of conn_max_tx_octets to 251.
2020-07-10 19:48:32 +08:00
Jiang Jiang Jian
0ca62e4f16
Merge branch 'bugfix/fix_ag_return_result' into 'master'
...
bugfix/Fix error of AG API return line
Closes BTCI-102
See merge request espressif/esp-idf!9565
2020-07-10 16:51:32 +08:00
Shubham Kulkarni
d4ce5de16e
Include header file soc/cpu.h in memprot.c and system_api.c
...
This fixes build issues with Vanilla FreeRTOS
2020-07-10 13:56:42 +05:30
Jiang Jiang Jian
7639f20fa5
Merge branch 'bugfix/buff_semaphore_not_free' into 'master'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9507
2020-07-10 16:18:55 +08:00
fuzhibo
75212b5055
ut: fix touch sensor denoise ci fail
2020-07-10 15:10:18 +08:00
Angus Gratton
f1ac79747b
monitor: Add a "Same as UART Console baud rate" setting
...
Usually the monitor will want to run at the same speed as the boot log output.
2020-07-10 16:58:05 +10:00
Angus Gratton
d0ba86f176
common: Limit UART console baud rate if power management is enabled
...
Also add some comments explaining how the console settings are used by both
bootloader and app.
Based on config bug and discussion here: https://esp32.com/viewtopic.php?f=2&t=16111&p=61520#p61520
2020-07-10 16:58:05 +10:00
Renz Bagaporo
126225421e
esp_wifi: use prebuilt CMake util to add wifi libs
2020-07-10 14:20:25 +08:00
lly
b94ce120d6
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-10 14:14:01 +08:00
lly
f4846cca4b
ble_mesh: stack: Make proxy server & client functions clear
2020-07-10 14:12:58 +08:00
Island
049a3e1cd7
Merge branch 'bugfix/ble_mesh_add_misc_check' into 'master'
...
Bugfix/ble mesh add misc check
See merge request espressif/esp-idf!9490
2020-07-10 14:07:00 +08:00
Angus Gratton
fb192fd313
Merge branch 'bugfix/spinlock_coredump_regressions' into 'master'
...
Bugfix/spinlock coredump regressions
Closes IDF-1901
See merge request espressif/esp-idf!9559
2020-07-10 14:01:08 +08:00
Angus Gratton
ae3ac0e7db
Merge branch 'ci/fix_uart_read_write_priorities' into 'master'
...
driver test: Ensure uart write task can't overflow buffer of read task
Closes IDFCI-68
See merge request espressif/esp-idf!9527
2020-07-10 13:55:51 +08:00
houwenxiang
8e00522cd7
vfs: support vfs uart set line endings with specified uart number
2020-07-10 11:15:09 +08:00
ChenJianxing
4756280fc6
esp32s2: resume phy rtc unit test
2020-07-10 11:03:54 +08:00
ChenJianxing
c0683d95cc
esp32s2: resume wifi unit test
2020-07-10 11:02:37 +08:00
weitianhua
c40953f4e0
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-10 10:50:27 +08:00
lly
82d4bd280b
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-10 00:57:09 +00:00
lly
aeb44745bf
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-10 00:57:09 +00:00
lly
fd6071a0fc
ble_mesh: stack: Add more checks about input prov bearers
2020-07-10 00:57:09 +00:00
Ivan Grokhotkov
53f89464a3
vfs: fix invalid dereference for zero-length base_path
...
When base_path has len == 0, the code used to compare base_path[-1]
with '/'. Fix by correcting the length check.
Also mention the case of zero-length base_path in the API reference.
Closes https://github.com/espressif/esp-idf/issues/5514
2020-07-10 00:20:55 +02:00
houwenxiang
166d5f17f3
driver(I2S): Fix I2S reset issue
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
closes https://github.com/espressif/esp-idf/issues/5410
2020-07-09 15:42:09 +00:00
Ivan Grokhotkov
8e6d450a8c
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'"
...
This reverts commit c41a0c1907
, reversing
changes made to 5c1d317766
.
2020-07-09 17:16:47 +02:00
Ivan Grokhotkov
4cdc5edb4e
Revert "freertos, soc: don't lower INTLEVEL when entering critical sections"
...
This reverts commit 614a580bbb
.
2020-07-09 17:15:54 +02:00
Island
5d970c0e8c
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
...
Feat/ble mesh use iram for mem alloc
See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
Island
cf056a7d0b
Merge branch 'bugfix/ble_mesh_update_send_ttl' into 'master'
...
Bugfix/ble mesh update send ttl
Closes BMCI-79
See merge request espressif/esp-idf!9446
2020-07-09 23:05:28 +08:00
morris
abcea51976
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-09 22:03:17 +08:00
morris
648bcc7a87
ethernet: add ksz8041 in basic ethernet example
2020-07-09 21:49:07 +08:00
Meowthink
62237cf28c
Add Microchip KSZ8041 PHY support.
...
Merges https://github.com/espressif/esp-idf/pull/5452
2020-07-09 21:00:42 +08:00
Supreet Deshpande
954c580548
Add platform independent CMake signing
...
Closes https://github.com/espressif/esp-idf/issues/5557
2020-07-09 12:24:50 +05:30
boblane
4293f0320f
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-09 11:58:10 +08:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
weitianhua
abbf19926e
Seperate BTA_JV_L2CAP for less bin size
2020-07-08 17:50:19 +08:00
Roland Dobai
ee5e3f8b93
CI: Fix timeout in the espcoredump test
2020-07-08 11:10:43 +02:00
lly
8005d07e07
ble_mesh: stack: Add two application macros for TTL
2020-07-08 08:30:54 +00:00
lly
edb088e5db
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-08 08:30:54 +00:00
Jiang Jiang Jian
5da526a0cb
Merge branch 'bugfix/bt_acl_tx_handler_skip' into 'master'
...
Fixes ACL TX handler functioning.
Closes BCI-204
See merge request espressif/esp-idf!9459
2020-07-08 16:02:53 +08:00
Angus Gratton
289ad82bc0
driver test: Ensure uart write task can't overflow buffer of read task
...
Previously both tasks had equal priority, possible for write task and another
internal task to be scheduled at the same time - starving read task and
causing data loss.
Related to IDFCI-59
2020-07-08 16:49:06 +10:00
Shubham Kulkarni
3c7991813d
esp_http_client.h: Add error codes in HttpStatus_Code
...
esp_https_ota.c: Add checks for HTTP error codes
Closes: https://github.com/espressif/esp-idf/issues/5537
2020-07-08 04:03:26 +00:00
lly
076fee8dde
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-08 01:45:01 +00:00
lly
f5fcee186f
ble_mesh: stack: Use macros for adv task name & prio
2020-07-08 01:45:01 +00:00
lly
89715d7010
ble_mesh: stack: Make freertos static allocation visible
2020-07-08 01:45:01 +00:00
lly
cba3733d29
ble_mesh: stack: Add a option of using IRAM for memory allocation
2020-07-08 01:45:01 +00:00
wangcheng
7d39074d57
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-07-07 21:00:56 +08:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
Ivan Grokhotkov
adf86bd95e
Merge branch 'feature/console_repl_on_uart' into 'master'
...
console_repl: move UART specific configuration into single config structure
See merge request espressif/esp-idf!8964
2020-07-07 16:27:47 +08:00
Ivan Grokhotkov
46e43511cc
Merge branch 'bugfix/rs485_test_temp_disable' into 'master'
...
ci: temporarily disable RS485 related tests
See merge request espressif/esp-idf!9374
2020-07-07 16:06:14 +08:00
Jiang Jiang Jian
31aa7e09fa
Merge branch 'bugfix/add_api_to_get_internal_heap' into 'master'
...
esp_wifi: Add API to get available internal heap size
Closes WIFI-1340
See merge request espressif/esp-idf!9047
2020-07-07 14:50:10 +08:00
Jiang Jiang Jian
ae6b037f2b
Merge branch 'bugfix/fix_wifi_storage_nvs_some_issue' into 'master'
...
bugfix: fix wifi storage nvs some issue
Closes WIFI-2434 and WIFI-2191
See merge request espressif/esp-idf!9322
2020-07-07 14:49:32 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
Ivan Grokhotkov
983220e216
ci: temporarily disable RS485 related tests
2020-07-06 20:12:43 +00:00
Renz Christian Bagaporo
08ad0f8194
esp_system: remove usage of CONFIG_FREERTOS_UNICORE from panic handler
2020-07-06 15:33:56 +08:00
Michael (XIAO Xufeng)
4e8ae0343b
Merge branch 'bugfix/add_api_adc2_vref_to_gpio_for_esp32s2' into 'master'
...
driver(adc): esp32s2 support API `adc2_vref_to_gpio`
Closes IDF-1356
See merge request espressif/esp-idf!9051
2020-07-06 13:00:00 +08:00
Michael (XIAO Xufeng)
c58fd3df29
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo' into 'master'
...
MCPWM: Fix PWM-fault init function that read config incorrectly
Closes IDFGH-3473 and IDFGH-3539
See merge request espressif/esp-idf!9315
2020-07-06 12:35:45 +08:00
Peter Schaefer
f08743e452
Added const for pointer in master_write method, so that a const array can be passed to this fcn.
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5307
explicitly convert a const ptr to non-const because we actually don't modify it.
2020-07-06 03:37:39 +00:00
Angus Gratton
dafe5df3ac
Merge branch 'bugfix/cleanup_bt_reference_from_esp32s2_ld' into 'master'
...
esp32s2: cleanup bt reference from esp32s2 ld
See merge request espressif/esp-idf!9419
2020-07-06 08:32:33 +08:00
Mahavir Jain
e2e94a0bd2
Merge branch 'bugfix/enable_mbedtls_renegotiation' into 'master'
...
esp-tls: enable TLS renegotiation using explicit API call
See merge request espressif/esp-idf!9456
2020-07-03 16:31:21 +08:00
ronghulin
0e962d754e
bugfix: fix wifi storage nvs some issue
...
1. Configure bandwidth and phy mode to store NVS.
2. API esp_wifi_get_config add acquisition sta.listen_interva.
2020-07-03 15:49:34 +08:00
Wielebny666
77e5aa9aed
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-03 06:32:16 +00:00
Mahavir Jain
52469c8505
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-03 05:52:22 +00:00
joncmaloney
15da32ebbb
Improve error log description UART rx buffer size.
...
The under the error condition of rx buffer size is <=128 an error log is printed that reads uart rx buffer length error(>128). Propose an update to better describe the error condition as uart rx buffer length error(<=128).
Signed-off-by: Wu Bo Wen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5523
2020-07-03 11:27:33 +08:00
Chinmay Chhajed
9bac16fcec
Fixes ACL TX handler functioning.
...
ACL TX handler was never being called. Changed it's caller function so
that it is called properly.
2020-07-02 17:11:29 +05:30
zhangyanjiao
b9b82659dd
esp_wifi:
...
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
Jiang Jiang Jian
0dba932933
Merge branch 'bugfix/beacon_security_downgrade' into 'master'
...
Avoid parsing RSN/WPA IE's after connection
See merge request espressif/esp-idf!9181
2020-07-02 16:45:27 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
Mahavir Jain
e62cb2be68
esp32s2: remove bt references from esp32s2 ld script
2020-07-02 03:45:05 +00:00
Island
0d5b983f61
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update' into 'master'
...
Bugfix/ble mesh fast prov misc update
See merge request espressif/esp-idf!9413
2020-07-02 11:30:19 +08:00
Michael (XIAO Xufeng)
370a1fa6df
Merge branch 'bugfix/fix_ci_about_touch_sensor_denoise_ut' into 'master'
...
driver(touch): fix touch sensor denoise unit test case
Closes IDF-1834 and TIDF-13311
See merge request espressif/esp-idf!9150
2020-07-02 11:22:42 +08:00
lly
6ca4ea1a1f
ble_mesh: stack: Update some fast prov functions
2020-07-01 13:26:06 +00:00
lly
64e76ee019
ble_mesh: stack: Move fast prov functions to a single file
2020-07-01 13:26:06 +00:00
Jiang Jiang Jian
664bf79379
Merge branch 'feature/esp_tls_for_supplicant' into 'master'
...
wpa_supplicant: Support for mbedtls tls handshake
See merge request espressif/esp-idf!8318
2020-07-01 17:23:31 +08:00
fuzhibo
8d922847af
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-01 06:21:45 +00:00
Krzysztof Budzynski
6078fcebff
Merge branch 'bugfix/esp_timer_docs' into 'master'
...
docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332
Closes IDFGH-3575
See merge request espressif/esp-idf!9427
2020-07-01 13:30:13 +08:00
Island
a97a16202e
Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
...
bugfix: ble mesh proxy compile error
See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
Island
b91f05ba74
Merge branch 'bugfix/ble_mesh_set_recv_rssi' into 'master'
...
Bugfix/ble mesh set recv rssi
Closes IDFGH-3556 and BMCI-96
See merge request espressif/esp-idf!9381
2020-07-01 11:13:25 +08:00
Krzysztof
f925da9179
docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332
2020-06-30 17:56:03 +02:00
xiehang
8b523efc6f
esp_wifi: Add API to get available internal heap size.
2020-06-30 21:51:00 +08:00
Nachiket Kukade
fc5d7239ea
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-30 18:35:46 +05:30
Jiang Jiang Jian
abef43bf09
Merge branch 'mesh/bugfix_coexist_warning' into 'master'
...
mesh: remove coexist warnings in ESP_WIFI_MESH
Closes WIFI-2458, IDFGH-3385, IDFGH-3211, and IDFGH-3481
See merge request espressif/esp-idf!9218
2020-06-30 19:34:36 +08:00
Michael (XIAO Xufeng)
a21d3441cc
Merge branch 'feature/twai_support_esp32s2' into 'master'
...
TWAI: Add ESP32-S2 support
Closes IDF-1455
See merge request espressif/esp-idf!8973
2020-06-30 19:19:47 +08:00
Michael (XIAO Xufeng)
279ee85305
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-06-30 17:34:13 +08:00
xueyunfei
a202bfe78e
fix bug for ipv6 fragment
2020-06-30 08:58:08 +00:00
Darian Leung
97721d469c
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
Angus Gratton
8912462d95
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set' into 'master'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
Closes IDFGH-3192 and IDFGH-3187
See merge request espressif/esp-idf!9105
2020-06-30 13:15:23 +08:00
Jiang Jiang Jian
f84ddd983d
Merge branch 'feature/bt_secure_conn_downgrade_check' into 'master'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
Closes BLE-60
See merge request espressif/esp-idf!8541
2020-06-30 11:24:55 +08:00
Jiang Jiang Jian
ce1f1ea000
Merge branch 'bugfix/fix_ping_specify_length_issue' into 'master'
...
bugfix: fix ICMP specify length issue
Closes WIFI-2497
See merge request espressif/esp-idf!9280
2020-06-29 21:12:12 +08:00
lly
6aef6c5f1c
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-06-29 20:07:42 +08:00
mbroek
2b80cb6883
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-29 19:54:23 +08:00
Ivan Grokhotkov
84833bf0df
Merge branch 'feature/light_sleep_reject' into 'master'
...
sleep: enable sleep reject when entering light sleep
Closes IDF-1678 and WIFI-1185
See merge request espressif/esp-idf!9242
2020-06-29 15:57:49 +08:00
liminyang
02f3d39858
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 11:57:36 +08:00
chenyudong
f67f9d5b4e
mesh: remove coexist warnings in ESP_WIFI_MESH
...
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
Closes: https://github.com/espressif/esp-idf/issues/5357
Closes: https://github.com/espressif/esp-idf/issues/5440
Closes: https://github.com/espressif/esp-idf/issues/5210
2020-06-29 11:28:16 +08:00
lly
c8112454c3
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-06-28 23:09:47 +00:00
Ivan Grokhotkov
45fff86e05
Merge branch 'feature/usb_console_ig' into 'master'
...
add USB CDC as a console option
Closes IDF-1620
See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
ronghulin
9230e0d26d
bugfix: fix ICMP specify length issue
2020-06-28 10:46:43 +08:00
Ivan Grokhotkov
f07a7805a6
esptool: update for CDC stub support
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
e94848556b
esp32, esp32s2: update console initialization
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
fc8cd4048d
vfs: add vfs_cdcacm driver (aka USB CDC)
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
34f441249b
esp32s2: add internal usb_console API
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
6dfb2d83a7
bootloader: combine console code for ESP32 and S2, add USB support
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
5ee75165f2
esp_common: add "USB CDC" option for console output
2020-06-26 15:38:49 +02:00
kapil.gupta
bd2815db10
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-06-26 17:20:22 +05:30
Mahavir Jain
7c5a5617a8
Merge branch 'bugfix/http_server_lru' into 'master'
...
esp_http_server: Update LRU counter on accepting a new connection
Closes IDFGH-1594
See merge request espressif/esp-idf!9345
2020-06-26 14:48:04 +08:00
Angus Gratton
d02edc2bd1
Merge branch 'bugfix/esp32_encrypted_flash_write' into 'master'
...
spi_flash: esp32: fix regression in encrypted flash write
See merge request espressif/esp-idf!9286
2020-06-26 14:35:43 +08:00
Shubham Kulkarni
0ec5096742
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 05:29:00 +00:00
Chinmay Chhajed
e3350e7861
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
Ivan Grokhotkov
ebe62ee6d0
Merge branch 'bugfix/exception_crash_workaround' into 'master'
...
toolchain: C++ exception workarounds
Closes IDF-1128, IDF-1301, and IDF-1804
See merge request espressif/esp-idf!8967
2020-06-25 17:39:20 +08:00
Angus Gratton
22d9ff5b05
Merge branch 'feature/block_sha_fallback' into 'master'
...
esp32s2 SHA: fallback to hashing block by block for non DMA memory
Closes IDF-1529
See merge request espressif/esp-idf!8293
2020-06-25 09:30:39 +08:00
Ivan Grokhotkov
4e30e8801c
sleep: enable sleep reject when entering light sleep
2020-06-24 15:45:42 +00:00
Ivan Grokhotkov
4f8c42ca73
esp_rom: add patch to set USB device serial descriptor to MAC address
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
4901917ea3
esp_rom: add USB related headers from the ROM code
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
002c50540b
vfs: move line ending definitions into esp_vfs_common
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
012f9702ad
driver: make sure UART is idle before starting the test
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
0620890028
bootloader, rtc: don't disable PLL if it is already enabled
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
f54d771cd3
linenoise: actively flush the output stream, in case it is buffered
2020-06-24 15:50:51 +02:00
Jakob Hasse
f4c2f680f7
toolchain: C++ exception workarounds
...
* enable C++ exception crash workaround
* disable C++ crash workaround
Closes https://github.com/espressif/esp-idf/issues/5360
Closes IDF-1128
Closes IDF-1301
Closes IDF-1804
2020-06-24 17:55:35 +08:00
lly
973f2481ec
ble_mesh: ci: Fix failing to compile when using make
2020-06-24 09:43:33 +08:00
Michael (XIAO Xufeng)
91310381d5
Merge branch 'test/fix_psram_readid_redundant' into 'master'
...
spiram: fix the read id failure
See merge request espressif/esp-idf!9275
2020-06-24 00:34:59 +08:00
Ivan Grokhotkov
46bcea0f21
Merge branch 'refactor/common_rom_crc_apis' into 'master'
...
esp_rom: extract common CRC apis into esp_rom_crc.h
See merge request espressif/esp-idf!9253
2020-06-23 21:21:13 +08:00
Ivan Grokhotkov
16a9252d4b
Merge branch 'feature/add_esp32s3_soc_description_files' into 'master'
...
soc: add soc descriptions for esp32s3
See merge request espressif/esp-idf!9238
2020-06-23 21:19:56 +08:00
Island
3266511582
Merge branch 'bugfix/ble_mesh_split_tinycrypt' into 'master'
...
Bugfix/ble mesh split tinycrypt
See merge request espressif/esp-idf!9098
2020-06-23 19:07:31 +08:00
Island
07b15b0d36
Merge branch 'bugfix/ble_mesh_get_node_with_name' into 'master'
...
ble_mesh: Get node info with pre-configured node name
Closes BMCI-88
See merge request espressif/esp-idf!9089
2020-06-23 19:04:06 +08:00
Island
33282d9c94
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent' into 'master'
...
ble_mesh: Check if subnet exists before updating beacon_sent
Closes BLEMESH-198
See merge request espressif/esp-idf!8709
2020-06-23 19:03:50 +08:00
Island
1420b6dd89
Merge branch 'bugfix/ble_mesh_bt_hex' into 'master'
...
ble_mesh: Fix wrong log output with bt_hex
See merge request espressif/esp-idf!9119
2020-06-23 19:02:58 +08:00
Island
371d590ca7
Merge branch 'bugfix/ble_mesh_not_define_bool' into 'master'
...
Bugfix/ble mesh not define bool
Closes IDFGH-3078 and BMCI-71
See merge request espressif/esp-idf!9135
2020-06-23 19:02:05 +08:00
Island
b73101d436
Merge branch 'bugfix/ble_mesh_check_model_status' into 'master'
...
ble_mesh: stack: Check model status with variable length
See merge request espressif/esp-idf!9257
2020-06-23 19:01:52 +08:00
Mahavir Jain
5b9b5d9636
spi_flash: esp32: fix regression in encrypted flash write
...
In commit 309376f51a
, it seems like regression
was added to use ROM level API for disabling flash write protection. This
started random firmware crashes (on specific modules) with exception
`IllegalInstruction` during encrypted flash writes.
Fix here removes relevant ROM API call, since disabling flash write protection
is already ensured by caller of this API.
Closes https://github.com/espressif/esp-idf/issues/5467
2020-06-23 16:08:04 +05:30
morris
a34409cffc
esp_rom: extract common CRC apis into esp_rom_crc.h
2020-06-23 16:40:14 +08:00
Hrishikesh Dhayagude
636d685eab
Update tinycbor submodule in ESP-IDF
2020-06-23 08:20:16 +00:00
morris
4857dc5e2b
soc: add soc descriptions for esp32s3
2020-06-23 15:10:09 +08:00
Michael (XIAO Xufeng)
26272af3b4
Merge branch 'test/esp_flash_rw_performance_thr' into 'master'
...
esp_flash: decrease some of the performance threshold
See merge request espressif/esp-idf!8843
2020-06-23 14:34:19 +08:00
lly
9e293b2e1f
ble_mesh: Mark platform related default RNG as 0
2020-06-23 06:19:08 +00:00
lly
763f3ace61
ble_mesh: Remove the previously added redundant aes files
2020-06-23 06:19:08 +00:00
lly
d08425fdd1
ble_mesh: Update CMake and make files for tinycrypt
2020-06-23 06:19:08 +00:00
lly
eecf9cc595
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-06-23 06:19:08 +00:00
lly
eb7b2b5ae0
ble_mesh: Format source and header files of tinycrypt
2020-06-23 06:19:08 +00:00
lly
ff7f088ebb
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-06-23 06:19:08 +00:00
Michael (XIAO Xufeng)
6b337049fb
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15
.
2020-06-23 11:18:20 +08:00
Ivan Grokhotkov
c140a66d3d
Merge branch 'feature/coredump_pygdbmi' into 'master'
...
espcoredump: use pygdbmi for interaction with GDB
Closes IDF-48
See merge request espressif/esp-idf!8841
2020-06-23 01:44:45 +08:00
Ivan Grokhotkov
158ae5cbb1
Merge branch 'bugfix/freemodbus_fix_memcmp_coveriity_id291158' into 'master'
...
freemodbus: bug fix memcmp result truncated to 1 byte (coveriity id291158)
Closes IDF-1836
See merge request espressif/esp-idf!9239
2020-06-23 01:42:59 +08:00
Jiang Jiang Jian
6453038ed6
Merge branch 'bugfix/wifi_update_tbtt_when_ap_reset_tsf' into 'master'
...
Add TBTT update when AP reset TSF
Closes WIFI-2444, WIFI-2445, and WIFI-2441
See merge request espressif/esp-idf!9216
2020-06-22 17:35:38 +08:00
Ivan Grokhotkov
3ffacb04b9
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition' into 'master'
...
espcoredump: fix error reported for blank partition
Closes IDF-1727
See merge request espressif/esp-idf!8801
2020-06-22 15:54:19 +08:00
Alex Lisitsyn
0d85e0096c
espcoredump: fix error reported for blank partition
2020-06-22 15:54:18 +08:00
Michael (XIAO Xufeng)
479269a52b
Merge branch 'feature/configure_flash_write_chunk_size' into 'master'
...
spi_flash: add configuration option to select flash write chunk size
See merge request espressif/esp-idf!9067
2020-06-22 14:50:42 +08:00
Island
49d69bb235
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs' into 'master'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check
See merge request espressif/esp-idf!9066
2020-06-22 11:34:46 +08:00
lly
4ae7efb4c0
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-20 05:47:19 +00:00
lly
8bfccba598
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-20 05:32:13 +00:00
fuzhibo
6e9cda031c
driver(touch): fix touch sensor denoise unit test case
2020-06-19 22:15:51 +08:00
lly
ba5da8b086
ble_mesh: stack: Check model status with variable length
2020-06-19 21:30:55 +08:00
Renz Bagaporo
98f4ccaef5
esp_system: fix other core init issue
...
Core 1 was not being stopped when in single core mode resulting to GDB
timing out.
2020-06-19 18:40:10 +10:00
Renz Bagaporo
98dc1b0188
esp_system: introduce intermediary function to call after system init
...
This MR uses an intermediary function `start_app` to call after system
initialization instead of `app_main`.
In RTOS builds, freertos provides `start_app` and calls `app_main`.
In non-RTOS builds, user provides `start_app` directly.
2020-06-19 18:40:10 +10:00
Renz Bagaporo
08cbfa6187
esp_system: fix various review issues
2020-06-19 18:40:10 +10:00
Renz Bagaporo
5e59b4a812
freertos: mark port_xSchedulerRunning as volatile
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
67983d5c1c
esp_system: restore order of some init functions
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
20d17e648b
esp32, esp32s2: remove dependency of cache err int init on freertos
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
4d094eccca
esp_system: move brownout init due to dependency issue
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
362d7b8f71
efuse: spelling fix
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
4bc53d44e3
xtensa: use early logging for trax config during startup
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
ef2a44d251
esp_system: introduce single core mode proxy config
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
c53ad56515
esp_system: startup flow modifications
...
Changes the startup flow to the ff:
hardware -> core libraries init -> other libraries init -> os
init (optional) -> app_main
- hardware init resides in the port layer, and is the entry point
- core libraries init executes init functions of core components
- other libraries init executes init functions of other components (weak
references)
- after other lib is init, the app_main function is called, however,
an OS can wrap the real call to app_main to init its own stuff, and
*then* call the real app_main
2020-06-19 18:40:09 +10:00
Renz Christian Bagaporo
0f43a2620d
esp_system: component init functions macro
...
Allows components to declare initialization function, such that the
startup code does not have direct dependency on the component.
2020-06-19 18:40:09 +10:00
Renz Bagaporo
bb5535ca5d
esp32, esp32s2: move startup code into esp_system
2020-06-19 18:40:09 +10:00
Renz Christian Bagaporo
62ef63e835
esp32, esp32s2: move clk init functions to esp_system
2020-06-19 18:40:09 +10:00
Renz Bagaporo
39ef904fba
soc: introduce hal function for cpu delay
2020-06-19 18:40:09 +10:00
Michael (XIAO Xufeng)
fda166f6bf
esp_flash: decrease some of the performance threshold
2020-06-19 15:54:34 +08:00
zhangyanjiao
7cf59a8d18
esp_wifi:
...
Zhang Yan Jiao authored 1 day ago
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
2020-06-19 14:24:23 +08:00
Jiang Jiang Jian
4288a5978b
Merge branch 'bugfix/fix_tx_dma_buffer_issue' into 'master'
...
esp_wifi: Fix TX DMA buffer issue
See merge request espressif/esp-idf!9046
2020-06-19 14:12:27 +08:00
Angus Gratton
91d8c26349
Merge branch 'bugfix/fix_16mbit_psram_id_read_error' into 'master'
...
psram: fix 16mbit psram id read error
See merge request espressif/esp-idf!9083
2020-06-19 11:49:26 +08:00
Ivan Grokhotkov
cbd1a95fd0
espcoredump: simplify handling of temporary files
2020-06-18 19:08:00 +02:00
Ivan Grokhotkov
a63f44cfda
espcoredump: use pygdbmi for interaction with GDB
...
IDF now includes pygdbmi package as a dependency, so we can use it
for core dump parsing.
2020-06-18 19:07:59 +02:00
aleks
30e97e0920
freemodbus: fix memcmp result truncated to 1 byte
...
Coverity ID: 291158
2020-06-18 12:33:02 +02:00
Aditya Patwardhan
ea635c2bba
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 10:10:40 +05:30
wangcheng
7bad9b77cc
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 11:21:46 +08:00
Michael (XIAO Xufeng)
eeeaba4b8e
Merge branch 'bugfix/optimize_timer_ut' into 'master'
...
improve timer unit test case
See merge request espressif/esp-idf!6883
2020-06-18 02:04:43 +08:00
KonstantinKondrashov
96b3ab708a
esp32s2: Add USE_FIXED_STATIC_RAM_SIZE feature
...
This feature exists on ESP32 and missed for ESP32S2. This commit adds it for esp32s2 as well.
Closes: IDF-1800
2020-06-17 22:24:51 +08:00
Jiang Jiang Jian
8a5625e14c
Merge branch 'bugfix/ble_conn_fail' into 'master'
...
Fix bugs from coex test
See merge request espressif/esp-idf!9097
2020-06-17 15:06:58 +08:00
xiehang
4eeedf62e1
esp_wifi: Fix TX DMA buffer issue
2020-06-17 14:37:12 +08:00
Jiang Jiang Jian
9f20d4113e
Merge branch 'feature/make_tcp_rto_configurable' into 'master'
...
feat(lw-ip): make LW-IP TCP rto time configurable
Closes WIFI-2389
See merge request espressif/esp-idf!9091
2020-06-17 14:05:32 +08:00
Mahavir Jain
211cbef276
Merge branch 'bugfix/authorization_retries' into 'master'
...
http_client: Add http methods required for WebDAV and fix for authorization retries
Closes IDFGH-3441 and IDFGH-3445
See merge request espressif/esp-idf!9122
2020-06-17 13:28:54 +08:00
Jiang Jiang Jian
ca8462867d
Merge branch 'bugfix/wpa3_ble_coex_issue' into 'master'
...
Fix WPA3 Auth timeout during BLE coex
See merge request espressif/esp-idf!8732
2020-06-17 13:18:30 +08:00
Jiang Jiang Jian
c3e6689777
Merge branch 'bugfix/customer_baidu_int_wdt_master' into 'master'
...
system: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!8968
2020-06-17 11:53:25 +08:00
baohongde
140b696009
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-17 03:52:32 +00:00
baohongde
75ca740d04
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 03:52:32 +00:00
baohongde
fd8f2c1a32
components/coex: Fix ble connecting fail in coexist
2020-06-17 03:52:32 +00:00
Nachiket Kukade
b8e8330c61
esp_wifi: Update wifi lib
...
Fix WPA3 Auth timeout during BLE coex
2020-06-17 11:08:55 +08:00
Jiang Jiang Jian
9ca8c9ffd0
Merge branch 'bugfix/addba_bar_fix' into 'master'
...
esp_wifi: addba fix and send bar in first ampdu
See merge request espressif/esp-idf!9124
2020-06-17 11:04:59 +08:00
Ivan Grokhotkov
314d08e53f
esp32s2: sleep_modes: remove dependency on driver/uart.h
2020-06-16 18:31:46 +02:00
Ivan Grokhotkov
194353af07
soc: add periph_ll_periph_enabled to clk_gate_ll.h
2020-06-16 18:13:14 +02:00
Ivan Grokhotkov
5b291c032a
esp32s2: suspend UART output using XOFF before entering light sleep
...
Same logic as for the ESP32, except two changes:
* need to set UART_SW_FLOW_CON_EN bit for UART_FORCE_XOFF to take
effect
* need to check if the peripheral is not clockgated and out of reset
2020-06-16 18:13:14 +02:00
Shubham Kulkarni
1bbafb817d
esp_http_client: Set user configurable authorization retries
...
Closes: https://github.com/espressif/esp-idf/issues/5407
2020-06-16 20:48:28 +05:30
Shubham Kulkarni
bcfd2f07ab
esp_http_client: Add methods in esp_http_client_method_t required for WebDAV
...
Closes: https://github.com/espressif/esp-idf/issues/5402
2020-06-16 20:43:06 +05:30
Ivan Grokhotkov
b48cc853fc
Merge branch 'bugfix/fix_uart_UT_fail_issue' into 'master'
...
Bugfix (UART): fix uart UT test fail issue
See merge request espressif/esp-idf!9146
2020-06-16 22:06:19 +08:00
Jiang Jiang Jian
8c7c3ff899
Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
...
Bugfix/fix event bug in GAP API
Closes BT-594 and BT-595
See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
yuanjm
533bb3c46d
feat(lwip): make LWIP TCP rto time configurable
2020-06-16 13:16:17 +00:00
ChenJianxing
03cca9abf7
esp_wifi: addba fix and send bar in first ampdu
2020-06-16 20:59:54 +08:00
Jiang Jiang Jian
d93b8b2939
Merge branch 'bugfix/blufi_buffer_overflow_report' into 'master'
...
Bugfix/blufi buffer overflow report
See merge request espressif/esp-idf!9177
2020-06-16 15:58:25 +08:00
Jiang Jiang Jian
0a297dda58
Merge branch 'bugfix/att_buffer_count_fixed' into 'master'
...
fix acl att buffer count not auccrate
Closes BT-744
See merge request espressif/esp-idf!9071
2020-06-16 15:57:50 +08:00
Jiang Jiang Jian
d1aa22e20a
Merge branch 'bugfix/airkiss_find_hidden_ap_fail' into 'master'
...
esp_wifi: fix the bug that airkiss find hidden AP fail
Closes WIFI-2392
See merge request espressif/esp-idf!9080
2020-06-16 14:45:22 +08:00
lly
d7bd5c002e
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-16 06:32:12 +00:00
Angus Gratton
a5683f2263
Merge branch 'bugfix/efuse_logs' into 'master'
...
esp32/esp32s2: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code
Closes IDFGH-3367
See merge request espressif/esp-idf!8904
2020-06-16 13:47:02 +08:00
Angus Gratton
61ab64439b
Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
...
fixes for core dump regressions
See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +08:00
Ivan Grokhotkov
4395be9697
Merge branch 'feature/add_esp32s3_xtensa_cpu_config_files' into 'master'
...
xtensa: add CPU config files for esp32s3
See merge request espressif/esp-idf!9138
2020-06-16 06:40:25 +08:00
Ivan Grokhotkov
2db04d6e95
Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'
...
add esp32s3 preview target and rom symbol & header
Closes IDFGH-3474
See merge request espressif/esp-idf!9127
2020-06-16 06:38:43 +08:00
David Čermák
f74d5d9517
Merge branch 'bugfix/ws_send_abort' into 'master'
...
websocket client: the client now aborts the connection if send fails.
Closes IDF-1744
See merge request espressif/esp-idf!8891
2020-06-16 03:36:17 +08:00
KonstantinKondrashov
a861a75396
newlib: Fix UT for adjtime
2020-06-15 22:46:41 +08:00
wangcheng
999ca60657
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-15 19:33:28 +08:00
Wang Cheng
c65bd02d87
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-15 18:52:48 +08:00
Geng Yu Chao
c453c2b919
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-15 18:02:34 +08:00
zhangyanjiao
b73f62c95d
esp_wifi: fix the bug that airkiss find hidden AP fail
2020-06-15 17:13:09 +08:00
Jiang Jiang Jian
2d896d9710
Merge branch 'mesh/bugfix_set_type_idle' into 'master'
...
mesh: fix bug of dynamic set type idle
Closes WIFI-2402, WIFI-2404, WIFI-2412, WIFI-2400, WIFI-2403, and WIFI-2387
See merge request espressif/esp-idf!8864
2020-06-15 16:49:13 +08:00
chenjianqiang
cb4ed98df7
bugfix(timer): improve timer unit test case
2020-06-15 16:12:51 +08:00
Michael (XIAO Xufeng)
0d725c14cc
Merge branch 'bugfix/fix_uart_read_write_different_in_buffer_type_issue' into 'master'
...
Bugfix(driver): fix uart_read_byte and uart_write_byte different in buffer type issue
Closes IDFGH-2418
See merge request espressif/esp-idf!8925
2020-06-15 15:55:53 +08:00
Michael (XIAO Xufeng)
35a34b0f94
Merge branch 'bugfix/freemodbus_fix_opt_perf_comm_fail' into 'master'
...
freemodbus fix comm fail when optimization for performance option is active
Closes IDFGH-2371
See merge request espressif/esp-idf!8682
2020-06-15 15:20:43 +08:00
Alex Lisitsyn
b28b62b194
freemodbus: fix fragmented response frame causes next value fail
...
drop uart ll driver fix: soc: prevent speculative reads from FIFO at -O2 optimization
(new compiler fixes this issue)
2020-06-15 15:20:42 +08:00
houwenxiang
c7e4a284ae
test(UART): fix uart tx with ringbuffer test fail issue
2020-06-15 12:03:24 +08:00
chenyudong
fa3b76ee9b
mesh: fix bug of dynamic set type idle
...
1. fix bug of dynamic set type idle
2. fix esp_mesh_deinit blocking issue
3. fix ie.mesh_type do not match ie.layer
4. ps enabled devices use new assoc version
2020-06-15 03:03:57 +00:00
Krzysztof Budzynski
79a0e892a0
Merge branch 'feature/coredump_allow_variable_dumping' into 'master'
...
Added coredump user defined variable into coredump
Closes IDF-44
See merge request espressif/esp-idf!8730
2020-06-15 02:35:38 +08:00
Alexey Gerenkov
1deeadf4c5
Added coredump user defined variable into coredump
2020-06-15 02:35:38 +08:00
wangcheng
e87a42f46c
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 14:27:48 +08:00
wangcheng
9c7896f2c2
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 14:25:51 +08:00
wangcheng
d767adcbfa
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 14:22:30 +08:00
Marius Vikhammer
0049385850
websocket: add configurable timeout for PONG not received
...
Closes IDF-1744
2020-06-12 09:43:29 +00:00
Angus Gratton
1c09cb6769
Merge branch 'bugfix/doc_macro_definitions' into 'master'
...
doc: Fix macro definitions for different targets
See merge request espressif/esp-idf!8999
2020-06-12 16:37:41 +08:00
Michael (XIAO Xufeng)
fed1ab5f3e
Merge branch 'bugfix/tusb_configure_pins' into 'master'
...
usb: fixed a typo in configure_pins
See merge request espressif/esp-idf!8992
2020-06-12 13:51:02 +08:00
Mahavir Jain
d7e33d60fa
Merge branch 'feature/httpd_low_level_apis' into 'master'
...
esp_http_server: Expose low level socket send/recv APIs
Closes IDFGH-1910
See merge request espressif/esp-idf!9084
2020-06-12 13:40:02 +08:00
Angus Gratton
8193b188e8
driver: Fix some doxygen warnings
2020-06-12 14:31:37 +10:00
morris
7232bc8360
xtensa: add CPU overlay files for esp32s3
2020-06-12 11:41:23 +08:00
morris
0daff849a4
esp_rom: remove unsupported library on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/5434
2020-06-11 21:40:08 +08:00
morris
be91b7c52e
esp_rom: add esp32s3 rom headers
2020-06-11 21:40:08 +08:00
morris
9cc0f33ed5
esp_rom: add esp32s3 rom symbols
2020-06-11 21:40:08 +08:00
morris
067b1b91c2
global: add new target name: esp32-s3
...
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +08:00
lly
a0f1a43edc
ble_mesh: Remove boolean type definitions
2020-06-11 16:17:49 +08:00
Nikolaos Strikos
c04cfc2545
ble_mesh: Do not #define bool when compiling in C++
2020-06-11 16:13:26 +08:00
chenjianqiang
c11621e64e
timer: add return task awoken for timer callback
2020-06-11 16:02:55 +08:00
Anton Maklakov
bb5d07b23e
Merge branch 'bugfix/gen_crt_py3_utf' into 'master'
...
Fixes issues encoding issues python3 scripts for unicode chars
See merge request espressif/esp-idf!9094
2020-06-11 10:40:54 +08:00
Piyush Shah
24587ccbbf
esp_http_server: Expose low level socket send/recv APIs
...
For some advanced use cases, the low level APIs may be useful.
2020-06-11 01:56:47 +00:00
houwenxiang
61e3259f22
Driver(UART): fix uart_read_byte and uart_write_byte different in buffer type issue.
2020-06-10 16:22:06 +08:00
Angus Gratton
067ce3ef32
Merge branch 'bugfix/bootloader_skip_verify_jtag' into 'master'
...
bootloader_support: don't check signature when JTAG is attached
Closes IDFGH-2816 and IDFGH-2660
See merge request espressif/esp-idf!7865
2020-06-10 16:09:32 +08:00
Angus Gratton
e29c9d331f
Merge branch 'bugfix/esp32s2_define_correct_size_for_rtc_fast_mem' into 'master'
...
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and...
Closes IDF-1800
See merge request espressif/esp-idf!9031
2020-06-10 16:04:41 +08:00
Angus Gratton
6a838c2eaf
Merge branch 'feature/efuse_esp32s2_add_fields_in_table' into 'master'
...
efuse: Add some fields in efuse_table and update esp_efuse_get_pkg_ver()
Closes IDF-1077
See merge request espressif/esp-idf!9104
2020-06-10 16:01:25 +08:00
Marius Vikhammer
b75edc84e3
esp32s2 SHA: fallback to hashing block by block for non DMA memory
...
Also adds unit test for SHA with input buffer in flash
Closes IDF-1529
2020-06-10 15:09:20 +08:00
ronghulin
2c599137b9
bugfix: fix interrupt handle param variable error
...
Closes https://github.com/espressif/esp-idf/issues/5354
2020-06-09 17:35:41 +08:00
KonstantinKondrashov
0c7e13f0cd
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
...
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.
Closes: https://github.com/espressif/esp-idf/issues/5194
2020-06-08 22:57:38 +08:00
KonstantinKondrashov
5cfdf1aa70
efuse: Add some fields in efuse_table and update esp_efuse_get_pkg_ver()
...
Closes: IDF-1077
2020-06-08 22:35:08 +08:00
Marius Vikhammer
c343323863
Fixes issues with gen_crt_bundle.py for unicode chars
...
gen_crt_bundle.py could fail to parse the certificates if it contained a non-ascii character.
2020-06-08 18:27:03 +08:00
Ivan Grokhotkov
e3640301ee
Merge branch 'bugfix/cleanup_ext0_wakeup_setup' into 'master'
...
esp32: disable ext0 wakeup source after test
Closes IDF-1660
See merge request espressif/esp-idf!8745
2020-06-08 15:57:54 +08:00
Ivan Grokhotkov
58e1100473
Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll' into 'master'
...
soc: cast int to size_t in cpu_ll
Closes IDFGH-3352
See merge request espressif/esp-idf!9077
2020-06-08 15:40:42 +08:00
Jiang Jiang Jian
ee5a630ee6
Merge branch 'bugfix/esp32_can_not_scan_ap_after_restart' into 'master'
...
wifi: upadte esp32 phy lib to 4182
Closes WIFI-2433
See merge request espressif/esp-idf!9073
2020-06-08 14:38:18 +08:00
Jiang Jiang Jian
82448f1bc1
Merge branch 'bugfix/supplicant_mbedtls_rsa_apis' into 'master'
...
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
See merge request espressif/esp-idf!8099
2020-06-08 14:37:33 +08:00
Michael (XIAO Xufeng)
1a6191debe
Merge branch 'bugfix/fix_ledc_unable_to_work_in_light_sleep_mode' into 'master'
...
bugfix (Ledc): fix the bug that ledc low-speed channel can not work when chip in light-sleep mode
See merge request espressif/esp-idf!8392
2020-06-08 14:25:43 +08:00
kapil.gupta
1cabd06f0c
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
...
Curretly wpa_supplicant uses internal APIs for RSA operations
which internally uses lots of big num operations.
Big num operations are CPU expensive and can take a lot of time
which can cause watchdog timer to tigger.
This can be optimize by using mbedtls APIs which uses
hardware blocks for big num operations.
To fix this, write new crypto_mbedtls-rsa.c which has APIs
similar to crypto_internal-rsa.c but uses mbedtls APIs.
2020-06-07 15:31:12 +00:00
Ivan Grokhotkov
8526cb577c
Merge branch 'bugfix/coredump_workaround_esp32s2_sha256_support' into 'master'
...
Limit coredump SHA256 support for ESP32 only
See merge request espressif/esp-idf!8817
2020-06-05 22:14:46 +08:00
chenjianqiang
3ecbb59c15
psram: fix 16mbit psram id read error
2020-06-05 21:06:21 +08:00
Mahavir Jain
05da91f0db
spi_flash: add configuration option to select flash write chunk size
...
Flash write operation is broken down into smaller chunk writes. Size
of this chunk was previously set to 8K but that in-turn meant cache and
non-IRAM resident interrupts could stay disabled upto ~24msec for 8K flash
write operation. If chunk size is brought down to 256 (typical flash page size)
then it brings down cache and non-IRAM interrupts disable duration to ~1msec.
Fix here keeps defaults same but provides configuration option to tweak the
setting based on application requirement.
2020-06-05 14:45:41 +05:30
zhangyanjiao
6f5e9398f7
esp_wifi: upadte esp32 phy lib to 4182
...
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
Mahavir Jain
790aecfc6a
Merge branch 'feature/get_chunk_length' into 'master'
...
esp_http_client: Add API to get chunk length
Closes IDFGH-3319
See merge request espressif/esp-idf!9074
2020-06-05 15:06:26 +08:00
Li Shuai
72f583dfa7
add soft solution for esp32 eco3 live lock issue
2020-06-05 06:04:18 +00:00
Shubham Kulkarni
de5ee9cc80
esp_http_client: Add API to get chunk length in case of chunked responses
...
Closes: https://github.com/espressif/esp-idf/issues/5302
2020-06-05 09:57:32 +05:30
kapil.gupta
179292f9b3
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
Angus Gratton
8b692c85f1
Merge branch 'test/move_rom_unit_test' into 'master'
...
move rom unit test && enable intr_alloc test on esp32s2
See merge request espressif/esp-idf!8263
2020-06-04 16:47:25 +08:00
Angus Gratton
9d52318683
Merge branch 'doc/ds_S2' into 'master'
...
DOC: DS documentation for S2
See merge request espressif/esp-idf!8450
2020-06-04 16:36:13 +08:00
Angus Gratton
3b20e73b67
Merge branch 'bugfix/bootloader_header_align' into 'master'
...
bootloader: Force bootloader_image_hdr to be word aligned
See merge request espressif/esp-idf!9020
2020-06-04 16:21:12 +08:00
Jiang Jiang Jian
c1bbc94e9d
Merge branch 'bugfix/esp32s2_airkiss_fail' into 'master'
...
fix the bug that ESP32S2 can't receive AMPDU when airkiss
Closes ESPCS-380 and WIFI-2369
See merge request espressif/esp-idf!8740
2020-06-04 11:44:17 +08:00
Jakob Hasse
516680a4ff
Doc: DS documentation for S2
2020-06-04 10:49:22 +08:00
David Čermák
d3588f53a7
Merge branch 'feature/pin_ethernet_task_to_core' into 'master'
...
ethernet: support pin emac task to core
Closes IDFGH-3383
See merge request espressif/esp-idf!8953
2020-06-03 22:26:03 +08:00
Island
b2a0e63ca8
Merge branch 'bugfix/ble_mesh_remove_relay_dependency' into 'master'
...
ble_mesh: Remove relay option dependency
See merge request espressif/esp-idf!9024
2020-06-03 15:20:24 +08:00
Island
ae2898f12e
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check' into 'master'
...
ble_mesh: Rework prov pdu length check
See merge request espressif/esp-idf!8993
2020-06-03 15:10:14 +08:00
morris
2ccdd7eb10
intr_alloc: using isr version of critical section
2020-06-03 13:16:13 +08:00
morris
d70961ad58
esp32s2: add more unit test for esp32s2
...
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
morris
783779c870
esp_rom: move rom api test into esp_rom component
2020-06-03 13:16:13 +08:00
Michael (XIAO Xufeng)
099f2706aa
Merge branch 'bugfix/fix_adc_dac_conflict' into 'master'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
Closes IDF-1585
See merge request espressif/esp-idf!8364
2020-06-03 12:41:50 +08:00
Michael (XIAO Xufeng)
1a1b0574ac
Merge branch 'bugfix/fix_fifo_cnt_bug' into 'master'
...
bugfix(uart): fix esp32 uart fifo_cnt bug
See merge request espressif/esp-idf!8974
2020-06-03 11:44:39 +08:00
Ivan Grokhotkov
f4ea9d4cea
freertos: increase configMINIMAL_STACK_SIZE when building with -O0
...
FreeRTOS scheduler uses additional stack space, as in some functions
variables are placed onto the stack instead of registers.
This issue resulted in occasional stack overflows in dport task, when
compiling at -O0 optimization level.
- Increase the configMINIMAL_STACK_SIZE to 1kB.
- Enable the watchpoint at the end of stack in CI startup test for
this optimization level.
2020-06-02 18:51:16 +02:00
KonstantinKondrashov
4d66c384a4
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC
...
Defines the correct size for RTC fast memory (the same as for ESP32).
Closes: IDF-1800
2020-06-02 22:55:56 +08:00
Ivan Grokhotkov
614a580bbb
freertos, soc: don't lower INTLEVEL when entering critical sections
...
This fixes the issue where XTOS_SET_INTLEVEL would lower INTLEVEL from
4 to 3, when eTaskGetState is invoked during the core dump, triggered
from the interrupt watchdog.
2020-06-02 15:42:24 +02:00
Ivan Grokhotkov
03bb2774d9
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-06-02 15:42:24 +02:00
xiongyu
eea38d7698
bugfix(uart): fix esp32 fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-02 21:38:31 +08:00
lly
5ced2206b4
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:05:16 +08:00
Michael (XIAO Xufeng)
d2bb1e1b75
Merge branch 'bugfix/fix_adc_dac_driver_ut' into 'master'
...
Driver(adc): fix adc driver and UT
See merge request espressif/esp-idf!8482
2020-06-02 17:46:45 +08:00
Jiang Jiang Jian
c807e9f6af
Merge branch 'bugfix/enable_esp32s2_wifi_example' into 'master'
...
esp_wifi: re-enable build wifi example
Closes WIFI-2384
See merge request espressif/esp-idf!8991
2020-06-02 17:38:22 +08:00
Chen Jian Xing
ebb2caa940
esp_wifi: re-enable build wifi example
2020-06-02 17:38:22 +08:00
Angus Gratton
e6151c4394
bootloader: Force bootloader_image_hdr to be word aligned
...
Possible due to linker order for this file to be placed unaligned,
causing failure from bootloader_flash_read() function.
2020-06-02 18:13:37 +10:00
Renz Bagaporo
8f8e00ee6c
esp32: disable ext0 wakeup source after test
2020-06-02 07:48:07 +00:00
zhangyanjiao
1fe08ef40e
wifi: fix the bug that ESP32S2 can't receive AMPDU when airkiss
2020-06-02 14:57:13 +08:00
Jiang Jiang Jian
702f768814
Merge branch 'feature/btdm_add_clear_white_list_API' into 'master'
...
component/bt: add clear white list API
See merge request espressif/esp-idf!8845
2020-06-02 14:53:30 +08:00
zhiweijian
6d593eb6fc
component/bt: add clear white list API
2020-06-02 11:29:51 +08:00
Island
bcbf2f2275
Merge branch 'bugfix/ble_mesh_model_recv_fix' into 'master'
...
Bugfix/ble mesh model recv fix
See merge request espressif/esp-idf!8988
2020-06-02 11:00:07 +08:00
Island
7c72a0b1f0
Merge branch 'bugfix/ble_mesh_example_nvs_store' into 'master'
...
Bugfix/ble mesh example nvs store
Closes BMCI-84
See merge request espressif/esp-idf!8972
2020-06-02 10:57:54 +08:00
Ivan Grokhotkov
b40c7c78e3
Merge branch 'feature/nvs_cxx_enums' into 'master'
...
Enabled enum types for nvs C++ handle
See merge request espressif/esp-idf!8700
2020-06-02 01:13:00 +08:00
Ivan Grokhotkov
44d3efc1db
Merge branch 'feature/nvs_allow_custom_part' into 'master'
...
NVS: allow custom partition
See merge request espressif/esp-idf!8910
2020-06-02 01:12:07 +08:00
KonstantinKondrashov
0b62b28e25
esp32s2: Move some code after the stdout initialization
2020-06-01 20:46:21 +08:00
lly
c6e9d789b7
ble_mesh: Rework prov pdu length check
2020-06-01 20:44:52 +08:00
KonstantinKondrashov
3bb2d581c6
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization
...
After setting _GLOBAL_REENT, ESP_LOGIx can be used instead of ESP_EARLY_LOGx.
Closes: https://github.com/espressif/esp-idf/issues/5343
2020-06-01 20:36:08 +08:00
Andrei Gramakov
50f7678403
usb: fixed a typo in configure_pins
2020-06-01 14:17:15 +02:00
fuzhibo
3cc2d0e9a4
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-06-01 16:23:47 +08:00
Ivan Grokhotkov
b73a38da9e
Merge branch 'bugfix/coredump_memregion_size' into 'master'
...
coredump: Fixes size of memory region used by espcoredump.py
See merge request espressif/esp-idf!8975
2020-06-01 15:04:45 +08:00
fuzhibo
d90e0e4345
driver(adc): fix unit test for ADC-DMA (test_esp32s2.c); fix unit test for ADC-DMA (test_esp32s2.c); fix commit in adc dirver.
2020-06-01 15:00:08 +08:00
Angus Gratton
33bfe2393a
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi' into 'master'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
Closes IDFGH-3344
See merge request espressif/esp-idf!8822
2020-06-01 14:48:06 +08:00
Angus Gratton
8b156a9095
Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
Closes IDFGH-3086
See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +08:00
lly
e41eae1b07
ble_mesh: correct the return type [Zephyr]
2020-06-01 14:08:21 +08:00
lly
1e29d86dd3
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-01 13:57:41 +08:00
lly
8a8caebf51
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-01 13:57:33 +08:00
Michael (XIAO Xufeng)
a7e0cd656c
Merge branch 'bugfix/fix_uart_module_enable_issue' into 'master'
...
Bugfix (uart): fix uart module reset issue
Closes IDFGH-3370
See merge request espressif/esp-idf!8591
2020-06-01 12:13:31 +08:00
Michael (XIAO Xufeng)
507a5e51f5
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy' into 'master'
...
freemodbus: fix event processing failure after destroy
Closes IDFGH-3283
See merge request espressif/esp-idf!8731
2020-06-01 11:40:58 +08:00
houwenxiang
46713a5275
driver(uart): fix uart module reset issue
...
On ESP32, due to fifo reset issue, UART2 will work incorrectly if reset the fifo of UART1(TX fifo and RX fifo). The software can workaround the RX fifo reset issue,
while the TX fifo reset issue can not. When UART2 is used and UART1 is used as the log output port, a software reset can reproduce this issue. So we should reset the UART memory
before the software reset to solve this problem.
2020-06-01 11:01:26 +08:00
houwenxiang
73384adfbe
driver(Ledc): fix the bug that ledc low-sleep channel can not work when chip in light-sleep mode
...
`esp_light_sleep_start` will disable the RTC8M_CLK, which will cause the LEDC low-speed channel to not work in light-sleep mode
2020-06-01 09:51:32 +08:00
Ivan Grokhotkov
754d631247
partition_table: fix generation of signed partition table
...
Fixes the issue that signed partition table was not generated when
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES was on, because
partition_table_bin depended on unsigned_partition_bin twice.
Regression from acb7a211
.
Also use final_partition_bin variable in esptool_py_flash_target_image
arguments, to avoid issues in the future if final_partition_bin is
changed.
2020-05-31 18:39:30 +02:00
Ivan Grokhotkov
07bf1e23db
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-05-31 18:14:09 +02:00
Sylvio Alves
1fdc7afeb8
coredump: Limit coredump SHA256 support for ESP32 only
2020-05-29 15:25:29 -03:00
Alexey Gerenkov
cfd65df78a
coredump: Fixes size of memory region used by espcoredump.py
2020-05-29 20:53:15 +03:00
lly
9063821f01
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-05-29 21:10:13 +08:00
lly
409ea309f9
ble_mesh: Add more checks of net_idx & app_idx
2020-05-29 21:10:13 +08:00
lly
47609970db
ble_mesh: Optimize some send & recv logs
2020-05-29 21:10:13 +08:00
morris
1184366387
ethernet: support pin emac task to core
2020-05-29 17:51:37 +08:00
lly
9aae4d3ba3
ble_mesh: Local model (un)subscribes group address
2020-05-29 09:40:19 +00:00
lly
2190c2c368
ble_mesh: Define a macro for invalid company id
2020-05-29 09:40:19 +00:00
Jiang Jiang Jian
e783f148f0
Merge branch 'bugfix/wpa3_auth_coex_issue' into 'master'
...
Fix WPA3 Auth issue in coex scenario
See merge request espressif/esp-idf!8837
2020-05-29 15:19:59 +08:00
Angus Gratton
baedfab382
Merge branch 'feature/dis_uart_dl_mode' into 'master'
...
feature: Disable UART download mode
Closes IDF-1386
See merge request espressif/esp-idf!8590
2020-05-29 14:09:54 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Mahavir Jain
e8035c3eff
Merge branch 'feature/app_update_add_api' into 'master'
...
Add API to write data in a non-contiguous manner
See merge request espressif/esp-idf!8650
2020-05-29 12:25:54 +08:00
Jiang Jiang Jian
ba48120931
Merge branch 'bugfix/add_so_linger_to_menuconfig' into 'master'
...
lw-ip:add LINGER to menuconfig
Closes WIFI-2342
See merge request espressif/esp-idf!8746
2020-05-29 11:11:03 +08:00
Angus Gratton
f4edc52fa0
efuse: Have support for secure DL mode depend on a soc_caps flag
2020-05-28 18:02:02 +10:00
Angus Gratton
d45eabe676
esptool: Add support for ESP32-S2 Secure Download Mode
...
* Pass --no-stub from build system if configured to enable ESP32-S2 Secure Download Mode
* Update esptool submodule
2020-05-28 17:52:15 +10:00
Angus Gratton
f64ae4fa99
efuse: Add 'disable Download Mode' & ESP32-S2 'Secure Download Mode' functionality
2020-05-28 17:50:45 +10:00
Angus Gratton
48d9c14c28
efuse: Add new esp_efuse_read_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
1dd5a4dba4
efuse: Add new esp_efuse_write_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
9b822a3d2e
esp32s2: Disable legacy boot mode & ROM remap modes if either Secure Boot or Flash Encryption is on
2020-05-28 17:45:09 +10:00
liqigan
6cf659f293
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-05-28 14:47:51 +08:00
Marius Vikhammer
6bebfc84f3
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-05-28 06:31:46 +00:00
Nachiket Kukade
2185d96fdc
esp_wifi: Update wifi lib
...
Fix WPA3 Auth issue in coex scenario
2020-05-28 11:20:13 +05:30
Shubham Kulkarni
6a1b3221c4
app_update: Add API to write data in a non contiguous manner
2020-05-28 10:18:55 +05:30
Jiang Jiang Jian
8f2d1e7f92
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project' into 'master'
...
Bugfix/collection of confirmed fixes from baidu project
Closes BT-826, BT-542, BCI-31, BCI-34, BT-840, and AUD-1857
See merge request espressif/esp-idf!8675
2020-05-28 12:23:58 +08:00
Island
705fc0f0e5
Merge branch 'bugfix/ble_mesh_check_timer_init' into 'master'
...
ble_mesh: Check the result of creating timer
Closes BLEMESH-218
See merge request espressif/esp-idf!8932
2020-05-28 10:11:47 +08:00
Michael (XIAO Xufeng)
f81da10951
Merge branch 'bugfix/sdmmc_check_slot_before_pullup' into 'master'
...
sdmmc: Correctly check function parameters before using them
Closes IDFGH-2967
See merge request espressif/esp-idf!8827
2020-05-27 23:08:01 +08:00
Jiang Jiang Jian
1056d2a1b7
Merge branch 'bugfix/esp32s2_flash_mmap_cache2phys_phys2cache' into 'master'
...
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
See merge request espressif/esp-idf!8526
2020-05-27 20:20:46 +08:00
Jiang Jiang Jian
ed1c0bf445
Merge branch 'bugfix/rm_tx_buffer_limits' into 'master'
...
esp_wifi: remove wifi tx buffer limits
See merge request espressif/esp-idf!8933
2020-05-27 20:12:17 +08:00
lly
6768c2b7a1
ble_mesh: Check the result of creating timer
2020-05-27 09:30:34 +00:00
Island
3b85d4ef24
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes' into 'master'
...
Bugfix/ble mesh sync zephyr fixes
Closes BLEMESH-215
See merge request espressif/esp-idf!8912
2020-05-27 17:26:00 +08:00
Island
d82f3372a0
Merge branch 'bugfix/ble_mesh_not_use_same_private_key' into 'master'
...
ble_mesh: Not using pre-initialized private key
Closes BLEMESH-214
See merge request espressif/esp-idf!8905
2020-05-27 17:25:39 +08:00
Island
02376b97d4
Merge branch 'bugfix/ble_mesh_uses_deprecated_config' into 'master'
...
ble_mesh: Fix using old config for duplicate scan
Closes BLEMESH-213
See merge request espressif/esp-idf!8898
2020-05-27 17:23:55 +08:00
Island
7b12d96169
Merge branch 'bugfix/ble_mesh_comp_data_store_restore' into 'master'
...
ble_mesh: Same func for storing/restoring comp data
See merge request espressif/esp-idf!8882
2020-05-27 17:23:21 +08:00
ChenJianxing
9e45c3c7d8
esp_wifi: remove wifi tx buffer limits
2020-05-27 15:06:53 +08:00
Jakob Hasse
0e5abaf303
Enabled enum types for nvs C++ handle
...
Closes https://github.com/espressif/esp-idf/issues/5232
2020-05-27 12:36:48 +08:00
Jakob Hasse
0de732fd0e
nvs: unit tests for new partition API
2020-05-27 11:22:32 +08:00
Dmitriy Shilin
de89598779
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-05-27 11:22:32 +08:00
Jiang Jiang Jian
ff9322e007
Merge branch 'mesh/add_ps_ie_option' into 'master'
...
mesh: add mesh PS option following add announce
Closes WIFI-2348 and WIFI-2330
See merge request espressif/esp-idf!8826
2020-05-27 11:15:50 +08:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
jiangguangming
b25ccde45f
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
2020-05-26 15:14:23 +08:00
lly
0cfb6c138b
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-26 11:42:31 +08:00
Angus Gratton
94f5129bf8
mbedtls: Don't compile hardware MPI & SHA files if disabled in config
...
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when
disabled in config.
2020-05-26 03:37:46 +00:00
lly
f863a1b328
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-26 11:16:01 +08:00
lly
05c287e05c
ble_mesh: Not using pre-initialized private key
2020-05-26 10:46:22 +08:00
lly
3c1487be0e
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:48:15 +08:00
Michael (XIAO Xufeng)
0d90861984
Merge branch 'bugfix/fix_rmt_driver_breaking_change_issue' into 'master'
...
Bugfix(RMT): Fix the breaking change issue of RMT driver.
Closes IDFGH-2837, IDFGH-2579, and IDFGH-2915
See merge request espressif/esp-idf!8006
2020-05-25 15:27:24 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Michael (XIAO Xufeng)
b3587ff88c
Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
...
Bugfix(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug
Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117
See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
lly
bbbdbb8699
ble_mesh: Same func for storing/restoring comp data
2020-05-25 13:27:08 +08:00
Jiang Jiang Jian
5bb656bd5e
Merge branch 'bugfix/bt_universal_calculation' into 'master'
...
bugfix/correct_bt_mac_calculation
Closes IDFGH-3343
See merge request espressif/esp-idf!8825
2020-05-25 11:57:37 +08:00
Wei Tian Hua
6572959fd3
Add user invisible kconfig for bt mac offset
...
Closes https://github.com/espressif/esp-idf/issues/5320
2020-05-25 11:57:37 +08:00
xueyunfei
df43a1affc
add LINGER to menuconfig
2020-05-25 11:23:03 +08:00
Krzysztof Budzynski
56635f22b8
Merge branch 'doc/add_types_api_ref' into 'master'
...
doc: add peripheral_types.h as API reference for peripheral docs
Closes DOC-136 and IDF-1673
See merge request espressif/esp-idf!8528
2020-05-25 03:22:22 +08:00
Ivan Grokhotkov
1f734b7057
Merge branch 'feature/native_smp_suport' into 'master'
...
APP CPU syscall table for gcov handler
See merge request espressif/esp-idf!8350
2020-05-23 20:31:22 +08:00
Island
248db690e1
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub' into 'master'
...
ble_mesh: Fix Provisioner failed to publish
Closes BLEMESH-211
See merge request espressif/esp-idf!8872
2020-05-22 19:14:00 +08:00
Darian Leung
baf06d4971
Increase C++ unit test leak threshold
...
Heap fragmentation causes 4-8 bytes of memory to be leaked
(due to rounding up of memory sizes). Increase the leak
thresholds to prevent test cases from failing.
2020-05-22 16:39:44 +08:00
KonstantinKondrashov
4275056423
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-05-22 16:23:53 +08:00
lly
af37aee5bf
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:32:12 +08:00
Anton Maklakov
a9c61dca4e
Merge branch 'bugfix/static_analysis_mem_issues' into 'master'
...
fix minor static analysis memory issues
See merge request espressif/esp-idf!8697
2020-05-22 15:08:20 +08:00
Ivan Grokhotkov
a2d7e8cbba
Merge branch 'bugfix/crt_bundle_no_config_file' into 'master'
...
esp_crt_bundle: fixes the "No CA Chain is set" error
See merge request espressif/esp-idf!8851
2020-05-22 09:34:32 +08:00
Mahavir Jain
6272cb842f
Merge branch 'feature/esp_wroom32_se_example' into 'master'
...
Feature/esp wroom32 se example
See merge request espressif/esp-idf!8552
2020-05-21 19:51:19 +08:00
Aditya Patwardhan
423e600d46
secure_element: atecc608_ecdsa example
...
* Replaced crypotoauthlib with esp-cryptoauthlib
* Added menuconfig option for esp-tls about using HSM
* Added error codes for HSM in esp-tls,
* Added support to select different type of ATECC608A chips
* Added README, updated docs
* tcp_transport: Added option to enable secure_element for ssl
Closes https://github.com/espressif/esp-idf/issues/4432
2020-05-21 13:08:30 +05:30
Marius Vikhammer
f72d259622
esp_crt_bundle: fixes the "No CA Chain is set" error
...
When compiling esp_crt_bundle.c, it would end up with a different struct layout due
to configuration options from "mbedtls/esp_config.h" not being considered.
This lead to ca_chain potentially not being set correctly.
2020-05-21 15:19:49 +08:00
Island
9f801fd2f5
Merge branch 'bugfix/ble_mesh_friend_init_flag' into 'master'
...
ble_mesh: Add init flag for friend init/deinit
Closes BLEMESH-205
See merge request espressif/esp-idf!8783
2020-05-21 11:46:17 +08:00
chenyudong
8fb982c512
mesh: add mesh PS option following add announce
2020-05-21 03:40:47 +00:00
Angus Gratton
0ad6e1b977
Merge branch 'feature/80m_flashspeed_esp32s2' into 'master'
...
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
See merge request espressif/esp-idf!8739
2020-05-21 10:22:59 +08:00
FredrikFornstad
9d58219557
Bugfix: Casting int to size_t
2020-05-20 19:32:18 +02:00
Mahavir Jain
7a2ea9b7f7
esp-tls: add support for using hardware security module
2020-05-20 22:52:37 +05:30
Bryan Hunt
4553f6c95d
Add cryptoauthlib as a component with mbedtls integration
...
* Add options to mbedtls for hardware acceleration
* Disable mbedtls EC curves if hardware acceleration is selected
since the hardware will have to define the curves supported
* Add a hardware ecdsa example
2020-05-20 22:52:37 +05:30
Jiang Jiang Jian
5f08bed88b
Merge branch 'feature/optimize_wifi_API_max_tx_power_description' into 'master'
...
feature: optimize wifi API max tx power description
Closes WIFI-1097
See merge request espressif/esp-idf!8173
2020-05-20 22:43:54 +08:00
liqigan
55f6a927b5
btdm:fix emit ESP_BT_GAP_DISC_STATE_CHANGED_EVT
event when call API esp_bt_gap_start_discovery
...
closes BT-594
See merge request espressif/esp-idf!8808
2020-05-20 22:43:44 +08:00
lly
b1f3843ed6
ble_mesh: Clear two more vars during proxy server deinit
2020-05-20 11:35:26 +00:00
lly
d5b126667a
ble_mesh: Add missing sdkconfig.h
2020-05-20 11:35:26 +00:00
lly
4e60919a66
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-20 11:35:26 +00:00
lly
a0ce8c64b0
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-20 11:35:26 +00:00
Angus Gratton
5bd75b134d
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
...
Most ESP32 devices will also work at 80MHz, but third party boards/modules
may not have been tested at this speed so the default is kept at 40MHz for safety.
2020-05-20 06:19:34 +00:00
Mahavir Jain
e497bf37c4
Merge branch 'bugfix/httpd_lru_purge' into 'master'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge
Closes IDFGH-2680
See merge request espressif/esp-idf!8818
2020-05-20 14:08:02 +08:00
Alexander Borsuk
fb0fa34ac8
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-05-20 13:09:05 +08:00
David Čermák
7d7f3f8d8f
Merge branch 'bugfix/esp_netif_minor_fixes' into 'master'
...
esp-netif: Minor fixes
Closes IDFGH-3311
See merge request espressif/esp-idf!8799
2020-05-20 12:47:01 +08:00
ronghulin
cdaeef70c3
feature: optimize wifi API max tx power description
2020-05-20 11:52:42 +08:00
Jiang Jiang Jian
af97a5abc3
Merge branch 'workaround/wps_iot_fixes' into 'master'
...
wpa_supplicant: WPS Inter operatability Fixes
See merge request espressif/esp-idf!8654
2020-05-20 11:32:34 +08:00
Jiang Jiang Jian
b0cbc4f7bb
Merge branch 'bugfix/optimize_4way_handshake' into 'master'
...
ESP-WIFI; Optimize 4way handshake failure time
See merge request espressif/esp-idf!8020
2020-05-20 11:29:56 +08:00
Jiang Jiang Jian
05f4668ad0
Merge branch 'nimble/update_nimble_submodule' into 'master'
...
NimBLE: Include upstream fixes and use macros for log level filtering
See merge request espressif/esp-idf!8448
2020-05-20 11:23:46 +08:00
Angus Gratton
0927ec029e
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Also disable the relevant function in bignum.h based on config, so fails at
compile not link time.
Closes https://github.com/espressif/esp-idf/issues/5321
2020-05-20 12:06:07 +10:00
Piyush Shah
c2ab112590
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-05-19 22:11:02 +05:30
Mahavir Jain
7dbf01afad
coap: move mbedTLS config options from component to examples
...
CoAP component relies on some mbedTLS crypto configuration
options, e.g. DTLS and PSK. These configuration options if
selected, have footprint impact on generic TLS examples like
https_request or https_ota as well.
Footprint of https_request example with/without change is per below:
$ ./tools/idf_size.py new_https_request.map --diff old_https_request.map
<CURRENT> MAP file: new_https_request.map
<REFERENCE> MAP file: old_https_request.map
Difference is counted as <CURRENT> - <REFERENCE>, i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>: <REFERENCE> Difference
DRAM .data size: 14796 bytes 14796
DRAM .bss size: 23560 bytes 23680 -120
Used static DRAM: 38356 bytes ( 142380 available, 21.2% used) 38476 -120 ( +120 available, +0 total)
Used static IRAM: 89045 bytes ( 42027 available, 67.9% used) 89045 ( +0 available, +0 total)
Flash code: 554231 bytes 563823 -9592
Flash rodata: 179000 bytes 181224 -2224
Total image size:~ 860632 bytes (.bin may be padded larger) 872568 -11936
This commit moves relevant config options to CoAP specific examples
and also adds some run time warnings if they are kept disabled.
Closes https://github.com/espressif/esp-idf/issues/5262
2020-05-19 17:23:29 +05:30
kapil.gupta
fb53a454b9
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-05-19 16:55:42 +05:30
Jiang Jiang Jian
56c307b356
Merge branch 'mesh/set_type_new' into 'master'
...
mesh: support set new type (node and sta)
Closes WIFI-1824, WIFI-1725, WIFI-1823, and WIFI-1908
See merge request espressif/esp-idf!7934
2020-05-19 16:53:49 +08:00
Ivan Grokhotkov
948580d1a2
Merge branch 'gdb/bt_on_invalid_pc' into 'master'
...
gdb: Modify PC in case of invalid PC
See merge request espressif/esp-idf!8391
2020-05-19 16:44:07 +08:00
David Cermak
95b5ef3687
esp-netif: wifi-deinit to clear handlers only in tcpip-adapter mode
2020-05-19 08:34:36 +00:00
David Cermak
1183b95cc4
esp-netif: Fix compilation if ESP_GRATUITOUS_ARP not enabled
...
Closes https://github.com/espressif/esp-idf/issues/5294
2020-05-19 08:34:36 +00:00
kapil.gupta
76335b2558
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-05-19 08:05:52 +00:00
Nachiket Kukade
c643d0a611
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-05-19 08:05:52 +00:00
Angus Gratton
183dddd50e
Merge branch 'bugfix/wdt_reset_info_unicore' into 'master'
...
bootloader: Don't print an error message after WDT reset in unicore mode
See merge request espressif/esp-idf!8570
2020-05-19 15:54:06 +08:00
Michael (XIAO Xufeng)
fd3e28ef0d
Merge branch 'bugfix/esp_flash_write_performance_regression' into 'master'
...
esp_flash: fix the write performance regression
See merge request espressif/esp-idf!8658
2020-05-19 12:06:42 +08:00
houwenxiang
0bf2906bc9
driver(RMT): Fix the breaking change issue of RMT driver introduced by refactoring.
...
After RMT driver refactor, two breaking change are introduced:
1. Users needs to call `rmt_driver_install` before `rmt_config`.
2. Do not support memory block count > 1,
fix this two issues
closes https://github.com/espressif/esp-idf/issues/4664
closes https://github.com/espressif/esp-idf/issues/4959
2020-05-19 11:39:38 +08:00
Angus Gratton
3e7ba2f389
bootloader: Don't print an error message after WDT reset in unicore mode
...
Caused some confusion here: https://github.com/espressif/esp-idf/issues/4388
2020-05-19 03:35:53 +00:00
Angus Gratton
4fa8f7d01b
Merge branch 'bugfix/parttool_get_info_wo_info_option' into 'master'
...
partition_table: Fix parttool.py crashes when retrieving partition info
Closes IDFGH-3279
See merge request espressif/esp-idf!8715
2020-05-19 11:30:20 +08:00
chenyudong
040f4be2a7
mesh: support set new type
...
If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router
Release emesh_recv_toDS when the root becomes non-root
esp_mesh_set_type now supports MESH_IDLE and MESH_STA
2020-05-19 11:17:56 +08:00
Jiang Jiang Jian
37f4e3855f
Merge branch 'bugfix/fix_sta_connect_compatibility' into 'master'
...
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
Closes WIFI-2110 and WIFI-1809
See merge request espressif/esp-idf!8382
2020-05-18 22:26:52 +08:00
houwenxiang
b35d9002f3
driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
...
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.
For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.
closes https://github.com/espressif/esp-idf/issues/5065
closes https://github.com/espressif/esp-idf/issues/4957
closes https://github.com/espressif/esp-idf/issues/2978
closes https://github.com/espressif/esp-idf/issues/5136
Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
David Cermak
8a45f074fc
esp-netif: Added API to get the underlying interface name
...
The interface name can be used in socket API, i.e. setsockopt(). The API esp_netif_get_netif_impl_name() shoudl be used to populate standard
interface structure struct ifreq.
2020-05-18 09:26:24 +02:00
David Cermak
06711c7c36
examples: common connect component to use both interfaces at once
2020-05-18 09:26:24 +02:00
xiehang
158602c942
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
2020-05-18 14:53:31 +08:00
weitianhua
8fc05d0665
Fix ASSERT for RXDESC and save the log for debug
2020-05-18 06:51:51 +00:00
weitianhua
8d1032ccac
Fix ASSERT in ld_acl at line 302 forclkoff1 and localval
2020-05-18 06:51:51 +00:00
weitianhua
77cc105c72
Fix ld_acl schedule bug to parity shift
2020-05-18 06:51:51 +00:00
weitianhua
55877684a0
Fix ASSERT(64,0) in rwble.c
2020-05-18 06:51:51 +00:00
weitianhua
0811851378
Fix ASSERT in ld_pscan.c at line 1032
2020-05-18 06:51:51 +00:00
weitianhua
b20f254483
Free lmp tx buf in EM in the procedure of handling LMP_detach_Req when not received the last acknowledge from peer device and seperate them by ACL State
2020-05-18 06:51:51 +00:00
weitianhua
190ff3ae37
Fix that when slave initiate unsniff procedure and meet transaction collision, no mode change event is repoerted
2020-05-18 06:51:51 +00:00
weitianhua
70fa5b4ac5
Fix int_wdt due to disable interrupt too long time
2020-05-18 06:51:51 +00:00
weitianhua
c18ed5cbee
Fix Connection fail in loop
2020-05-18 06:51:51 +00:00
weitianhua
7aeb3d329a
Set AFH in BTDM Task when WiFi changes channel
2020-05-18 06:51:51 +00:00
weitianhua
e0e1154b62
Fix ASSERT(25,0) in lc_task.c
2020-05-18 06:51:51 +00:00
weitianhua
899e49b90e
Disable frequent warning log in ld_acl
2020-05-18 06:51:51 +00:00
weitianhua
b45f2d3913
Move default log level to WARNING instead ERROR in BT Controller
2020-05-18 06:51:51 +00:00
Mahavir Jain
be3b6b7cb8
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
See merge request espressif/esp-idf!8313
2020-05-18 13:55:05 +08:00
Michael (XIAO Xufeng)
3f778a92da
spi_flash: add unit test for read/write performance
2020-05-17 22:06:03 +08:00
Michael (XIAO Xufeng)
651eb1a694
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-05-17 22:06:02 +08:00
Michael (XIAO Xufeng)
f67044c822
spi: simplify the caps header
...
The mapping logic from register address to instance number is moved into the LL
2020-05-17 22:06:01 +08:00
Michael (XIAO Xufeng)
dae3196157
esp_flash: fix issue that cannot add flash on SPI1 CS1 when SPI_FLASH_SHARE_SPI1_BUS is disabled
2020-05-17 22:06:00 +08:00
Jiang Jiang Jian
bb2379b7ab
Merge branch 'bugfix/wpa3_mixed_mode_authype' into 'master'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype
See merge request espressif/esp-idf!8778
2020-05-17 17:04:18 +08:00
Jiang Jiang Jian
bef57a8ddc
Merge branch 'bugfix/V3.1.7_ble_bug_mr' into 'master'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash
See merge request espressif/esp-idf!8729
2020-05-16 19:52:34 +08:00
Island
52e9bcb696
Merge branch 'bugfix/ble_mesh_remove_patch' into 'master'
...
ble_mesh: Remove patch for the bug of an App
Closes BLEMESH-202
See merge request espressif/esp-idf!8737
2020-05-15 20:17:22 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Mahavir Jain
5b5a8c276d
Merge branch 'feature/mbedtls_add_config_options' into 'master'
...
Add config options in mbedtls
See merge request espressif/esp-idf!8760
2020-05-15 15:53:21 +08:00
zhiweijian
ec6c7558ef
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 15:35:39 +08:00
Angus Gratton
62754ff90a
Merge branch 'docs/fix_static_sem_api_desc' into 'master'
...
Fix usage example in xSemaphoreCreateBinaryStatic
Closes IDFGH-3280
See merge request espressif/esp-idf!8750
2020-05-15 15:04:36 +08:00
Shubham Kulkarni
ca3daa50de
mbedtls: Add configuration options
2020-05-15 11:27:44 +05:30
Jiang Jiang Jian
26ab1c54ec
Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
...
esp_wifi: When WiFi TSF is active, skip light sleep
Closes WIFI-2305 and WIFI-2306
See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00
David Čermák
5e436be77f
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user' into 'master'
...
ethernet: esp_eth_stop API should stop emac hardware
Closes WIFI-2247 and WIFI-2337
See merge request espressif/esp-idf!8664
2020-05-15 04:40:55 +08:00
Mahavir Jain
0d208aabab
mbedtls: esp32s2: check and reallocate output buffer if its from non-DMA range
...
Earlier check was for only input buffer but it is quite likely to have
output buffer also from non-DMA memory range and hence requirement to
reallocate and then copy data from AES engine.
2020-05-14 13:12:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Mahavir Jain
1aac284dda
heap: add rtc fast memory region to dynamic pool
...
- for ESP32 only enabled in case of unicore config
- capability wise this region (8K) is same as DRAM, except non-DMA capable
- also fixed small issue in reserved memory region processing when (start == end)
2020-05-14 13:12:26 +00:00
Dong Heng
3d57bf30a2
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
2020-05-14 11:45:09 +00:00
Dmytro
ecbfe0f406
Fix usage example in xSemaphoreCreateBinaryStatic
2020-05-14 18:57:48 +08:00
Krzysztof
9b5acea160
Add missing link to ulp header files and link to example following https://esp32.com/viewtopic.php?f=2&t=15562
2020-05-14 17:31:05 +08:00
Michael (XIAO Xufeng)
437a8fa9d2
Merge branch 'test/sdio_ut_performance_time' into 'master'
...
sdio: fix random unit test performance failure
See merge request espressif/esp-idf!8665
2020-05-14 16:19:45 +08:00
Jiang Jiang Jian
a0288c1e8d
Merge branch 'bugfix/wpa3_pmf_memleak_fix' into 'master'
...
WPA3 / PMF memory leak fixes
Closes WIFI-2324 and WIFI-2326
See merge request espressif/esp-idf!8676
2020-05-14 14:21:21 +08:00
Angus Gratton
8928cbb593
Merge branch 'bugfix/add_requirements_for_espefuse' into 'master'
...
esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt
See merge request espressif/esp-idf!8641
2020-05-14 12:37:22 +08:00
Michael (XIAO Xufeng)
94ce4836ae
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep' into 'master'
...
driver(gpio): fix gpio can't wakeup light sleep
Closes IDF-1361
See merge request espressif/esp-idf!8522
2020-05-14 11:45:40 +08:00
KonstantinKondrashov
86a73de9b3
esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt
...
They are necessary for espefuse.py from esptool v3.0.
2020-05-14 13:29:21 +10:00
lly
25a6ea9600
ble_mesh: Remove patch for the bug of an App
2020-05-14 10:24:15 +08:00
Angus Gratton
6ccd7dbc59
Merge branch 'nimble/config_option_sdkconfig_rename' into 'master'
...
Add NimBLE config options in sdkconfig.rename
Closes IDF-1650
See merge request espressif/esp-idf!8653
2020-05-14 09:30:16 +08:00
Nachiket Kukade
b302b4bb43
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free this
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 22:54:03 +05:30
Nachiket Kukade
f36455052d
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-13 22:54:03 +05:30
Jiang Jiang Jian
1d5ef75c7d
Merge branch 'bugfix/espnow_fetch_peer_crash' into 'master'
...
wifi: fix the crash issue when fetch peer after delete cur_peer
Closes WIFI-2307
See merge request espressif/esp-idf!8626
2020-05-13 23:21:21 +08:00
aleks
3bbdfb75ad
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2020-05-13 15:59:36 +02:00
wangcheng
418b32e71b
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-13 20:33:24 +08:00
wangcheng
a5ac789725
fix bta_dm_deinit_cb crash
2020-05-13 20:18:27 +08:00
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
Wang Jia Lin
cf32e4fc22
Merge branch 'bugfix/fix_adc_io_init_bug' into 'master'
...
driver(adc): fix adc io init bug
Closes IDF-1541
See merge request espressif/esp-idf!8301
2020-05-13 16:35:58 +08:00
KonstantinKondrashov
e3ea943088
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-05-13 16:10:48 +08:00
morris
d8a9ce14d7
ethernet: fix potential task watch dog timeout
2020-05-13 16:03:00 +08:00
morris
4454b198bb
ethernet: better control start/stop/uninstall/install
2020-05-13 15:58:42 +08:00
morris
6020d6a5d4
ethernet: esp_eth_stop API should stop emac hardware
2020-05-13 15:58:42 +08:00
David Cermak
f13f8927b1
esp-timer: fix (ignore) false positive memory alloc/free issue found by static analyser
2020-05-13 07:30:26 +02:00
David Cermak
6a47dc9275
esp-netif: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
David Cermak
49e8c09ec2
local-ctrl: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
David Cermak
917192725a
http-client: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
Ivan Grokhotkov
695f075a13
Merge branch 'bugfix/core_dump_data_struct_ovf' into 'master'
...
Fixes core dump data overwriting
See merge request espressif/esp-idf!8611
2020-05-13 04:03:29 +08:00
zhangyanjiao
4dc7a36eca
wifi: fix the crash issue when fetch peer after delete cur_peer
2020-05-12 21:05:50 +08:00
Island
c946ca8b45
Merge branch 'bugfix/ble_mesh_node_old_version_to_new' into 'master'
...
ble_mesh: Fix mesh node device role restore
Closes BLEMESH-188
See merge request espressif/esp-idf!8314
2020-05-12 20:36:55 +08:00
Island
1d22f17da3
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov' into 'master'
...
ble_mesh: Not ignore msg when fast prov is enabled
Closes BLEMESH-196
See merge request espressif/esp-idf!8698
2020-05-12 20:36:41 +08:00
Island
b0a096495a
Merge branch 'bugfix/ble_mesh_fix_typos' into 'master'
...
ble_mesh: Fix typos
Closes BLEMESH-199
See merge request espressif/esp-idf!8703
2020-05-12 20:36:30 +08:00
Jiang Jiang Jian
84a410dc4c
Merge branch 'bugfix/fix_switch_channel_without_discon_issue' into 'master'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect
Closes WIFI-2192 and WIFI-2277
See merge request espressif/esp-idf!8657
2020-05-12 20:21:12 +08:00
lly
f7ef701856
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-12 19:25:57 +08:00
lly
6b9c0dda08
ble_mesh: Fix typos
2020-05-12 16:23:13 +08:00
fuzhibo
d91e64cea4
driver(gpio): fix gpio can't wakeup light sleep
2020-05-12 07:15:13 +00:00
fuzhibo
8256b5f32b
driver(adc): fix adc io init bug; add unit test to check;
2020-05-12 06:52:26 +00:00
Mahavir Jain
bd920d22b0
Merge branch 'bugfix/softap_prov_session' into 'master'
...
protocomm_httpd: Restart security session if request is received on a new session
See merge request espressif/esp-idf!8633
2020-05-12 13:16:20 +08:00
Michael (XIAO Xufeng)
f10a721d88
sdio: fix the unit of performance test
2020-05-12 12:25:46 +08:00
Michael (XIAO Xufeng)
69d9e0eadc
sdio: fix random unit test performance failure
...
The tests used to measure the throughput by FreeRTOS
`xTaskGetTickCount()`. The rounding error can be quite big, compared to
total measurement time (1350 ms for 4-bit mode).
This commit use `esp_timer_get_time()` instead to measure typical time,
which is in microseconds. Moreover, to get rid of the time error from
cache miss, `ccomp_timer_*` are used to get the cache compensated time
to measure the throughput used for unit test performance assertion.
2020-05-12 12:25:45 +08:00
lly
d937b415e3
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-12 11:22:07 +08:00
Jiang Jiang Jian
5f2be35525
Merge branch 'bugfix/supplicant_general_fixes' into 'master'
...
wpa_supplicant: Fix some memleaks and invalid memory access
Closes IDF-1335
See merge request espressif/esp-idf!8201
2020-05-12 11:03:14 +08:00
Piyush Shah
05852bc4aa
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-05-11 13:01:13 +00:00
Mahavir Jain
012b111d6d
Merge branch 'feature/mbedtls_hkdf' into 'master'
...
mbedtls_hkdf: Add a config option to enable HKDF
See merge request espressif/esp-idf!8680
2020-05-11 15:29:54 +08:00
Piyush Shah
43b3def711
mbedtls_hkdf: Add a config option to enable HKDF
2020-05-11 11:49:14 +05:30
Prasad Alatkar
2ef489005b
NimBLE: Include upstream fixes and use macros for log level filtering
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-11 05:36:50 +00:00
Marius Vikhammer
27fa1dc0dd
doc: add peripheral_types.h as API reference for peripheral docs
...
Closes DOC-136
Closes IDF-1673
2020-05-11 11:20:39 +08:00
lly
c2fd80b8f4
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-11 02:29:18 +00:00
lly
97f11600e3
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-11 02:29:18 +00:00
lly
9d7adc3e1b
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-11 02:29:18 +00:00
lly
5e59233cc0
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-11 02:29:18 +00:00
lly
9e5fec73f8
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-11 02:29:18 +00:00
lly
d7a671ab7a
ble_mesh: Optimize some mesh log output
2020-05-11 02:29:18 +00:00
lly
52493a1644
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-11 02:29:18 +00:00
lly
8ea6714a96
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-11 02:29:18 +00:00
lly
52a30c8f4a
ble_mesh: Split mesh os related into a separate file
2020-05-11 02:29:18 +00:00
lly
01a8a6c150
ble_mesh: Split mesh mutex into a separate file
2020-05-11 02:29:18 +00:00
lly
c493be489f
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-11 02:29:18 +00:00
lly
25dfee4bdd
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-11 02:29:18 +00:00
lly
df525bf0b3
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-11 02:29:18 +00:00
lly
cd58874a9b
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-11 02:29:18 +00:00
lly
ef8206cdc6
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-11 02:29:18 +00:00
lly
fd9a16805a
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-11 02:29:18 +00:00
lly
4d1d5261cc
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-11 02:29:18 +00:00
lly
da99734ba8
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-11 02:29:18 +00:00
lly
4fd1b2db0e
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-11 02:29:18 +00:00
lly
fb84166cbd
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-11 02:29:18 +00:00
lly
ee1eb994b7
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-11 02:29:18 +00:00
lly
b186be52f0
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-11 02:29:18 +00:00
lly
23c8bbcbf5
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-11 02:29:18 +00:00
lly
4e1d3974fb
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-11 02:29:18 +00:00
lly
26dbfdcb9d
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-11 02:29:18 +00:00
lly
95440c4d28
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-11 02:29:18 +00:00
lly
1f47cfff7f
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-11 02:29:18 +00:00
lly
31b175e372
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-11 02:29:18 +00:00
lly
e385197c27
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-11 02:29:18 +00:00
lly
cc549897d5
ble_mesh: Check device uuid when init provisioning
2020-05-11 02:29:18 +00:00
lly
ca3d1637ca
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-11 02:29:18 +00:00
lly
6c868a070b
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-11 02:29:18 +00:00
lly
aad8908d9c
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-11 02:29:18 +00:00
Michael (XIAO Xufeng)
f7ec57b615
Merge branch 'feature/usb_wrap_headers' into 'master'
...
usb: add usb_wrap headers, move some code from LL to HAL
See merge request espressif/esp-idf!8395
2020-05-10 19:19:14 +08:00
David Čermák
e86f530e42
Merge branch 'bugfix/mdns_config_stacksize' into 'master'
...
mdns: Allow config mDNS task stack size (GitHub PR)
Closes IDFGH-3219
See merge request espressif/esp-idf!8635
2020-05-09 19:49:15 +08:00
xiehang
0c7cac6ee3
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-09 17:26:51 +08:00
Jiang Jiang Jian
27d0ca52b2
Merge branch 'bugfix/fix_memleak_in_wpa3_feature' into 'master'
...
fix(wpa_supplicant): fix memleak in wpa3 feature
See merge request espressif/esp-idf!8643
2020-05-08 22:34:01 +08:00
Mahavir Jain
5425ef85ce
Merge branch 'bugfix/pthread_tcb_cleanup_wrapper' into 'master'
...
Fix linking for vPortCleanUpTCB wrapper
See merge request espressif/esp-idf!8652
2020-05-08 21:31:35 +08:00
Sachin Parekh
c0a33487b1
gdbstub_xtensa.c: Replace with cpu_ll_pc_to_ptr macro
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2020-05-08 18:35:48 +05:30
Sachin Parekh
46d914ff45
gdb: Modify PC in case of invalid PC
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2020-05-08 18:34:52 +05:30
Krzysztof Budzynski
fc4a5609ac
Merge branch 'bugfix/docs_esp_https_ota' into 'master'
...
Resolve documentation issue reported by boarchuz in...
See merge request espressif/esp-idf!8648
2020-05-08 16:30:42 +08:00
Hrishikesh Dhayagude
f67902a5dd
Add NimBLE config options in sdkconfig.rename
2020-05-08 12:04:46 +05:30
Shubham Kulkarni
4a83b488a8
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
2020-05-08 11:55:23 +05:30
Michael (XIAO Xufeng)
178c7c2e82
Merge branch 'bugfix/spi_lock_suppress_alter_log' into 'master'
...
spi: suppress spi_bus_lock_touch log level
Closes IDFGH-3030
See merge request espressif/esp-idf!8634
2020-05-08 11:26:11 +08:00
Alexey Gerenkov
16726e9980
gcov: Fixes APP CPU syscall table
2020-05-08 03:13:18 +03:00
Krzysztof
f1c7b0ba6f
Resolve documentation issue reported by boarchuz in https://esp32.com/viewtopic.php?f=5&t=14148#p59419
2020-05-07 22:00:27 +02:00
Axel Lin
cf7e48c779
mdns: Allow config mDNS task stack size
...
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/5216
2020-05-07 21:49:02 +02:00
David Čermák
3a2f059f11
Merge branch 'bugfix/pppos_connect_dhcpc_failed' into 'master'
...
esp_netif: fix default connect handler to check dhcpc return value
Closes IDFGH-3173
See merge request espressif/esp-idf!8581
2020-05-08 03:25:09 +08:00
David Cermak
65b993234d
esp_hid: fix memory leak if getting dev reports fails
2020-05-07 12:56:54 +00:00
Mahavir Jain
d7fb9d54ba
Merge branch 'feature/get_url' into 'master'
...
Add API to get URL from HTTP client
Closes IDFGH-3094
See merge request espressif/esp-idf!8637
2020-05-07 17:57:16 +08:00
Zhang Jun Hao
e9b3feb85d
fix(wpa_supplicant): fix memleak in wpa3 feature
2020-05-07 17:28:07 +08:00
Shubham Kulkarni
890f541edf
esp_http_client: Add API to get URL from client
...
Closes: https://github.com/espressif/esp-idf/issues/5115
2020-05-07 14:20:28 +05:30
Angus Gratton
b2fe7f681e
Merge branch 'bugfix/esp32_eco3_init_syscall_table' into 'master'
...
newlib: initialize syscall_table_ptr_app in single core mode
Closes IDFGH-3254
See merge request espressif/esp-idf!8596
2020-05-07 15:17:13 +08:00
Mahavir Jain
a2263571b5
Merge branch 'feature/mbedtls_chacha_poly' into 'master'
...
mbedtls: Add config options for chacha20, poly1305 and chachapoly
See merge request espressif/esp-idf!8605
2020-05-07 03:44:23 +08:00
Alexey Gerenkov
c91ed2b917
coredump: Increases FreeRTOS ISR stack for ELF data format
2020-05-06 20:07:30 +03:00
Michael (XIAO Xufeng)
e04bb43b9f
spi: suppress spi_bus_lock_touch log level
...
The log in the spi_bus_lock_touch may be annoying. This commit suppress
the log level, and make the log visible only when the device altered.
Resolves https://github.com/espressif/esp-idf/issues/5056
2020-05-07 00:32:24 +08:00
David Čermák
a064e0c4de
Merge branch 'bugfix/tcp_connect_tout' into 'master'
...
tcp_transport: Implement connect timeout
Closes IDFGH-2971, IDFGH-2810, and IDFGH-1541
See merge request espressif/esp-idf!8428
2020-05-06 20:07:05 +08:00
Alexey Gerenkov
ef1b3330c2
coredump: Fixes coredump data overwriting due to 'TaskSnapshot_t' and 'core_dump_task_header_t' difference
2020-05-06 15:04:58 +03:00
kapil.gupta
3b5fcbe06f
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-06 10:31:59 +00:00
Ivan Grokhotkov
d5195d19ae
Merge branch 'feature/endian_h_compat_header' into 'master'
...
newlib: add endian.h header file for compatibility (Github PR)
See merge request espressif/esp-idf!8236
2020-05-06 16:54:41 +08:00
Jiang Jiang Jian
09d4767947
Merge branch 'mesh/power_save_function' into 'master'
...
mesh/ps: add duty control and support only transmit/receive on active duty
See merge request espressif/esp-idf!8152
2020-05-06 15:53:49 +08:00
David Cermak
c2053a8e65
esp_netif: fix default connect handler to check dhcpc return value
...
Closes https://github.com/espressif/esp-idf/issues/5184
2020-05-06 07:26:50 +02:00
Ivan Grokhotkov
a97cd645ad
Merge branch 'bugfix/linenoise_stack_alloc' into 'master'
...
console: linenoise: move allocations from stack to heap, fix calloc result checking (Github PR)
Merges https://github.com/espressif/esp-idf/pull/5161
Closes IDFGH-3144
See merge request espressif/esp-idf!8612
2020-05-06 13:21:56 +08:00
Ivan Grokhotkov
30a6a8f932
Update linenoise.c: calloc returning NULL is not handled
...
Calloc function tries to allocate 4096 bytes.
If such memory is not available, it returns NULL pointer.
This exception was not handled in the code, causing a dirty crash.
2020-05-06 13:21:56 +08:00
Jiang Jiang Jian
62c36a0372
Merge branch 'feature/enable_wpa3_pmf_by_default' into 'master'
...
esp_wifi: Enable WPA3 & PMF by default
See merge request espressif/esp-idf!8600
2020-05-06 10:53:13 +08:00
Piyush Shah
62e1d6712b
mbedtls: Add config options for chacha20, poly1305 and chachapoly
2020-05-05 16:41:31 +00:00
David Cermak
a8e370eced
tcp_transport: unit test for tcp connection timeout
2020-05-05 15:53:09 +02:00
David Cermak
6182e6f303
tcp_transport: close to return error only for socket error or invalid args
...
Closes https://github.com/espressif/esp-idf/issues/4872
2020-05-05 15:53:09 +02:00
boarchuz
0c7204e934
tcp_transport: Implement connect timeout
...
Merges https://github.com/espressif/esp-idf/pull/3791
Closes https://github.com/espressif/esp-idf/issues/5004
2020-05-05 15:53:09 +02:00
chenyudong
bdb6565757
mesh/ci: fix MESH_EST_0216
2020-05-05 18:07:31 +08:00
qiyuexia
4522ef8798
mesh: add duty cycle control and support only transmit/receive in actve duty cycle
2020-05-05 18:06:47 +08:00
Ivan Grokhotkov
d73470a8a6
Merge branch 'bugfix/loadable_elf_fixes' into 'master'
...
cmake: loadable elf fixes
See merge request espressif/esp-idf!8603
2020-05-05 17:02:48 +08:00
David Čermák
35386ba24c
Merge branch 'bugfix/ppp_netif_up_after_new' into 'master'
...
esp-netif: ppp netif to use netif_is_link_up() to update interface state
Closes IDFGH-3044
See merge request espressif/esp-idf!8423
2020-05-05 16:37:47 +08:00
Ivan Grokhotkov
b0f448a972
Merge branch 'feature/console_no_empty_lines' into 'master'
...
console: allow not returning empty lines (Github PR)
Closes IDFGH-2869
See merge request espressif/esp-idf!8232
2020-05-05 16:12:50 +08:00
Angus Gratton
a0a7051af3
Merge branch 'bugfix/panic_fixes' into 'master'
...
panic handling fixes
See merge request espressif/esp-idf!8597
2020-05-05 12:16:09 +08:00
Angus Gratton
cecf4622bc
Merge branch 'bugfix/secure_boot_v2_fixes' into 'master'
...
Small secure boot v2 fixes
See merge request espressif/esp-idf!8462
2020-05-05 11:13:30 +08:00
Ivan Grokhotkov
b09ed2d2aa
esptool: fix malformed json when no files are flashed
2020-05-04 19:11:26 +02:00
Ivan Grokhotkov
dafd50934d
esptool: don't generate flashing metadata in loadable elf build
2020-05-04 19:11:00 +02:00
Felipe Neves
6f5e43e26a
heap: added alloc failed hook and configuration options
...
heap/test: added alloc failed hook tests
docs: added alloc failed hook documentation
heap: add function to register allocation failed hook
docs: allocation failed hook docs improvements
2020-05-04 10:58:38 -03:00
Ivan Grokhotkov
aac3e56a9a
newlib: initialize syscall_table_ptr_app in single core mode
...
ESP32 ECO3 ROM uses syscall_table_ptr_app on both CPUs, so the pointer
needs to be set if running in single core mode.
2020-05-04 10:55:34 +00:00
Nachiket Kukade
107cf56e20
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
Ivan Grokhotkov
66889a7a58
esp32s2: return correct CPU number in esp_cache_err_get_cpuid
2020-05-04 10:13:14 +00:00
Ivan Grokhotkov
c5f664d4ac
esp_system: remove duplicated esp_digital_reset function
...
esp_digital_reset was defined both in system_api.c and panic_handler.c
2020-05-04 10:13:14 +00:00
Ivan Grokhotkov
8bdfb265a4
panic handler: fix cache error handling
2020-05-04 10:13:14 +00:00
Ivan Grokhotkov
0a389b1764
esp_system: restore weak esp_reset_reason functions
2020-05-04 10:13:14 +00:00
Shubham Kulkarni
34d41645d3
touch_sensor.c: Fix datatype of argument for timer callback function
2020-05-04 13:26:58 +05:30
Shubham Kulkarni
f2cdebd906
esp_wps.c: Fix datatype for wps task handle
2020-05-04 13:26:58 +05:30
Ivan Grokhotkov
17d60faf17
Merge branch 'bugfix/ci_missed_deprecated_options' into 'master'
...
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
See merge request espressif/esp-idf!8585
2020-05-04 15:55:24 +08:00
Angus Gratton
d013105256
Merge branch 'feature/twdt_prints_backtrace' into 'master'
...
Add Task Watchdog backtrace printing
Closes IDF-1072
See merge request espressif/esp-idf!8136
2020-05-04 14:58:53 +08:00
Angus Gratton
bf23e66f2b
Merge branch 'bugfix/flash_enc_rom_basic' into 'master'
...
flash encryption: Fix unncessary efuse burn, remove ROM BASIC efuse on S2
See merge request espressif/esp-idf!8587
2020-05-04 14:56:27 +08:00
Ivan Grokhotkov
dfbf8ce518
Merge branch 'bugfix/display_partition_table' into 'master'
...
partition_table: do not always display partition table contents on build
See merge request espressif/esp-idf!8289
2020-05-04 14:51:32 +08:00
David Cermak
acdadebfff
esp-netif: ppp netif to use netif_is_link_up() to update interface state
...
Closes https://github.com/espressif/esp-idf/issues/5069
2020-05-04 06:46:35 +00:00
David Čermák
2e06e9c15b
Merge branch 'feature/dhcps_config_mask' into 'master'
...
dhcp sever: Make option netmask configurable
Closes IDFGH-2955
See merge request espressif/esp-idf!8238
2020-05-04 14:22:55 +08:00
David Čermák
6f4ea99f83
Merge branch 'bugfix/mqtt_ref_update' into 'master'
...
mqtt: cleanup logs and docs
Closes IDFGH-3052
See merge request espressif/esp-idf!8547
2020-05-04 13:41:08 +08:00
Angus Gratton
b2417819fd
Merge branch 'bugfix/erase_with_vtaskdelay' into 'master'
...
spi_flash: Add vTaskDelay while a long erasing
Closes IDF-1561 and IDFGH-261
See merge request espressif/esp-idf!8211
2020-05-04 08:46:08 +08:00
Angus Gratton
158ab5a9b9
Remove "disable ROM BASIC boot mode" from ESP32-S2
...
Feature removed from ESP32-S2 ROM (was present in S2 Beta ROM)
2020-05-01 16:16:47 +10:00
Angus Gratton
d4d4d7324a
efuse: Don't need to burn WR_CRYPT_CNT if CRYPT_CNT is already max
...
Reduces write cycles, and useful on ESP32 ECO3 as UART_DIS_DL is protected by
the same efuse.
Also fixes accidental macro definition introduced in 7635dce502
2020-05-01 16:16:47 +10:00
Roland Dobai
58bbd99b9c
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
2020-04-30 18:23:21 +02:00
David Cermak
78ea8a9ed5
mqtt: clenaup logs and docs
...
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
Closes https://github.com/espressif/esp-idf/issues/5077
(by means of referencing commit 615aeae0c2
)
2020-04-30 14:05:36 +00:00
David Cermak
2fce539d1e
esp-netif: use dhcp server netmask
...
Use the configured esp-netif netmask to update the dhcp struct when
starting the server or starting the netif itself.
Use the netmask in dhcps setters and getters.
2020-04-30 14:04:22 +00:00
David Cermak
fa57bdbdbe
dhcpserver: make subnet mask configurable
...
Closes https://github.com/espressif/esp-idf/issues/4988
2020-04-30 14:04:22 +00:00
Island
2ad2d0a701
Merge branch 'bugfix/ble_mesh_node_reset_erase' into 'master'
...
ble_mesh: Fix node not erase info completely
Closes BLEMESH-195
See merge request espressif/esp-idf!8561
2020-04-30 16:39:57 +08:00
Jiang Jiang Jian
4eec0ea4bb
Merge branch 'bugfix/optimization_API_esp_wifi_deauth_sta' into 'master'
...
bugfix: optimization API esp_wifi_deauth_sta
Closes WIFI-1699
See merge request espressif/esp-idf!8363
2020-04-30 16:20:32 +08:00
lly
eaeb465767
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-04-30 06:42:54 +00:00
Angus Gratton
d041512022
Merge branch 'feature/mesh_ip_network_example' into 'master'
...
ESP-MESH: IP internal network example
See merge request espressif/esp-idf!7724
2020-04-30 14:33:16 +08:00
KonstantinKondrashov
bc50bd2806
spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-04-30 13:58:13 +08:00
KonstantinKondrashov
304f67e42a
spi_flash(LEGACY_IMPL): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-04-30 13:58:13 +08:00
KonstantinKondrashov
0f6fe0c8e9
spi_flash: Add into sim/stubs the esp_timer
2020-04-30 13:58:13 +08:00
KonstantinKondrashov
ae89f98d59
spi_flash(new driver): Add vTaskDelay while a long erasing
2020-04-30 13:58:13 +08:00
KonstantinKondrashov
3cb655eaab
spi_flash(LEGACY_IMPL): Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: https://github.com/espressif/esp-idf/issues/4916
Closes: IDFGH-261
2020-04-30 13:58:13 +08:00
Angus Gratton
fdd6bfe3c4
Merge branch 'bugfix/sleep_comments' into 'master'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
See merge request espressif/esp-idf!8351
2020-04-30 13:36:58 +08:00
Francesco Giancane
1173ce32f6
endian.h: define non-standard symbols for endian handling
...
BSDs and Unices defined some non standardised functions and symbols used
for endianness handling: converting from Little Endian to Big Endian,
converting from Host to a specific representation, converting from a
specific representation to Host.
With this commit, a modified version of those symbols provided by
FreeBSD is imported.
The license of the imported code is still 2-Clause BSD.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Closes https://github.com/espressif/esp-idf/pull/4784
2020-04-29 23:47:51 +02:00
Francesco Giancane
6f8ce38f99
Introduce <endian.h> compatibility header
...
Programs and libraries using compiler and system information about
endianness often include the system header `<endian.h>`.
In `xtensa-gcc` compiler with `newlib` distribution, that file is located in
`<machine/endian.h>`; this means that `#include <endian.h>` would fail
at compile time.
This commit fixes the issue by adding a compatibility `<endian.h>`
header which in turn just includes `<machine/endian.h>`.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4784
2020-04-29 23:47:51 +02:00
Ivan Grokhotkov
ece41b04e3
console: make empty line behavior run-time configurable
2020-04-29 23:44:46 +02:00
Michael 'ASAP' Weinrich
c34352549a
Added Kconfig for enabling 0 length returns from linenoise
2020-04-29 23:44:46 +02:00
MadnessASAP
dfd4227e7a
Don't return NULL on 0 length input
...
A 0 length string is still a valid input and should be treated as such, a NULL return should be reserved for when errors occur during line editing or EOF is reached.
Merges https://github.com/espressif/esp-idf/pull/4926
2020-04-29 23:44:46 +02:00
Island
18950d5780
Merge branch 'bugfix/ble_mesh_provisioner_check_key' into 'master'
...
ble_mesh: Check if appkey exist before deleting it
See merge request espressif/esp-idf!8332
2020-04-29 21:12:14 +08:00
Jiang Jiang Jian
922a0fa485
Merge branch 'feature/esp-hid-component' into 'master'
...
ESP-HID Component
See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Ivan Grokhotkov
d311144a00
soc/usb: use new headers in LL, move some code out of LL
...
* Keep only USB related register operations in the LL.
* Move pad-related logic into the driver.
* Driver is now responsible for enabling the peripheral.
2020-04-29 10:04:13 +02:00
Ivan Grokhotkov
897e69cc9d
soc, esp32s2: add usb_wrap peripheral
2020-04-29 10:04:13 +02:00
ronghulin
3c8ed7b8c9
bugfix: optimization API esp_wifi_deauth_sta
2020-04-29 14:31:16 +08:00
David Čermák
570bc3dbbc
Merge branch 'bugfix/mdns_remove_mbedtls_dep' into 'master'
...
mdns: Remove mbedtls dependency
Closes IDFGH-3177
See merge request espressif/esp-idf!8538
2020-04-29 13:47:47 +08:00
Angus Gratton
c41a0c1907
Merge branch 'feature/gdb_stub_task_state' into 'master'
...
feature/gdb_stub: make task state available on info thread command when in gdb stub.
Closes IDF-720
See merge request espressif/esp-idf!8371
2020-04-29 13:21:31 +08:00
Angus Gratton
5c1d317766
Merge branch 'bugfix/scheduling_time_test_overflow' into 'master'
...
bugfix/freertos: Fix accumulator overflow on scheduling time test
See merge request espressif/esp-idf!8261
2020-04-29 13:18:44 +08:00
zhangyanjiao
b96652c257
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. query country code wrong when policy change from manual to auto
3. change wifi_scan_time_t from union to struct
2020-04-28 20:02:25 +08:00
Jiang Jiang Jian
aad3b0e3a2
Merge branch 'bugfix/coex_fix_wifi_performance_when_ble_conn' into 'master'
...
Coexistence: Add coexist API to enable BLE connection dynamic priority
See merge request espressif/esp-idf!8466
2020-04-28 19:55:31 +08:00
Island
8ef0b66a3b
Merge branch 'bugfix/ble_mesh_compile_error_o2' into 'master'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen
Closes BLEMESH-187
See merge request espressif/esp-idf!8217
2020-04-28 17:29:09 +08:00
Jiang Jiang Jian
1b5c42b9b0
Merge branch 'bugfix/supplicant_log_enable_issue' into 'master'
...
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
See merge request espressif/esp-idf!8397
2020-04-28 16:29:19 +08:00
baohongde
95f47a2d4d
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-04-28 16:16:27 +08:00
Jiang Jiang Jian
528edf85cd
Merge branch 'bugfix/pmf_cert_fixes' into 'master'
...
esp_wifi: Update wifi lib
Closes WIFI-2251
See merge request espressif/esp-idf!8468
2020-04-28 14:41:12 +08:00
Nachiket Kukade
59e8e407a0
wpa_supplicant: Disable TLSv1.2 by default
...
Some Enterprise Authentication Servers do not support TLS v1.2.
Move this option to Menuconfig and disable by default.
2020-04-28 10:05:35 +05:30
Jiang Jiang Jian
df5cead7e6
Merge branch 'fixbug/tcp_kill_state_assert' into 'master'
...
lw-ip:fixbug for tcp kill state assert
Closes WIFI-2195
See merge request espressif/esp-idf!8449
2020-04-28 11:43:29 +08:00
Mahavir Jain
4a558131ea
Merge branch 'bugfix/http_client_read' into 'master'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform
Closes IDFGH-2916 and IDF-1516
See merge request espressif/esp-idf!8166
2020-04-28 06:07:15 +08:00
Darian Leung
b097dd0a79
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2020-04-27 18:11:29 +00:00
Felipe Neves
c78ddb770a
docs: added information of task states on fatal errors documentation.
2020-04-27 14:41:55 +00:00
Felipe Neves
c296d01737
gdbstub: added cpu id of running tasks to the output
2020-04-27 14:41:55 +00:00
Felipe Neves
5279e68146
gdbstub: improve format of info thread command output
...
gdbstub: simplify the state handling on extra thread info
2020-04-27 14:41:55 +00:00
Felipe Neves
9a54a0af13
gdbstub: added task state information on qThreadExtraInfo command
2020-04-27 14:41:55 +00:00
Felipe Neves
140c5e0677
freertos: added task state field inside of TaskSnapshot_t to capture it.
2020-04-27 14:41:55 +00:00
Felipe Neves
5847e0afd2
freertos/test: fix overflow on accumulator used on scheduling time test
2020-04-27 14:20:13 +00:00
Nachiket Kukade
f9970b8e29
esp_wifi: Update wifi lib
...
PMF Certification fixes -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
Closes WIFI-2251
2020-04-27 13:32:09 +00:00
Krzysztof Budzynski
c5c026557e
Merge branch 'doc/hmac_S2' into 'master'
...
Doc: Documentation for HMAC module
See merge request espressif/esp-idf!8383
2020-04-27 19:03:01 +08:00
Jiang Jiang Jian
17d7f3cb17
Merge branch 'fixbug/set_dhcp_time_fail' into 'master'
...
lw-ip:fixbug for set dhcp time fail
Closes WIFI-2152
See merge request espressif/esp-idf!8374
2020-04-27 16:48:34 +08:00
Jiang Jiang Jian
a559bf51ff
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name' into 'master'
...
ble_mesh: Fix time scene wrong macro name
See merge request espressif/esp-idf!8331
2020-04-27 16:19:49 +08:00
lly
c8a7d20946
ble_mesh: Check if appkey exist before deleting it
2020-04-27 06:27:35 +00:00
lly
fab9b944a4
ble_mesh: Add length check for some mesh operations
2020-04-27 14:24:07 +08:00
lly
c77b7394ed
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-04-27 14:24:07 +08:00
Angus Gratton
9300615a13
Merge branch 'bugfix/heap_psram_fill' into 'master'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
See merge request espressif/esp-idf!8210
2020-04-27 14:20:41 +08:00
Shubham Kulkarni
21c2019973
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-04-27 05:17:04 +00:00
Shubham Kulkarni
4c166085fb
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-04-27 05:17:04 +00:00
Michael (XIAO Xufeng)
9d98111652
Merge branch 'bugfix/spi_bus_lock_missing_semphrstatic' into 'master'
...
spi: fix config break and reduce overhead of the bus lock on SPI1
Closes IDFGH-3017
See merge request espressif/esp-idf!8221
2020-04-27 12:57:19 +08:00
Jakob Hasse
2da7e65646
Doc: S2 HMAC documentation
2020-04-27 12:25:46 +08:00
lly
75cf2d7a17
ble_mesh: Fix time scene wrong macro name
2020-04-27 04:17:04 +00:00
Island
feb7f9683c
Merge branch 'bugfix/ble_mesh_add_missing_cpp' into 'master'
...
ble_mesh: Add missing #ifdef __cplusplus
Closes BLEMESH-194
See merge request espressif/esp-idf!8310
2020-04-27 11:47:44 +08:00
Island
1e12673b3c
Merge branch 'feat/ble_mesh_sensor_model_example' into 'master'
...
ble_mesh: Add ble mesh sensor model examples
Closes BLEMESH-190
See merge request espressif/esp-idf!8253
2020-04-27 11:47:06 +08:00
Island
71dc5eb276
Merge branch 'doc/ble_mesh_fixes' into 'master'
...
doc: Fix some ble mesh description
Closes BLEMESH-189
See merge request espressif/esp-idf!8240
2020-04-27 11:43:48 +08:00
lly
91d70cd128
ble_mesh: Add missing #ifdef __cplusplus
2020-04-26 06:50:35 +00:00
lly
77bb7806a0
ble_mesh: Fix client local parameters not initialized
2020-04-26 06:25:08 +00:00
lly
713581ae87
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-26 06:25:08 +00:00
lly
73804ef4d3
ble_mesh: Remove some redundant functions
2020-04-26 06:25:08 +00:00
lly
f37bc1a515
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-26 06:25:08 +00:00
lly
88b0cd918a
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-26 06:25:08 +00:00
lly
7486616382
ble_mesh: Update next alloc address when node info is added
2020-04-26 06:25:08 +00:00
lly
a4d9259912
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-26 06:25:08 +00:00
lly
8d57ebf57d
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-26 06:25:08 +00:00
lly
ec2324edbe
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-26 06:25:08 +00:00
lly
2f6a4140fa
doc: Fix some ble mesh description
2020-04-26 06:22:33 +00:00
lly
e8c5f5dc03
ble_mesh: Add some common macros for sensor model
2020-04-26 06:08:44 +00:00
lly
361dd8b29c
ble_mesh: Allow empty sensor series column value
2020-04-26 06:08:44 +00:00
lly
561191d50f
ble_mesh: Check if same sensor (settings) property id exists
2020-04-26 06:08:44 +00:00
lly
3862f0e784
ble_mesh: Allow empty sensor settings exist
2020-04-26 06:08:44 +00:00
Axel Lin
f4a4549a34
mdns: Remove mbedtls dependency
...
mdns does not use mbedtls, so remove mbedtls dependency.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-04-26 12:07:28 +08:00
Angus Gratton
bb0a95b17c
spi_flash s2: Fix encrypted writes when legacy implementation disabled
...
ROM function didn't use correct Addr bitlen if legacy was disabled on ESP32-S2
2020-04-24 12:43:47 -03:00
Angus Gratton
dbdce93d23
spi_flash: Use per-chip flash_ops files for legacy API
...
Looks like when ESP32-S2 Beta support was merged, the separate files
were dropped by accident.
2020-04-24 12:43:47 -03:00
Felipe Neves
95bc186846
flash_encryption: Fix next spi boot crypt counter value after a plaintext flash
2020-04-24 12:43:47 -03:00
Felipe Neves
f7ccc081a5
flash_encryption: replace spi crypt count efuse burning function by a esp_efuse_API
...
flash_encryption: modify additional efuses burning method to fix them are not being written
flass_encryption: burn efuse to disable boot from RAM space
flash_encryption: added better checking for key generation state plus set read and write protect for them
soc esp32s2: Add register-level bit definitions for read & wrote protect bits
esp32s2: Fixes for flash encryption
- Write efuses in a batch
- Fix some detection of whether existing efuse blocks are read/write protected
2020-04-24 12:43:47 -03:00
Felipe Neves
6f27992430
flash_encryption: return more clear error codes when bootloader encryption fails
2020-04-24 12:43:47 -03:00
Felipe Neves
b3d8847406
flash_encryption: added wdt feed during encryption process to avoid undesired reset.
2020-04-24 12:43:47 -03:00
Felipe Neves
7635dce502
bootloader/flash_encrypt: added esp32s2 flash encryption code on build system and enabled example
...
flash_enctryption: enabled flash encryption example on esp32s2
bootloader: raise WDT overflow value providing sufficient interval to encrypt app partition
flash_ encrypt: Fixed the TODOs on flash encryption key generation for esp32s2
flash_encryption: added secure boot features to flash enctryption for esp32s2
bootloader: leave only esp32s2 compatible potentially insecure options on menuconfig.
flash_encryption: removed secure boot version 1 from esp32s2 encryption code
flash_encryption: added CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED option for esp32s2
flash_encryption: fixed the count of left plaintext flash
flash_encryption: disable dcache and icache download when using encryption in release mode
flash_encryption: add cache potentally insecure options for s2 chips
flash_encryption: fixed bug which bricked some chips in relase mode
2020-04-24 12:43:47 -03:00
Ivan Grokhotkov
cd1aba595e
Merge branch 'bugfix/mpu_panic' into 'master'
...
Fix issue with mpu illegal access test
See merge request espressif/esp-idf!8418
2020-04-24 20:54:08 +08:00
Michael (XIAO Xufeng)
77d5e4b4e2
Merge branch 'bugfix/timer_group_intr_enable' into 'master'
...
Bugfix/timer group intr enable
Closes IDFGH-3082
See merge request espressif/esp-idf!8340
2020-04-24 18:28:36 +08:00
Renz Bagaporo
5abb4f6455
esp_system, esp_common: fixes to some panic handler refactor issues
2020-04-24 16:34:15 +08:00
Renz Bagaporo
4571fb219f
soc: change region in mpu test
...
Previously, the test uses region 3 for the illegal access test
(0x60000000 - 0x7fffffff). This caused issues with there being
peripherals located in that memory range. Change to use region 4
(0x8000000 - 0x9fffffff) instead).
2020-04-24 16:34:15 +08:00
David Cermak
9e58d94a42
esp-mesh: Added example showing internal IP capable mesh network
2020-04-24 07:32:58 +02:00
David Cermak
bcee69ae06
esp-netif: Enable easier configuration of custom DHCP server address
2020-04-24 07:32:58 +02:00
Angus Gratton
b26f93415e
secure boot v2: Add anti-FI check that secure boot not enabled yet
...
Prevent a fault from causing bootloader to trust the provided signature incorrectly.
2020-04-24 15:03:31 +10:00
Angus Gratton
fc4b653729
secure boot v2: Don't check efuse BLK2 if only boot-time signature verification is enabled
2020-04-24 15:03:03 +10:00
Angus Gratton
fc0d6a99f8
secure boot v2: Don't log warnings when BLK2 is empty as expected
...
If BLK2 is empty then it's OK to continue with a warning (otherwise it may spook users into thinking
something this is wrong, but this is the expected workflow.)
If BLK2 is not empty and doesn't match then we need to fail because it won't be possible to
trust the signature.
2020-04-24 14:43:55 +10:00
Jiang Jiang Jian
79288f25e4
Merge branch 'bugfix/fix_esp32s2_package_recv_issue' into 'master'
...
esp_wifi: Update esp32s2 phy lib v303
Closes WIFI-2141 and WIFI-2142
See merge request espressif/esp-idf!8321
2020-04-24 11:19:48 +08:00
Ivan Grokhotkov
275ed32a11
Merge branch 'feature/esp32s2_iram_dram_protection' into 'master'
...
esp32s2: IRAM/DRAM memory protection
See merge request espressif/esp-idf!8156
2020-04-23 21:52:54 +08:00
morris
91e62f4e37
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-23 19:29:15 +08:00
morris
e0b9f7be6d
periph_clk_gating: add reference counter
2020-04-23 19:29:15 +08:00
morris
99f0dc78c8
soc: remove mcpwm description file from esp32s2
2020-04-23 19:26:55 +08:00
xueyunfei
4e2989e40c
fixbug for tcp kill state assert
2020-04-23 15:38:49 +08:00
Michael (XIAO Xufeng)
7ec4d64b80
spi: Update documents about the bus lock and how to use SPI Master on SPI1 bus
2020-04-23 12:27:25 +08:00
Ivan Grokhotkov
28efe511f4
Merge branch 'bugfix/semihosting_write' into 'master'
...
Semihosting fixes for write and the semihost example
See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
Mahavir Jain
44939a6b1e
Merge branch 'feature/iram_data_bss' into 'master'
...
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
See merge request espressif/esp-idf!8377
2020-04-22 21:44:44 +08:00
michael
1ca25688a8
freertos: place xQueueGenericCreateStatic
into flash
...
`xQueueGenericCreateStatic` is placed into flash by the linker script to
reduce IRAM usage. This will also cause the `xRingbufferCreate` not
not callable when cache is disabled.
2020-04-22 16:06:13 +08:00
michael
fdf983e0c4
spi: fix config break and reduce overhead of the bus lock on SPI1
...
The SPI bus lock on SPI1 introduces two side effects:
1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.
2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.
This commit:
1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.
2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.
3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.
introduced in 49a48644e4
.
Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
Wang Jia Lin
e3f85faee5
Merge branch 'bugfix/fix_spi_flash_clock_config_error' into 'master'
...
flash: fix spi flash clock config error
Closes IDFGH-3077
See merge request espressif/esp-idf!8384
2020-04-22 12:44:17 +08:00
Martin Vychodil
7491ea677a
esp32s2: IRAM/DRAM memory protection
...
* new mem_prot API
* mem_prot on & locked by default (see Kconfig)
* feature activated in start_cpu0_default()
JIRA IDF-1355
2020-04-21 15:10:58 +02:00
Michael (XIAO Xufeng)
e2fc591a20
Merge branch 'bugfix/esp_flash_revert_qe_clear' into 'master'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id
See merge request espressif/esp-idf!8260
2020-04-21 17:52:42 +08:00
xueyunfei
b2a3b2a4f4
fixbug for set dhcp time fail
2020-04-21 14:28:39 +08:00
Ivan Grokhotkov
1a7dbe22da
Merge branch 'bugfix/wrong_cpp_guard' into 'master'
...
Bugfix/wrong cpp guard
Closes IDFGH-3129 and IDF-1219
See merge request espressif/esp-idf!8403
2020-04-20 18:47:28 +08:00
Jiang Jiang Jian
80e5eb896c
Merge branch 'optimization/DNS_get_function' into 'master'
...
lw-ip:optimization DNS get function
Closes WIFI-1566
See merge request espressif/esp-idf!8244
2020-04-20 16:52:22 +08:00
morris
5d0860f2e8
fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS
2020-04-20 14:01:09 +08:00
Hrudaynath Dhabe
d8a7cfdde4
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-04-19 16:40:06 +05:30
dowster
7b02fdf45a
Fix typo with sigmadelta.h #ifdef
2020-04-17 22:52:00 -05:00
Sachin Parekh
1e6c25992e
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
...
Using these attributes, .data and .bss can be placed in IRAM
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2020-04-17 19:35:23 +05:30
Michael (XIAO Xufeng)
9d9d22c920
esp_flash: deprecate the cs_id member, which is no longer used.
...
We used to manually specify the CS id. However after the SPI bus lock is
introduced, the lock is responsible to assign the CS lines and provide
the CS id. The esp_flash driver now depends on the ID assigned by the
SPI bus lock, the configuration field is deprecated.
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
5404e3d434
esp_flash: fix cache exception when CS pin is through IOMUX
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
11501dbaa9
esp_flash: fix the cleanup when add device fails
2020-04-17 18:15:32 +08:00
Michael (XIAO Xufeng)
dc26065a72
esp_flash: fix the regression of non-quad mode by default chip driver
...
The issue is introduced in 571864e8ae
. The
esp_flash API tries to clear the QE bit when the flash is not working in
quad modes.
However this introduces a regression, compared to earlier versions and
the legacy API. When the chip is not detected, the generic chip driver
is used, which cannot 100% handle the QE bit properly for all flash
vendors. There may be some flash chips (e.g. MXIC) that can be used in
dual modes by legacy API, but output wrong data when the esp_flash API
clears the QE bit in a wrong way.
This commit reverts the QE force clearing behavior, so that it's safer
for the generic chip driver to work under dual modes.
2020-04-17 18:15:31 +08:00
Ivan Grokhotkov
b732abec7f
Merge branch 'bugfix/freemodbus_add_cpp_extern' into 'master'
...
freemodbus: add extern c block into common header for cpp
Closes IDFGH-3046
See merge request espressif/esp-idf!8281
2020-04-17 17:56:51 +08:00
Alex Lisitsyn
b1fe4c4cc6
freemodbus: add extern c block into common header for cpp
2020-04-17 17:56:50 +08:00
Ivan Grokhotkov
9003c01b4b
Merge branch 'init_priority_fix' into 'master'
...
CXX: make __attribute__((init_priority(n))) work
See merge request espressif/esp-idf!8276
2020-04-17 17:56:10 +08:00
chenjianqiang
ec9cc27e08
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-17 16:26:26 +08:00
Mahavir Jain
4e71cb3e68
Merge branch 'bugfix/transport_ssl_reset_state_on_closure' into 'master'
...
transport_ssl: reset state on connection closure
See merge request espressif/esp-idf!8355
2020-04-16 12:38:58 +08:00
David Čermák
d043674b2b
Merge branch 'feature/lwip_napt_forward' into 'master'
...
lw-IP: NAT support
Closes WIFI-931
See merge request espressif/esp-idf!7681
2020-04-16 03:03:00 +08:00
Andrei Gramakov
283026a761
vfs: semihost driver bugfix
2020-04-15 15:46:47 +02:00
Ivan Grokhotkov
882fd1b880
Merge branch 'bugfix/make_quoting_esptool_port' into 'master'
...
make: Fix quoting when flashing port is set via sdkconfig file
Closes IDFGH-3103 and IDFGH-3083
See merge request espressif/esp-idf!8352
2020-04-15 20:37:20 +08:00
xiehang
5d20610874
esp_wifi: Update esp32s2 phy lib v303
2020-04-15 20:18:42 +08:00
Mahavir Jain
49ce8d3fe5
transport_ssl: reset state on connection closure
...
For url redirection cases (HTTP status 301/302), internal
transport ssl connection state must be reinitialized for
successful (new) connection on updated url.
Closes https://github.com/espressif/esp-idf/issues/4598
2020-04-15 15:22:32 +05:30
Angus Gratton
100578a9e9
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-15 07:16:08 +00:00
Angus Gratton
433c1c9ee1
Merge branch 'bugfix/ds_mpi_lock' into 'master'
...
crypto: DS uses RSA peripheral, added shared lock
See merge request espressif/esp-idf!8274
2020-04-15 15:15:25 +08:00
David Čermák
7993d5c1f7
Merge branch 'bugfix/mqtt_aborts' into 'master'
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition
Closes IDF-1521
See merge request espressif/esp-idf!8205
2020-04-15 14:37:01 +08:00
David Čermák
5e51b5dd09
Merge branch 'bugfix/ws_client_fragmented_send' into 'master'
...
ws_client: fix fragmented send setting proper opcodes
Closes IDFGH-2938
See merge request espressif/esp-idf!8112
2020-04-15 14:06:42 +08:00
Jiang Jiang Jian
80cee782a6
Merge branch 'bugfix/make_compile_phy_multiple_bin_error' into 'master'
...
bugfix: fix make compile phy multiple bin error
See merge request espressif/esp-idf!8299
2020-04-15 14:03:27 +08:00
David Čermák
e7b80f2b71
Merge branch 'feature/pppos_client_test' into 'master'
...
PPPoS client test
Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732
See merge request espressif/esp-idf!7794
2020-04-15 13:57:36 +08:00
Angus Gratton
90b3676280
make: Fix quoting when flashing port is set via sdkconfig file
...
Regression in 862fa815ff
Closes https://github.com/espressif/esp-idf/issues/5124
Closes https://github.com/espressif/esp-idf/issues/5104
2020-04-15 15:43:36 +10:00
Jiang Jiang Jian
0f1680c752
Merge branch 'feature/dpp_porting' into 'master'
...
wpa_supplicant: Port DPP crypto functionality from mainline supplicant repository.
See merge request espressif/esp-idf!7513
2020-04-15 13:37:30 +08:00
xueyunfei
8b036a8405
optimization DNS get function
2020-04-15 03:06:28 +00:00
ronghulin
f5f2cbcb50
bugfix: fix make compile phy multiple bin error
2020-04-15 10:19:54 +08:00
Angus Gratton
552bf7be4a
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-04-15 09:39:10 +10:00
David Cermak
6aabfd50d5
pppos_client: support for PPPAUTHTYPE_NONE
...
Closes https://github.com/espressif/esp-idf/issues/4616
Closes WIFI-1652
2020-04-14 21:46:07 +02:00
Piyush Shah
6c09993e20
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
2020-04-14 16:18:20 +02:00
David Cermak
14992e62c5
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-04-14 16:11:32 +02:00
David Cermak
94d320473c
LwIP: NAPT functionality
...
Adds Kconfig option to enable experimental NAPT feature for IP packet
forwarding across interfaces.
Closes https://github.com/espressif/esp-idf/issues/1527
2020-04-14 16:04:37 +02:00
kapil.gupta
ab784bb53a
wpa_supplicant: Port dpp feature from supplicant
...
Add files required for DPP feature from upstream.
These file expose the functionality to create DPP packets.
Ported crypto layer from openssl to mbedtls.
Interfacing to use these API will be added in seperate commit
2020-04-14 18:53:35 +05:30
kangping
4883010f40
mbedtls: add configuration options for EC-JPAKE
...
Closes https://github.com/espressif/esp-idf/pull/5106
2020-04-14 12:22:16 +00:00
Mahavir Jain
4f8a88b145
Merge branch 'bugfix/esp_tls_conn_write_doc' into 'master'
...
Fixed `esp_tls_conn_write` documentation.
See merge request espressif/esp-idf!7999
2020-04-14 14:34:08 +08:00
Jiang Jiang Jian
8a7db8f513
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled' into 'master'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
See merge request espressif/esp-idf!8305
2020-04-10 21:17:03 +08:00
Marius Vikhammer
71ab83cdfb
aes: increase timeout for "mbedtls AES performance" test
...
Timeout increased to 60 sec from default 30 sec.
Test would occasionally timeout on S2 due to cache misses.
2020-04-10 15:49:40 +08:00
Michael (XIAO Xufeng)
69b6ca6a70
Merge branch 'bugfix/mcpwm_period_error_MR' into 'master'
...
bugfix(mcpwm_period_error): fix the issue of wrong period
See merge request espressif/esp-idf!7734
2020-04-10 15:26:12 +08:00
Jiang Jiang Jian
3feffdfe03
Merge branch 'bugfix/psram_single_bit_error' into 'master'
...
bugfix(psram): support psram 2T mode to fix single bit error
See merge request espressif/esp-idf!6936
2020-04-10 15:04:15 +08:00
Wang Jia Lin
b3d8b6a250
Merge branch 'bugfix/fix_esp32s2_soc_bug' into 'master'
...
RTC regulator & voltage calibration fixes
See merge request espressif/esp-idf!8137
2020-04-10 14:25:41 +08:00
Chai Ji’e
dac17709ec
RTC regulator & voltage calibration fixes
2020-04-10 14:25:40 +08:00
Sagar Bijwe
665b0b4b3b
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-09 16:53:41 +05:30
Marius Vikhammer
a2a204c2b9
crypto: DS uses RSA peripheral, added shared lock
2020-04-09 11:11:04 +00:00
Anton Maklakov
445e847274
Merge branch 'bugfix/ci_app_test_dependency' into 'master'
...
CI: correct example vs. custom tests dependency
See merge request espressif/esp-idf!8258
2020-04-09 14:02:13 +08:00
Angus Gratton
766d8844e6
Merge branch 'bugfix/test_sha_ccomp_timer' into 'master'
...
esp32s2 sha test: update "Test esp_sha" to use cache compensated timer for performance measuring
See merge request espressif/esp-idf!8237
2020-04-09 12:25:58 +08:00
Ivan Grokhotkov
2e14149bff
Merge branch 'feat/monitor_remake_with_serial_arg' into 'master'
...
idf_monitor: support to re-flash with the using port
Closes IDFGH-2479 and IDF-836
See merge request espressif/esp-idf!6373
2020-04-09 05:43:32 +08:00
Ivan Grokhotkov
8bf18d868a
Merge branch 'bugfix/crt_bundle_mem_leak' into 'master'
...
cert bundle: Fix memory leak during cert verification
Closes IDFGH-2950
See merge request espressif/esp-idf!8117
2020-04-09 05:41:41 +08:00
Ivan Grokhotkov
7a972c7191
Merge branch 'bugfix/nvs_erase_more_graceful' into 'master'
...
NVS: more graceful behavior for erasing partitions
See merge request espressif/esp-idf!7885
2020-04-09 05:41:17 +08:00
David Cermak
6d07bcd611
mqtt-tests: rename tests to match the actual group
2020-04-08 14:41:05 +02:00
Ivan Grokhotkov
651dbe48e7
Merge branch 'feature/gcovr' into 'master'
...
app_trace: Add coverage generations by gcovr
Closes IDF-780
See merge request espressif/esp-idf!8168
2020-04-08 15:57:08 +08:00
Angus Gratton
9300f0e7b0
Merge branch 'bugfix/logging_compilation_fix_anti_rollback' into 'master'
...
Minor fix logging issue hindering compilation on anti rollback.
See merge request espressif/esp-idf!8105
2020-04-08 15:53:48 +08:00
Angus Gratton
2bdf22b25d
Merge branch 'bugfix/sha_alloc_fallback' into 'master'
...
sha: add fallback for when memory alloc fails
See merge request espressif/esp-idf!8177
2020-04-08 14:15:52 +08:00
Angus Gratton
573d5f4eb0
Merge branch 'bugfix/flash_target_deps_on_spiffs_gen_images' into 'master'
...
spiffs: restore dependency of flash targets on spiffs images
See merge request espressif/esp-idf!8277
2020-04-08 12:43:11 +08:00
Angus Gratton
73825cfd8a
Merge branch 'bugfix/elf_dir' into 'master'
...
cmake: add elf dir information
See merge request espressif/esp-idf!8264
2020-04-08 12:41:23 +08:00
Angus Gratton
5d3591c037
Merge branch 'bugfix/mpu_hal' into 'master'
...
soc: mpu hal fixes
See merge request espressif/esp-idf!7895
2020-04-08 12:40:53 +08:00
Renz Bagaporo
acb7a211dd
partition_table: do not always display partition table contents on build
2020-04-08 11:38:43 +08:00
Jakob Hasse
4943b1cbf0
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-04-08 09:11:54 +08:00
Marius Vikhammer
832599718d
cert bundle: add server_root.pem incase bundle needs to be regenerated
2020-04-07 18:51:26 +08:00
Marius Vikhammer
9ccc5e6d84
cert bundle: Fix memory leak during cert verification
...
Also refactors the unit tests and fixes the test case, as it was giving false positives.
Closes IDFGH-2950
Closes https://github.com/espressif/esp-idf/issues/4983
2020-04-07 18:50:30 +08:00
Renz Bagaporo
07f9978df7
cmake: add elf dir information
...
Solves https://www.esp32.com/viewtopic.php?f=13&t=14784&p=57557&hilit=assumes#p57557
2020-04-07 17:19:33 +08:00
Renz Bagaporo
9a020cbb40
spiffs: restore dependency of flash targets on spiffs images
...
Closes https://github.com/espressif/esp-idf/issues/5066
2020-04-07 17:01:58 +08:00
Renz Bagaporo
d2ad5d937e
soc: add test for setting mpu illegal access
2020-04-07 11:38:26 +08:00
Renz Bagaporo
ece80dbc8e
soc: mpu hal fixes
2020-04-07 11:38:26 +08:00
ronghulin
c65c30c60a
bugfix: fix esp_wifi_stop crash issue
2020-04-07 11:12:43 +08:00
Angus Gratton
604360b98c
Merge branch 'feature/efuse_purpose_api' into 'master'
...
efuse: Add an API to return the efuse descriptor for a key block's purpose field
See merge request espressif/esp-idf!8269
2020-04-07 08:26:45 +08:00
michael
862fa815ff
esptool: add quotes to allow complicated serial port path
...
Especially for Windows COM format: \\\.\COMx, introduced in
b00cea250f
2020-04-07 01:31:39 +08:00
Ivan Grokhotkov
f7ca36513e
Merge branch 'feature/semihosting_refactoring' into 'master'
...
Feature/semihosting refactoring
See merge request espressif/esp-idf!7475
2020-04-06 23:44:52 +08:00
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
Angus Gratton
16ad24dd00
efuse: Add an API to return the efuse descriptor for a key block's purpose field
2020-04-06 18:33:11 +10: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
Marius Vikhammer
0a41bd3833
esp32s2 sha test: update "Test esp_sha" to use cache compensated timer for performance measuring
2020-04-06 06:37:28 +00:00
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
Andrei Gramakov
305592f1aa
vfs: semihosting driver update supporting semihosting_common handler from OpenOCD
...
- implemented SYS_DRVINFO syscall and version handling for the semihosting driver
- removed a support of old oocd versions
renamed kconfig options:
- CONFIG_SEMIHOSTFS_HOST_PATH_MAX_LEN to CONFIG_VFS_SEMIHOSTFS_HOST_PATH_MAX_LEN
- CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS to CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
2020-04-03 16:19:06 +02: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
Jakob Hasse
98b1da9e60
NVS: more graceful behavior for erasing partitions
2020-04-03 11:48:07 +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
Vikram Dattu
60dc4285f4
Fixed esp_tls_conn_write
documentation.
...
Return value `0` in actual is case of partial write and not error as per `mbedtls_ssl_write`
Modified documentation of `esp_tls_conn_write` accordingly.
Even `esp_wolfssl_write` API considers just negative returns as errors.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-04-01 11:04:09 +00: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
espressif
c0d752c3b9
mcpwm: fix the issue of wrong period
2020-04-01 10:59:00 +08:00
Marius Vikhammer
1863a8ce82
sha: add fallback for when memory alloc fails
2020-04-01 02:07:44 +00: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
Supreet Deshpande
0a52f2db50
Fixes logging issue hindering compilation on anti rollback.
2020-03-31 11:19:27 +05:30
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
Roland Dobai
26695df5c8
app_trace: Add coverage generation by gcovr
2020-03-30 13:34:06 +02: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
Xia Xiaotian
3488603002
esp_wifi: optimize coexistence sleep
...
1. Increase delay time before sending NULL1 to enter sleep to
fix compatible problem of some APs.
2. Do not force sending NULL0 if no data tx/rx in previous Wi-Fi
slice.
2020-03-30 11:18:08 +08:00
Marius Vikhammer
32f16e8c30
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 11:12:20 +08:00
Michael (XIAO Xufeng)
16d6604ab4
Merge branch 'feature/spi_unit_test_slave_byte_length' into 'master'
...
spi: add unit test for slave receiving length
See merge request espressif/esp-idf!6357
2020-03-30 10:41:45 +08:00
Ivan Grokhotkov
f822e81617
Merge branch 'feature/trax_parsing_script' into 'master'
...
xtensa: add a script for parsing CPU traces (TRAX)
See merge request espressif/esp-idf!7729
2020-03-30 05:21:02 +08:00
Ivan Grokhotkov
cb766fb3d6
Merge branch 'bugfix/IDFGH-2910' into 'master'
...
NVS: bugfix - iterator skipping version 1 blobs
Closes IDFGH-2910
See merge request espressif/esp-idf!8049
2020-03-30 05:18:38 +08:00
Jiang Jiang Jian
bc3b95f68b
Merge branch 'bugfix/fix_log_printf_level_err' into 'master'
...
esp_wifi: Fix wifi log print level error
See merge request espressif/esp-idf!8120
2020-03-28 18:52:23 +08:00
David Cermak
585633b254
console: ignore static analysis warnings
2020-03-27 19:19:20 +01:00
David Cermak
06c46837ce
panic: ignore deliberate null dereference to pass static analysis
2020-03-27 19:18:40 +01:00
David Cermak
62f9f42b54
wpa_supplicant: ignore static analysis violations
2020-03-27 19:17:36 +01:00
David Cermak
2e28ab29c7
freertos: silence the static analysis warning referencing the workitem
2020-03-27 18:46:39 +01:00
David Cermak
9b821ddd6b
sdmmc: fix possible null dereference in output parameter assignement, whilst it was null checked as an input parameter
2020-03-27 18:46:39 +01:00
David Cermak
72d54b68a6
lwip: dhcp-server fix static analysis warnings
...
1) kill_oldest_dhcps_pool() is only called when list has at least two members (assured with kconfig value limit), added assertion to ensure this function is used only when prerequisities are met
2) use after free reported in two places, since the analyzer checks also the scenario when the linked list has loops, added ignore tags
2020-03-27 18:46:39 +01:00
Ivan Grokhotkov
b07b29f5bf
Merge branch 'bugfix/xtensa_sign_conversion' into 'master'
...
xtensa: fix sign-conversion warning (Github PR)
See merge request espressif/esp-idf!8131
2020-03-28 00:42:26 +08:00
Aditya Patwardhan
22b1607405
esp_https_server: fix HTTPD_SSL_CONFIG_DEFAULT
...
This macro doesn't compile on C++. Order is fixed now.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Co-Authored-By: xkevin190 <kevinvelasco193@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4981
2020-03-27 23:12:57 +08:00
Ivan Grokhotkov
455dbf28f4
esp32: use ccomp_timer in SHA test
2020-03-27 20:07:02 +07:00
Ivan Grokhotkov
cc1d287133
newlib: use --specs=nano.specs to enable "nano" version of C library
...
esp2020r1 toolchain includes a nano.specs file, which instructs GCC to
substitute libc.a with libc_nano.a.
In the build system, this simplifies handling of the nano formatting
option, eliminating LIBC and LIBM global variables.
2020-03-27 20:04:47 +07:00
Jeroen Domburg
419848549e
Add fixes for gcc8 psram fix improvement
2020-03-27 20:04:47 +07:00
Michael (XIAO Xufeng)
a304421124
Merge branch 'feat/spi_bus_lock' into 'master'
...
SPI: support running SPI master and esp_flash on the same bus
See merge request espressif/esp-idf!6520
2020-03-27 19:59:43 +08:00
Jiang Jiang Jian
79e92b0e6a
Merge branch 'bugfix/ble_mesh_add_test_function' into 'master'
...
ble_mesh: Add ble mesh white list test function
See merge request espressif/esp-idf!8046
2020-03-27 19:53:54 +08:00
Alex Lisitsyn
16e6e63694
driver: fix driver set rx timeout feature of uart
...
tout_thr - move calculation and masking into hal layer update driver and uart_ll (add uart_ll_set_rx_tout)
move tout calculation into uart_ll
move calculation of time out in bit time for esp32s2 into low level uart_ll.h file
move uart_hal_get_symb_len() into hal
update set_rx_timeout() to warn user about incorrect value
update HAL, LL 1
fix uart_xx_set_rx_tout() to convert symbol time into bit time
update param description
update tout calculation in LL
update uart_hal_get_max_rx_timeout_thrd() and uart_ll_get_max_rx_timeout_thrd()
2020-03-27 16:20:21 +08:00
Michael (XIAO Xufeng)
c91b53377b
Merge branch 'bugfix/fix_uart_driver_missing_txfifo_reset_issue' into 'master'
...
bugfix(UART): fix uart driver missing txfifo reset issue.
Closes IDFGH-2848
See merge request espressif/esp-idf!7992
2020-03-27 15:55:02 +08:00
Angus Gratton
f68dbd77e9
Merge branch 'bugfix/make_system_using_rom_time_funcs' into 'master'
...
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
Closes IDFGH-2868
See merge request espressif/esp-idf!8008
2020-03-27 15:43:38 +08:00
Prasad Alatkar
38fc242914
NimBLE: Fix build failures due to non static declarations in RPA feature
...
CLoses IDFGH-2891
2020-03-27 14:06:55 +08:00
Prasad Alatkar
2bc28bbd5a
NimBLE: Fix NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
in esp_nimble_cfg
and bleprph
README
2020-03-27 14:05:32 +08:00
Angus Gratton
88bf21b21e
Merge branch 'nimble/iram_allocation_strategy' into 'master'
...
NimBLE: Add support to IRAM allocation strategy
See merge request espressif/esp-idf!8015
2020-03-27 13:54:25 +08:00
Mahavir Jain
0b834d1a9f
Merge branch 'feature/add_psk_support_for_wolfSSL' into 'master'
...
esp_tls_wolfSSL: Add support for PSK
See merge request espressif/esp-idf!7942
2020-03-27 13:25:42 +08:00
KonstantinKondrashov
9aeac7f6cb
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
...
- Added UT
Closes: https://github.com/espressif/esp-idf/issues/4925
2020-03-27 04:57:42 +00:00
KonstantinKondrashov
df2ea2527f
esp32s2: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
2020-03-27 04:56:44 +00:00
KonstantinKondrashov
a259746016
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-03-27 04:56:44 +00:00
xiehang
8bcf5cbfed
esp_wifi: Fix wifi log print level error
2020-03-27 12:37:56 +08:00
Jiang Jiang Jian
4fe04f1151
Merge branch 'bugfix/fix_esp32s2_receive_pkts_err' into 'master'
...
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
See merge request espressif/esp-idf!8100
2020-03-27 12:21:52 +08:00
Angus Gratton
cf6dca29f2
Merge branch 'feature/hmac_upstream' into 'master'
...
HMAC: adding upstream message support
Closes IDF-800
See merge request espressif/esp-idf!7689
2020-03-27 11:27:23 +08:00
Angus Gratton
02fe8fb1eb
Merge branch 'bugfix/monitor_encrypted_target' into 'master'
...
tools: Fix flashing encrypted binaries from IDF Monitor
Closes IDF-822
See merge request espressif/esp-idf!8090
2020-03-27 08:11:38 +08:00
Michael (XIAO Xufeng)
49a48644e4
spi: allow using esp_flash and spi_master driver on the same bus
2020-03-26 22:08:26 +08:00
Michael (XIAO Xufeng)
f3bf9c5ae0
hal: put rodata into dram for hal functions
2020-03-26 22:08:25 +08:00
Aditya Patwardhan
d712453114
esp_tls_wolfssl: Added mutex to allow only one TLS conn using PSK at a time
2020-03-26 17:30:05 +05:30
Jakob Hasse
ea47bbb118
HMAC: adding upstream message support
2020-03-26 19:00:27 +08:00
Aditya Patwardhan
46643ab40f
esp_tls_wolfssl: Add support for PSK using wolfSSL,
...
enable SNI and ALPN
2020-03-26 16:02:57 +05:30
Michael (XIAO Xufeng)
296d095e53
Merge branch 'bugfix/remove_dependency_in_timergroup_caps' into 'master'
...
remove dependency of timer_group_caps.h on soc.h
See merge request espressif/esp-idf!8116
2020-03-26 18:18:45 +08:00
Ivan Grokhotkov
7f18576e23
Merge branch 'bugfix/inline_get_cpu_id_hal_func' into 'master'
...
soc: put hal function to get core id in IRAM
See merge request espressif/esp-idf!8107
2020-03-26 18:14:51 +08:00
morris
0c6e1b9482
remove dependency of timer_group_caps.h on soc.h
2020-03-26 17:15:19 +08:00
Angus Gratton
dd8d1deacb
Merge branch 'bugfix/malloc_zero_return_null' into 'master'
...
bugfix/multi_heap: fix malloc(0) returning valid pointer in some poisoning configurations
Closes IDF-1482
See merge request espressif/esp-idf!8012
2020-03-26 16:19:39 +08:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Angus Gratton
928fc0016c
Merge branch 'bugfix/doc_soc_caps_file_path' into 'master'
...
doc: correct soc caps file path
See merge request espressif/esp-idf!8097
2020-03-26 10:32:12 +08:00
Michael (XIAO Xufeng)
826cc7ecb6
Merge branch 'feature/bringup_723_cmake_rmt_driver_update' into 'master'
...
RMT new features in ESP32S2
Closes IDF-1286
See merge request espressif/esp-idf!7401
2020-03-26 10:24:18 +08:00
Michael (XIAO Xufeng)
661f4c430d
Merge branch 'feature/esp32s2_i2c_driver' into 'master'
...
Feature: Add esp32-s2 I2C driver.
Closes IDF-1278 and IDF-1026
See merge request espressif/esp-idf!7680
2020-03-26 10:20:40 +08:00
Michael (XIAO Xufeng)
42c552242b
Merge branch 'feature/fix_touch_driver_for_esp32s2' into 'master'
...
driver(touch): fix touch sensor driver for esp32s2
See merge request espressif/esp-idf!7664
2020-03-26 09:50:42 +08:00
Darian Leung
91841a53ff
WDT: Add LL and HAL for watchdog timers
...
This commit updates the watchdog timers (MWDT and RWDT)
in the following ways:
- Add seprate LL for MWDT and RWDT.
- Add a combined WDT HAL for all Watchdog Timers
- Update int_wdt.c and task_wdt.c to use WDT HAL
- Remove most dependencies on LL or direct register access
in other components. They will now use the WDT HAL
- Update use of watchdogs (including RTC WDT) in bootloader and
startup code to use the HAL layer.
2020-03-26 02:14:02 +08:00
fuzhibo
340563f479
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-03-25 22:45:57 +08:00
Ivan Grokhotkov
462fda201a
Merge branch 'bugfix/tusb_missing_licence' into 'master'
...
tinyusb: updated the license header in the driver
See merge request espressif/esp-idf!8083
2020-03-25 21:20:49 +08:00
Ivan Grokhotkov
8aad738f02
Merge branch 'bugfix/ota_get_sha256_test_fail' into 'master'
...
app_update: fix test failure for get_app_elf_sha256 test
See merge request espressif/esp-idf!8096
2020-03-25 21:20:25 +08:00
chenjianqiang
04781fb009
psram: improve 2T mode enable
...
1. recover psram bankswitch config
2. set 2T mode enable default config as n
3. remove PSRAM ID check
2020-03-25 18:39:50 +08:00
chenjianqiang
55a20033e7
bugfix(psram): support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. enable PSRAM 2T mode base on PSRAM ID
3. abort when himem and 2T mode are enabled meanwhile
4. set SPIRAM_2T_MODE as "y" by default and modify SPIRAM_BANKSWITCH_ENABLE as "n" by default
2020-03-25 18:29:32 +08:00
morris
4fc16e2374
rmt: prefix caps name with SOC_
2020-03-25 17:14:00 +08:00
morris
0c17af3ea4
rmt: support tx loop count
2020-03-25 17:14:00 +08:00
morris
dc91aa9786
rmt: support tx in a group
2020-03-25 17:13:59 +08:00
morris
fa167eb0c5
rmt: test tx/rx ping-pong mode
2020-03-25 17:13:47 +08:00
morris
855b316045
rmt: better support rx demodulation
2020-03-25 13:19:03 +08:00
morris
c91565d538
rmt: update rmt ll APIs
2020-03-25 13:19:03 +08:00
chenjianqiang
ecbe0dad1b
driver/rmt: new features on esp32s2
...
1. add receive carrier remove function
2. add pingpong receive function
2020-03-25 13:19:03 +08:00
lly
45d43f005a
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-25 11:30:08 +08:00
Jiang Jiang Jian
c71445a9b9
Merge branch 'bugfix/coex_wakeup_delay_with_dfs' into 'master'
...
components/coex: Fix wakeup delay with DFS
See merge request espressif/esp-idf!8053
2020-03-25 11:29:18 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
houwenxiang
886745326e
driver(UART): fix uart driver missing txfifo reset issue.
...
closes https://github.com/espressif/esp-idf/issues/4908
2020-03-25 01:48:46 +08:00
Ivan Grokhotkov
6c0a1aab50
Merge branch 'bugfix/crypto_perf_fail' into 'master'
...
s2 crypto: update perf test to use cache comp timer
Closes IDF-1174
See merge request espressif/esp-idf!8075
2020-03-24 22:54:38 +08:00
Renz Bagaporo
d5085010c8
soc: put hal function to get core id in IRAM
2020-03-24 22:50:51 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
Ivan Grokhotkov
349dc125e8
Merge branch 'feature/espcoredump_resilient_stack_decoding' into 'master'
...
espcoredump: fix espcoredump to make it more resilient when decoding erroneous thread stack
Closes IDFGH-2802
See merge request espressif/esp-idf!7892
2020-03-24 21:08:57 +08:00
David Čermák
2bf3276900
Merge branch 'feature/config_mqtt_task_prio' into 'master'
...
esp_mqtt: add option to configure mqtt task priority.
Closes IDFGH-2902 and IDFGH-2903
See merge request espressif/esp-idf!8036
2020-03-24 19:43:20 +08:00
David Čermák
e50a7a97da
Merge branch 'bugfix/ipv6_examples' into 'master'
...
IPv6 related updates: esp-netif, common-connect, socket-examples
See merge request espressif/esp-idf!7500
2020-03-24 19:32:33 +08:00
morris
3cf8479017
doc: always adopt latest chip revision
2020-03-24 19:11:28 +08:00
Jiang Jiang Jian
2c06733e10
Merge branch 'optimization/TCPv6_connect_for_master' into 'master'
...
lw-ip:optimization TCPv6 connect
Closes WIFI-1963
See merge request espressif/esp-idf!8018
2020-03-24 15:25:03 +08:00
ChenJianxing
79be253020
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
2020-03-24 15:16:21 +08:00
Marius Vikhammer
694c332cb2
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f
updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-03-24 12:34:49 +08:00
aleks
b3eff24458
espcoredump: update expected test output
2020-03-23 14:40:56 +00:00
Andreas Motl
dde4d2e9eb
Make espcoredump more resilient when decoding specific thread stack
...
Merges https://github.com/espressif/esp-idf/pull/4865
2020-03-23 14:40:56 +00:00
Mahavir Jain
4e0e15631d
Merge branch 'feature/esp_http_client_add_example' into 'master'
...
Add example to demonstrate use of low level APIs in http client
Closes IDFGH-2773
See merge request espressif/esp-idf!7832
2020-03-23 21:14:13 +08:00
Simon Brélivet
456d4d4a20
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-03-23 12:28:29 +00:00
David Cermak
56725fa678
esp-netif: support for ipv6 addr types and indices
2020-03-23 12:19:38 +00:00
Andrei Gramakov
337fff703a
tinyusb: updated the license header in the driver
2020-03-23 13:11:49 +01:00
Angus Gratton
62b40284a1
Merge branch 'bufgix/esp_ota_get_app_elf_sha256' into 'master'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
Closes IDF-1342
See merge request espressif/esp-idf!7529
2020-03-23 14:24:12 +08:00
Jiang Jiang Jian
464e16cef4
Merge branch 'bugfix/Add_lwip_assert_control' into 'master'
...
lw-ip: Add lw-ip assert control
See merge request espressif/esp-idf!8027
2020-03-23 14:06:22 +08:00
Shubham Kulkarni
4858184e19
esp_http_client: Add helper API to read larger data chunks from HTTP Stream
2020-03-23 10:45:39 +05:30
Mahavir Jain
6af3456ca3
Merge branch 'bugfix/wifi_prov_not_stopping' into 'master'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
See merge request espressif/esp-idf!8019
2020-03-23 12:20:04 +08:00
Anton Maklakov
5b57ddf046
Merge branch 'bugfix/ci_build_logs_per_config' into 'master'
...
ci: generate separate log files for each {example, test app} config
See merge request espressif/esp-idf!8039
2020-03-23 11:45:32 +08:00
Marius Vikhammer
32fd9d6c63
s2 crypto: update perf test to use cache comp timer
...
Updated S2 hardware accelerated crypto to use the cache compensated timer.
Re-enabled RSA performance test and set lower targets now that results are more stable
Closes: IDF-1174
2020-03-23 11:30:55 +08:00
Renz Bagaporo
3d0967a58a
test: declare requirements and include dirs private
2020-03-23 10:58:50 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Jakob Hasse
255ae1d32f
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-03-23 09:55:40 +08:00
Piyush Shah
4b030420a1
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-03-21 06:02:55 +00:00
Mahavir Jain
409b3db22f
bootloader_support: initialize mbedtls_ctr_drbg_context per mbedtls v2.16.5 requirement
...
In commit 02d2903e39
, mbedtls was
updated to release v2.16.5, where it was made mandatory to initialize
mbedtls_ctr_drbg_context before using same. It was fixed in wpa supplicant
but missed out in secure boot v2 verification code. This commit
fixes that.
2020-03-20 20:48:22 +05:30
Felipe Neves
481379f14d
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-20 14:33:49 +00:00
Ivan Grokhotkov
dc77ccb24e
spiffs: handle CONFIG_VFS_SUPPORT_DIR
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
8a47f43cef
fatfs: handle CONFIG_VFS_FAT_SUPPORT_DIR
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
18bc25b3a6
cpu_start: handle CONFIG_VFS_SUPPORT_IO
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
33d3bff196
newlib: don't require VFS
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
4cb10ea7c2
newlib: provide default implementations for more syscalls
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
1f1ce38e5f
newlib: don't depend on VFS names when populating the syscall table
2020-03-20 14:03:44 +01:00
Ivan Grokhotkov
b203ac7b02
lwip: handle CONFIG_VFS_SUPPORT_IO=n and CONFIG_VFS_SUPPORT_SELECT=n
...
* If CONFIG_VFS_SUPPORT_IO=y, keep everything as it is now
* If CONFIG_VFS_SUPPORT_IO=n, defined syscalls which LwIP can
implement, such as read/write/close
* Make LWIP-only select implementation dependent on
CONFIG_VFS_SUPPORT_SELECT, deprecate CONFIG_LWIP_USE_ONLY_LWIP_SELECT
2020-03-20 14:03:44 +01:00
Ivan Grokhotkov
cadab2cbcf
vfs: define all implementations as esp_vfs_, create aliases
...
This change allows (in the future) to test VFS on host, without having
it conflict with the host C library. On host, all aliases would be
disabled.
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
a3c0bcb0a0
vfs: introduce options to turn off some features
...
CONFIG_VFS_SUPPORT_IO: for basic I/O functions support
CONFIG_VFS_SUPPORT_DIR: for file/directory functions support
CONFIG_VFS_SUPPORT_SELECT: for select support
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
45e50f1f2a
newlib: move dirent.h, ioctl.h headers from VFS
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
b427b23ae0
newlib: remove direct dependencies on VFS functions
...
poll: use "select" not "esp_vfs_select" move to newlib
pread, pwrite, select, utime: remove from newlib. VFS and/or LWIP will
provide aliases for these functions.
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
a5bf40b495
efuse: don't include esp_efuse_utility_debug_dump_blocks in bootloader
2020-03-20 12:31:10 +01:00
sU8U7SfkcwTJVH7PjaVmej7D
c3065c00ff
xtensa: fix sign-conversion warning
2020-03-20 11:10:43 +01:00
baohongde
1bcce4e7db
components/coex: Fix wakeup delay with DFS
2020-03-20 17:58:05 +08:00
xueyunfei
b539e54eed
optimization TCPv6 connect
2020-03-20 07:19:23 +00:00
Ivan Grokhotkov
6330b3345e
Merge branch 'bugfix/disable_rsa_perf_test' into 'master'
...
rsa: ignore performance test in CI
See merge request espressif/esp-idf!8026
2020-03-20 15:09:15 +08:00
David Čermák
e7cd3b592e
Merge branch 'bugfix/esp_netif_ppp_setdefault_fix' into 'master'
...
ESP-NETIF: Set default interface for ppp netif must be called from lw_ip context
Closes IDFGH-2672
See merge request espressif/esp-idf!7555
2020-03-20 14:50:41 +08:00
Jiang Jiang Jian
e432217a16
Merge branch 'bugfix/send_ok_when_sta_disconnect' into 'master'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect
Closes WIFI-198
See merge request espressif/esp-idf!8017
2020-03-20 13:50:55 +08:00
Jiang Jiang Jian
8ee9fbb01a
Merge branch 'bugfix/update_esp32s2_phy_lib_v300' into 'master'
...
esp_wifi: update esp32s2 phy lib v300
Closes WIFI-1087
See merge request espressif/esp-idf!8034
2020-03-20 13:48:08 +08:00
xueyunfei
b1ca95ff22
bugfix for TCPv6 send ok when sta disconnect
2020-03-20 03:10:56 +00:00
Wang Jia Lin
47253a827a
Merge branch 'bugfix/esp32s2_support_16Mbit_psram' into 'master'
...
bugfix(psram): add 16Mbit psram support for esp32s2
See merge request espressif/esp-idf!8011
2020-03-20 00:22:49 +08:00
David Cermak
fffdc1d789
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-03-19 13:16:24 +00:00
David Cermak
e8ff22b5fb
esp-netif: set default interface for ppp netif must be called from lwip context
...
On update of any interface (set up/down) a routing preference is updated calling esp_netif_update_default_netif() that is called from
lwip context. But if the related netif was ppp type, the set_default api used user-mode, thus causing a dead lock.
Closes https://github.com/espressif/esp-idf/issues/4746
2020-03-19 13:16:24 +00:00
ChenJianxing
9dd7b17deb
esp_wifi: update esp32s2 phy lib v300
2020-03-19 20:56:46 +08:00
xiehang
a133dbd848
LWIP: Add lwip assert control
2020-03-19 19:00:19 +08:00
Ivan Grokhotkov
9b20b76ae6
Merge branch 'bugfix/s2_gcm_hw' into 'master'
...
aes: Fixed tag sometime being wrong for HW GCM
See merge request espressif/esp-idf!8009
2020-03-19 18:06:25 +08:00
David Čermák
1d3dbb239a
Merge branch 'feature/ws_server' into 'master'
...
http_server: adds WebSocket support
Closes IDFGH-2151 and IDFGH-2752
See merge request espressif/esp-idf!7893
2020-03-19 17:20:56 +08:00
Marius Vikhammer
2f5e4601ef
rsa: ignore performance test in CI
...
Even with a static key the performance vary a lot between different builds.
2020-03-19 14:16:39 +08:00
Hrishikesh Dhayagude
67a6fd6f3b
NimBLE: Add support to IRAM allocation strategy
...
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
Angus Gratton
aec558eea4
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut' into 'master'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG*
Closes IDFGH-2799
See merge request espressif/esp-idf!7946
2020-03-19 11:18:09 +08:00
chenjianqiang
140e0390cc
psram: add psram size auto detect for esp32s2
2020-03-19 10:53:47 +08:00
David Cermak
1b842ce1a8
http_server: websocket server to support async send
2020-03-18 20:24:46 +00:00
Jackson Ming Hu
e983042af2
http_server: adds WebSocket support
...
This commit adds the WebSocket support for esp_http_server
library. It mainly does:
- Handling WebSocket handshake
- Parsing HTTP upgrade request
- Reply the upgrade request
- Receive WebSocket packets
- Parse header, decode to a struct
- Unmask payload (if required)
- Send WebSocket frames
- Receive WebSocket frame
- Automatic control frame handling
Merges https://github.com/espressif/esp-idf/pull/4306
Closes https://github.com/espressif/esp-idf/issues/4819
2020-03-18 20:24:46 +00:00
Jiang Jiang Jian
cd08917622
Merge branch 'feature/add_certification_version_number' into 'master'
...
esp_wifi: add certification version number.
See merge request espressif/esp-idf!7965
2020-03-18 16:17:43 +08:00
Angus Gratton
99a7581974
Merge branch 'bugfix/uecc_antifault' into 'master'
...
secure boot: Fix anti-fault value if hash is shorter than curve
See merge request espressif/esp-idf!7940
2020-03-18 15:51:09 +08:00
ChenJianxing
efd3505e51
esp_wifi: add certification version number.
2020-03-18 14:38:48 +08:00
Island
961f461f72
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit' into 'master'
...
ble_mesh: Fix ble mesh nimble host deinit
Closes BLEMESH-177 and IDFGH-2898
See merge request espressif/esp-idf!7985
2020-03-18 12:32:48 +08:00
Jiang Jiang Jian
d579c8a13e
Merge branch 'bugfix/fix_the_bugs_for_country_code' into 'master'
...
fix the bugs for country code
Closes WIFI-1569 and WIFI-1586
See merge request espressif/esp-idf!7238
2020-03-18 11:49:32 +08:00
chenjianqiang
42154848cc
psram: add 16Mbit psram support for esp32s2
2020-03-18 11:15:00 +08:00
Marius Vikhammer
ffb9010cbe
aes: Fixed tag sometime being wrong for HW GCM
...
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.
Added additional tests for AES and GCM
Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
ChenJianxing
af8d90dbc1
esp_wifi: fix esp32s2 ap mac address can not find.
2020-03-17 21:33:59 +08:00
Jiang Jiang Jian
2e7ae75011
Merge branch 'bugfix/wep40_key_parsing_bug' into 'master'
...
wpa_supplicant: Add parsing support for WEP40 key
See merge request espressif/esp-idf!7968
2020-03-17 15:42:02 +08:00
Angus Gratton
9c430a17aa
Merge branch 'feature/mpi_accel_s2' into 'master'
...
MPI/RSA accelerator bringup for S2 and bignum refactor
Closes IDF-803 and IDF-1174
See merge request espressif/esp-idf!7915
2020-03-17 13:16:05 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Angus Gratton
998eba699e
Merge branch 'bug/hw_sha_fail_alloc' into 'master'
...
s2 sha hw: Fix bug where alloc would fail if input were of len 0
See merge request espressif/esp-idf!7991
2020-03-17 09:33:14 +08:00
Ivan Grokhotkov
2a630cb8d8
Merge branch 'feature/nvs_test_erase_cycles' into 'master'
...
nvs: add a test for sector erase cycles
See merge request espressif/esp-idf!7948
2020-03-17 00:32:59 +08:00
Marius Vikhammer
7e824508a9
mpi: refactor bignum into common and hw specific components
...
Closes IDF-1174
2020-03-16 19:44:30 +08:00
Marius Vikhammer
16b6a7a903
s2 sha hw: Fix bug where alloc would fail if input were of len 0
2020-03-16 19:29:59 +08:00
zhangyanjiao
a11673ebe4
wifi: return fail when setting softAP's channnel is out of range
2020-03-16 17:34:48 +08:00
Jiang Jiang Jian
493cdf53b9
Merge branch 'bugfix/fix_scan_get_rssi_err' into 'master'
...
esp_wifi: Fix scan get rssi err
Closes WIFI-1805
See merge request espressif/esp-idf!7961
2020-03-16 17:10:13 +08:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
kapil.gupta
0ae58fc59f
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-03-16 06:14:19 +00:00
lly
ac2ef797fe
ble_mesh: Fix ble mesh nimble host deinit
2020-03-16 12:45:58 +08:00
Ivan Grokhotkov
a3e236291f
xtensa: add a script for parsing CPU traces (TRAX)
2020-03-13 17:30:29 +01:00
David Cermak
ecb419da2f
soc: minor header fix typo and include of sdkconfig
2020-03-13 12:53:52 +01:00
Jiang Jiang Jian
0ae960f2fe
Merge branch 'feature/support_esp32s2_mac_addr_offset' into 'master'
...
Add mac address offset for some esp32s2.
See merge request espressif/esp-idf!7855
2020-03-13 19:47:33 +08:00
Jiang Jiang Jian
57ad4afe7d
Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
...
esp32s2: fix when enable multi phy init data bin compile err.
Closes IDF-1459
See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Jiang Jiang Jian
df56535b7a
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled' into 'master'
...
Bugfix/compiler err when performance optimization enabled
Closes BT-688
See merge request espressif/esp-idf!7958
2020-03-13 19:41:59 +08:00
Marius Vikhammer
e21bef3f28
mpi: active hw accel for S2
...
Actives MPI/RSA hardware acceleratio for ESP32 S2.
Closes IDF-803
2020-03-13 18:33:18 +08:00
Ivan Grokhotkov
6afc116036
nvs: enable address sanitizer in host tests when building with clang
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
d2526e6dda
nvs: fix out of bounds array access in host test
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
db34a4d031
nvs: add test for erase cycles distribution
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
0cbbd948c0
nvs: clean coverage files on rebuild
...
Fixes errors reported by libgcov related to merging debug information.
2020-03-13 11:28:04 +01:00
Ivan Grokhotkov
64ceab0069
Merge branch 'feature/aes_sha_accel_s2' into 'master'
...
crypto: SHA and AES accelerator bring up for S2
Closes IDF-1443, IDF-714, and IDF-716
See merge request espressif/esp-idf!7825
2020-03-13 18:21:09 +08:00
Jiang Jiang Jian
0367fe461e
Merge branch 'bugfix/ble_mesh_miscellaneous_fix' into 'master'
...
Bugfix/ble mesh miscellaneous fix
Closes BLEMESH-174
See merge request espressif/esp-idf!7881
2020-03-13 17:50:26 +08:00
xiehang
afa4dbae16
esp_wifi: Fix ESP32S2 wifi log not printing
2020-03-13 14:48:18 +08:00
xiehang
e4698f8473
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 12:35:49 +08:00
Jiang Jiang Jian
ad7dfb77c4
Merge branch 'bugfix/reduce_wifi_bin_size' into 'master'
...
esp_wifi: Reduce Bin size
Closes WIFI-9
See merge request espressif/esp-idf!7781
2020-03-13 12:20:50 +08:00
Michael (XIAO Xufeng)
a3c9a864ab
Merge branch 'feat/spi_caps_control_dummy' into 'master'
...
spi_flash: add caps for dummy output control
See merge request espressif/esp-idf!7534
2020-03-12 22:23:49 +08:00
Mahavir Jain
453b65a608
Merge branch 'feature/upgrade_mbedtls_to_v2.16.4' into 'master'
...
mbedtls: upgrade to release v2.16.5
Closes IDFGH-2638
See merge request espressif/esp-idf!7607
2020-03-12 18:08:33 +08:00
lly
2ed1724fc2
ble_mesh: Move dev_role to the end of model_pub
2020-03-12 17:48:09 +08:00
lly
5a90ea3048
ble_mesh: Use the right netkey during iv update
2020-03-12 17:43:19 +08:00
lly
37466d957d
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-12 17:43:19 +08:00
lly
1795107533
ble_mesh: Check buf->ref before unref the buffer
2020-03-12 17:43:19 +08:00
lly
2b80649a79
ble_mesh: Fix mesh memory use-after-free issue
2020-03-12 17:43:19 +08:00
lly
08080edb1b
ble_mesh: Add ble mesh deinit in btc task
2020-03-12 17:43:19 +08:00
lly
9d3ad04667
ble_mesh: Free beacon timer when deinit mesh
2020-03-12 17:43:19 +08:00
lly
13ab2f4015
ble_mesh: Use lock for mesh timer operations
2020-03-12 17:43:19 +08:00
weitianhua
0d2790a429
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-12 16:20:58 +08:00
weitianhua
b86f4d4f00
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-12 15:07:03 +08:00
Marius Vikhammer
3351376a11
AES: optimize AES-GCM
...
HW acceleration for GCM is now enabled by default
Closes IDF-1443
2020-03-12 10:20:24 +08:00
michael
3b1fa7b8f0
spi_flash: add caps for dummy output control
2020-03-11 16:13:39 +00:00
Jiang Jiang Jian
640c7c5107
Merge branch 'bugfix/select_waiting_assert' into 'master'
...
lw-ip:fix bug for after udp close select_waiting assert
Closes WIFI-1622
See merge request espressif/esp-idf!7400
2020-03-11 21:15:57 +08:00
Mahavir Jain
1cde594460
Merge branch 'bugfix/change_function_pointer_esp_crt_bundle_attach' into 'master'
...
esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach
See merge request espressif/esp-idf!7947
2020-03-11 19:39:47 +08:00
Ivan Grokhotkov
dbdcd26902
Merge branch 'bugfix/fix_default_console_gpio_on_esp32s2' into 'master'
...
esp32s2: fix default console GPIO
See merge request espressif/esp-idf!7938
2020-03-11 18:39:17 +08:00
Aditya Patwardhan
874e987a3b
esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach
2020-03-11 15:54:05 +05:30
KonstantinKondrashov
912028273d
efuse: Using IDF_ENV_FPGA in UTs
2020-03-11 18:22:07 +08:00
KonstantinKondrashov
4c5d26085f
efuse/esp32s2: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
2020-03-11 18:22:07 +08:00
KonstantinKondrashov
ae90d5f39f
efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-03-11 18:22:07 +08:00
xueyunfei
e3ff1efe65
fix bug for after udp close select_waiting assert
2020-03-11 10:03:40 +00:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
Marius Vikhammer
37369a8a57
crypto: SHA and AES accelerator bring up for S2
...
Brings up, fixes and enables AES and SHA hardware acceleration.
Closes IDF-714
Closes IDF-716
2020-03-11 15:09:45 +08:00
Angus Gratton
59381b60c0
Merge branch 'refactor/hal_function_set_exception_vector_table' into 'master'
...
soc: add hal api to set exception vector table base address
See merge request espressif/esp-idf!7905
2020-03-11 14:44:42 +08:00
Angus Gratton
694e22b41a
Merge branch 'feature/multi_target_performance_test' into 'master'
...
Add multi-target support for performance tests
Closes IDF-1137 and IDF-1113
See merge request espressif/esp-idf!7831
2020-03-11 14:38:51 +08:00
Angus Gratton
f2d310fea7
secure boot: Fix anti-fault value if hash is shorter than curve
...
(Not actually a problem with SBV1 anti-fault as hash size == curve size in this case.)
2020-03-11 17:17:20 +11:00
Andrew
3bb41fd67e
spi: add unit test for slave receiving length
2020-03-11 13:24:30 +08:00
Mahavir Jain
02d2903e39
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-11 05:17:33 +00:00
ChenJianxing
a6c27619f2
add mac address offset for some esp32s2.
2020-03-11 13:17:23 +08:00
morris
6cb7d82120
esp32s2: fix default console GPIO
...
on ESP32-S2, the default GPIO used for UART0 is: TX-43, RX-44
2020-03-11 12:30:29 +08:00
KonstantinKondrashov
fc03161f70
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-03-10 20:26:03 +08:00
Renz Bagaporo
ee519634a5
esp_system: retain backtrace no space
2020-03-10 19:56:24 +08:00
Renz Bagaporo
7cc8cb68bd
esp_system: suppress reason display on software abort panic
2020-03-10 19:56:24 +08:00
Renz Bagaporo
890510aecd
esp32, esp32s2: move reset reason source to esp_system
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
84e80a3e50
soc: remove sdio slave hal source file duplicate
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
29ebfc3f46
esp_system: let panic handler break on debug mode on software abort
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
af9b1131a3
esp_system: share abort panic with port layer
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
2855bb6f0a
newlib: move abort to newlib
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Jiang Jiang Jian
06fa9476a5
Merge branch 'bugfix/fix_controller_disable_re_enable_crash' into 'master'
...
bugfix: fix the crash bug after controller disable and re-enable in ble bt
Closes BCI-91 and BCI-28
See merge request espressif/esp-idf!7775
2020-03-10 18:13:17 +08:00
xiehang
7569e34e89
esp_wifi: Reduce Bin size
...
1. Disable WiFi API parameter checking log
2. Optimize wifi log
2020-03-10 17:45:06 +08:00
Jiang Jiang Jian
a30557ca31
Merge branch 'mesh/feature_chain_topology' into 'master'
...
Mesh/feature chain topology
Closes WIFI-1726
See merge request espressif/esp-idf!7215
2020-03-10 17:41:11 +08:00
Andrei Gramakov
08543533d8
tinyusb: switch to esp-develop branch
2020-03-09 14:49:29 +01:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Ivan Grokhotkov
95c275109b
Merge branch 'refactor/add_target_name_for_parttool' into 'master'
...
parttool: don't print target name
See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
gengyuchao
df3f2f4cb0
bugfix/fix_controller_disable_re_enable_crash
2020-03-09 17:40:06 +08:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris
46ea7d815d
parttool: don't print target name
2020-03-09 15:05:04 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
xueyunfei
f7d2aa96bd
fix bug for netconn marked close crash
2020-03-09 06:32:41 +00:00
Angus Gratton
c1871437c8
Merge branch 'bugfix/console_repl_build_failure' into 'master'
...
bugfix reported on GitHub (ethernet, console, i2ctool)
Closes IDFGH-2780, IDFGH-2361, and IDFGH-2829
See merge request espressif/esp-idf!7886
2020-03-09 14:26:39 +08:00
Angus Gratton
df9d3c6e43
Merge branch 'refactor/print_app_description_on_startup' into 'master'
...
esp32s2: print app description on startup
See merge request espressif/esp-idf!7899
2020-03-09 14:05:04 +08:00
qiyuexia
7bd03faa4b
mesh: add chain topology
2020-03-09 06:00:42 +00:00
Jiang Jiang Jian
c2f2b0e490
Merge branch 'bugfix/Add_tx_packets_size_check' into 'master'
...
esp_wifi: Add TX packets size check
See merge request espressif/esp-idf!7859
2020-03-09 13:51:57 +08:00
Angus Gratton
f21079a06d
Merge branch 'bugfix/duplicate_sdio_slave_hal' into 'master'
...
soc: remove duplicate sdio_slave_hal.c
See merge request espressif/esp-idf!7874
2020-03-09 13:35:58 +08:00
Ivan Grokhotkov
80f50471bf
Merge branch 'bugfix/coredump_no_ext_stacks' into 'master'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
See merge request espressif/esp-idf!7835
2020-03-07 18:07:10 +08:00
Ivan Grokhotkov
8caeb6adfa
Merge branch 'bugfix/bootloader_O0_align_error' into 'master'
...
bootloader_support: force alignment of flash_read argument
See merge request espressif/esp-idf!7860
2020-03-07 18:06:30 +08:00
morris
46a3f3e516
console: make uart param configurable
...
Closes https://github.com/espressif/esp-idf/issues/4845
2020-03-07 13:23:23 +08:00
morris
0a7ccb8095
ethernet: fix potential null pointer dereference
...
Closes https://github.com/espressif/esp-idf/issues/4890
2020-03-07 12:12:29 +08:00
morris
8b6c0947c7
soc: add hal api to set exception vector table base address
2020-03-06 20:23:30 +08:00
morris
ddcba3d574
bootloader_support: read random from register
2020-03-06 15:32:01 +08:00
xiehang
91bcd5eb63
esp_wifi: Add TX packets size check
2020-03-06 15:27:24 +08:00
morris
f735b8891e
esp32s2: print app description on startup
2020-03-06 15:24:28 +08:00
Angus Gratton
a9854f7085
Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
...
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2
Closes IDFGH-1715
See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
Angus Gratton
46e6307e07
Merge branch 'bugfix/fix_passing_argument_to_ulp_cmake_script' into 'master'
...
Fix passing argument to ULP CMake script
See merge request espressif/esp-idf!7845
2020-03-06 14:37:03 +08:00
Angus Gratton
2f1815f74e
Merge branch 'bugfix/cmake_issues' into 'master'
...
CMake bugfixes
See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Angus Gratton
0e0efa28be
Merge branch 'test/stdatomic_ut' into 'master'
...
atomic: support fetch_and, fetch_and and fetch_xor
See merge request espressif/esp-idf!7852
2020-03-06 14:32:02 +08:00
Angus Gratton
f393938c22
Merge branch 'bugfix/remove_esp32s2_esp_intr_header' into 'master'
...
esp32s2: remove esp_intr.h header
See merge request espressif/esp-idf!7883
2020-03-06 14:30:28 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton
86eee73ff0
Merge branch 'bugfix/aligned_alloc_without_poisoning' into 'master'
...
bugfix/heap: Make aligned alloc and aligned free available to all heap poisoning configurations
See merge request espressif/esp-idf!7822
2020-03-06 14:11:20 +08:00
Angus Gratton
02e9e0621e
Merge branch 'bugfix/display_partition_table_info' into 'master'
...
partition_table: output partition table info for partition_table target
See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Jiang Jiang Jian
b184504a84
Merge branch 'feature/support_multiple_phy_init_data_bin' into 'master'
...
feature: support multiple phy init data
Closes WIFI-648
See merge request espressif/esp-idf!6399
2020-03-06 12:20:43 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Jiang Jiang Jian
b7a14c47e6
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace' into 'master'
...
added psram stack check in backtrace
See merge request espressif/esp-idf!7834
2020-03-06 11:35:54 +08:00
Prasad Alatkar
48bd2d74b4
NimBLE: Add Host based privacy (RPA) feature support
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
David Cermak
ab8cab1c55
mdns: limit the GOT_IP6_EVENT to only known network interfaces
2020-03-05 18:46:48 +00:00
David Cermak
eae8eaa55f
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-03-05 18:46:48 +00:00
Francesco Giancane
872272e23a
lwip: make IPV6 link-local support over PPP configurable
...
Make the link local negotiation for IPV6 in PPP optional and
configurable.
This is because some modems do not support the IPV6 negotiation and
sending IPV6CP frames would in some cases break the network
configuration phase, resulting in a timeout during the Phase Network.
Please note that this does not disable the IPV6 support for the outgoing
communication (IPV6 is still enabled even if this option is not
selected) but just for the local link between lwIP and modem.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4782
Closes https://github.com/espressif/esp-idf/issues/1065
2020-03-05 18:46:48 +00:00
Felipe Neves
d495f175d5
heap: pushed down all the aligned_alloc / free implementation
2020-03-05 11:02:19 -03:00
Renz Bagaporo
71c02394e5
esp32s2: remove esp_intr.h header
2020-03-05 16:15:59 +08:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
Jiang Jiang Jian
1e95cf3111
Merge branch 'bugfix/btdm_assert_when_create_connection_cancel' into 'master'
...
components/bt: Fix assert when create conntion cancel
See merge request espressif/esp-idf!7816
2020-03-05 14:52:36 +08:00
Prasad Alatkar
ee1ab95b98
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig
...
Closes BT-522 & BT-523
2020-03-05 13:53:04 +08:00
Renz Bagaporo
5f3a689a89
soc: remove duplicate sdio_slave_hal.c
2020-03-05 12:47:54 +08:00
Renz Christian Bagaporo
709d139a25
partition_table: output partition table info for partition_table target
2020-03-05 11:04:09 +08:00
Mahavir Jain
582f5dd697
Merge branch 'feature/https_server_mutual_auth_PR' into 'master'
...
Feature/https_server_mutual_auth
Closes IDFGH-2004
See merge request espressif/esp-idf!7626
2020-03-04 17:41:28 +08:00
Ivan Grokhotkov
22516b256f
bootloader_support: force alignment of flash_read argument
2020-03-04 09:56:01 +01:00
Jiang Jiang Jian
5724083510
Merge branch 'bugfix/coex_adjust_scheme_when_bt_is_in_connected_status' into 'master'
...
coexist: adjust coexist scheme when BT is in connected status
Closes BT-635 and WIFI-1743
See merge request espressif/esp-idf!7752
2020-03-04 15:33:09 +08:00
Michael (XIAO Xufeng)
bd7b2261a7
Merge branch 'bugfix/fix_esp32s2_soc_bug' into 'master'
...
bugfix(soc/rtc): fix soc/rtc code for esp32s2
See merge request espressif/esp-idf!7819
2020-03-04 14:07:41 +08:00
Xia Xiaotian
5aba95a326
coexist: adjust coexist scheme when BT is in connected status
2020-03-04 13:40:11 +08:00
Jiang Jiang Jian
4d0834359f
Merge branch 'feature/wpa3_testcases_support' into 'master'
...
esp_wifi: Support for additional WPA3 testcases
See merge request espressif/esp-idf!7459
2020-03-04 13:33:00 +08:00
Michael (XIAO Xufeng)
9e12586ab7
esp_common: new unit test benchmarking stdatomic operations
2020-03-04 12:20:23 +08:00
Michael (XIAO Xufeng)
8434845050
atomic: support fetch_and, fetch_and and fetch_xor
2020-03-04 11:35:23 +08:00
Mahavir Jain
5f771fb7be
Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
...
esp_wifi: fix occasional test failure due to memory leak indications
See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
Alex Lisitsyn
3efa8d7a97
core dump: add ESP32-S2 support
2020-03-03 23:37:45 +08:00
Nachiket Kukade
30d6220394
esp_wifi: Support for additional WPA3 testcases
...
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
2020-03-03 19:01:51 +05:30
chaijie
66beaaef7d
soc(rtc): modify rtc code in soc for esp32s2
2020-03-03 13:22:52 +00:00
morris
acd4d4a40b
unit test using internal signal connection
2020-03-03 20:14:46 +08:00
morris
07088c6446
rmt: disable carrier feature by default
2020-03-03 20:14:46 +08:00
morris
0e4d82bc55
rmt: support REF_TICK as channel clock source
...
Closes https://github.com/espressif/esp-idf/pull/3952
2020-03-03 20:14:46 +08:00
morris
3c43264f83
rmt: add RMT_CHANNELS_NUM in rmt_caps.h
2020-03-03 20:14:45 +08:00
Jiang Jiang Jian
ebd35a1657
Merge branch 'bugfix/wep_crash' into 'master'
...
esp-wifi: Fix crash during WEP shared auth
See merge request espressif/esp-idf!7818
2020-03-03 19:18:46 +08:00
kapil.gupta
c634de1532
esp-wifi: Fix crash during WEP shared auth
...
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +08:00
Renz Bagaporo
07a71529de
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-03 16:56:14 +08:00
David Cermak
7bf1a1db35
MQTT: Reference latest mqtt addressing c++ build and qos1/2 resend
...
Closes https://github.com/espressif/esp-idf/issues/4787
2020-03-03 07:07:57 +00:00
Jiang Jiang Jian
36e292b97d
Merge branch 'bugfix/add_hostname_in_discover_packet' into 'master'
...
lw-ip:add host name in discover packet
Closes WIFI-1702
See merge request espressif/esp-idf!7677
2020-03-03 14:25:19 +08:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
Jiang Jiang Jian
e8ca5e6f21
Merge branch 'bugfix/Add_wifi_stop_check_in_deinit_entry' into 'master'
...
esp_wifi: Add wifi stop check at wifi deinit entry
Closes WIFI-1671
See merge request espressif/esp-idf!7800
2020-03-03 12:33:05 +08:00
fuzhibo
3ad5138dd8
fix coexist i2s_adc and rtc_adc
2020-03-03 11:58:53 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Li Shuai
c796e14964
added psram stack check in backtrace
2020-03-03 11:52:29 +08:00
Angus Gratton
bfc37ab43f
Merge branch 'bugfix/spiflash_read_psram' into 'master'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
Closes IDFGH-2698
See merge request espressif/esp-idf!7768
2020-03-03 10:20:15 +08:00
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Angus Gratton
fb340940d3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-03 00:17:27 +00:00
Ivan Grokhotkov
4f32a06f87
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-03-02 14:43:05 +01:00
morris
580ce8fa4a
driver: clean pcnt.h i2s.h
2020-03-02 19:31:29 +08:00
xueyunfei
1dfd4d7c42
add host name in discover packet
2020-03-02 08:18:28 +00:00
Aditya Patwardhan
cc0eec52ff
esp_https_server: Fixed a PR which adds support for mutual auth in
...
https_server
Closes https://github.com/espressif/esp-idf/pull/4184
Closes IDFGH-2004
2020-03-02 12:36:36 +05:30
Maximilian Schmidt
559cd57ea6
Support MutualAuthentication in HTTPsServer
2020-03-02 12:28:30 +05:30
xiehang
299ab1360c
eps_wifi: Add wifi stop check at wifi deinit entry
2020-03-02 14:20:28 +08:00
zhangyanjiao
36c726de99
esp_wifi: fix bugs related to espnow and channel set
...
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00
Renz Christian Bagaporo
eb865008d5
cmake: show error message on encrypted flash targets without proper config
2020-03-02 07:18:22 +05:00
Jiang Jiang Jian
6fd855ab8d
Merge branch 'bugfix/IPV6_multicast_adress_error' into 'master'
...
lw-ip:fix ipv6 bug when input the wrong broadcast
Closes IDF-1226
See merge request espressif/esp-idf!7771
2020-02-29 16:24:19 +08:00
Felipe Neves
98e561b79a
heap: added aligned alloc implementation on multi_heap layer
2020-02-28 13:17:34 -03:00
liu zhifu
6fa0ef50d1
esp_wifi: fix S2 WiFi RX filter issue
2020-02-28 21:37:30 +08:00
Jiang Jiang Jian
520ae6543d
Merge branch 'bugfix/add_ant_field_for_esp32s2' into 'master'
...
(S2) WiFi: add ant field for esp32s2 and update phy lib v102 to v202
Closes WIFI-1787 and WIFI-1788
See merge request espressif/esp-idf!7676
2020-02-28 21:17:40 +08:00
baohongde
d2aa4a1e50
components/bt: Fix assert when create conntion cancel
2020-02-28 20:13:41 +08:00
ChenJianxing
a182c0682e
(S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202
2020-02-28 17:44:21 +08:00
Jiang Jiang Jian
40baff19f8
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion' into 'master'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion
See merge request espressif/esp-idf!7785
2020-02-28 17:19:40 +08:00
liu zhifu
940b4786c5
esp_wifi: fix the bug that WiFi stop leads to memory leak
2020-02-28 12:06:26 +08:00
xueyunfei
74e690402c
fix ipv6 bug when input the wrong broadcast
2020-02-28 12:00:45 +08:00
Angus Gratton
04ccb84b83
Merge branch 'feature/cpu_abstraction' into 'master'
...
CPU related operations abstraction
See merge request espressif/esp-idf!7301
2020-02-28 11:54:29 +08:00
wangmengyang
3428a1ad0b
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-28 11:36:48 +08:00
Mahavir Jain
2187948cf0
Merge branch 'bugfix/use_less_ram_for_esp_event_performance_test' into 'master'
...
esp_event: reduce event bases registered in performance test
See merge request espressif/esp-idf!7807
2020-02-28 11:25:24 +08:00
Michael (XIAO Xufeng)
ce3ab0b8df
Merge branch 'bugfix/nec_example' into 'master'
...
bugfix in NEC example and low level function
Closes IDFGH-2676 and IDFGH-2689
See merge request espressif/esp-idf!7562
2020-02-28 11:00:50 +08:00
Mahavir Jain
371b3d26ee
Merge branch 'feature/https_server_using_wolfssl' into 'master'
...
Feature/https server using wolfssl
See merge request espressif/esp-idf!7422
2020-02-27 18:57:12 +08:00
Renz Christian Bagaporo
c643f743ce
esp_event: halve the events registered in performance test
2020-02-27 15:54:54 +05:00
Mahavir Jain
5f897fd33c
Merge branch 'feat/secure_boot_v2_v41' into 'master'
...
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3
Closes IDF-799
See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Aditya Patwardhan
c6ad650796
esp_tls_wolfssl: Add support for DER formatted certificates
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
0a25922043
esp_tls_wolfssl: 1) Fix SNI for wolfSSL
...
2) Fix error captures
3) Add error flags specific wolfSSL
4) make respective changes to esp_err_to_name.c
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
d35862b662
esp-tls: Add support for https_server using wolfSSL
2020-02-27 15:20:22 +05:30
Angus Gratton
26efc5a6d0
bootloader: Set the bootloader optimization level separately to the app
...
Change the default bootloader config to -Os to save size.
This is a useful feature because it allows switching between debug
and release configs in the app without also needing to account for a
size change in the bootloader.
2020-02-27 14:38:52 +05:30
Angus Gratton
d40c69375c
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Angus Gratton
0dacff4df4
secure boot: Encrypt the bootloader signature when enabling flash encryption + secure boot v2
2020-02-27 14:32:42 +05:30
Jiang Jiang Jian
4bd9c2ff64
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue' into 'master'
...
bugfix: Place the Vendor Specific element at the end according to the protocol
Closes WIFI-705
See merge request espressif/esp-idf!7669
2020-02-27 14:31:45 +08:00
Jiang Jiang Jian
5ab8250bde
Merge branch 'feat/ble_mesh_update' into 'master'
...
ble_mesh: Miscellaneous modifications
Closes BLEMESH-139 and BLEMESH-38
See merge request espressif/esp-idf!7385
2020-02-27 11:34:58 +08:00
Michael (XIAO Xufeng)
7f8c827326
Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
...
bugfix(pcnt): fix driver ut pcnt
See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Renz Christian Bagaporo
d46989efa3
soc: remove param checking in cpu related abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
f75cb2ef00
soc: change cpu stall, unstall, and reset core to not return values
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
d5c123c1f5
soc: use own macro to assert proper args for cpu abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7386ac6d15
esp32s2: remove calls to stall/unstall other core
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7f864d24ad
soc: prefer assertions, disabling functions for cpu abstractions
...
Prefer assertions, making available functions only when caps support it
for cpu-related abstractions.
Changes cpu hal functions to stall, unstall, reset to not accept -1;
instead prefering macros that provide the same functionality.
2020-02-27 07:15:14 +05:00
Renz Christian Bagaporo
cefc71cdcd
bootloader_support: mem-related initializations using cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
db608736fb
freertos: implement get core id with cpu abstraction
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
f3c6320ff6
soc: implement cpu utils in terms of cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
c9a51bfbb2
soc: create abstraction for cpu related operations
2020-02-27 07:14:19 +05:00
Jiang Jiang Jian
ac55328efd
Merge branch 'bugfix/fix_sae_test_failure' into 'master'
...
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
See merge request espressif/esp-idf!7792
2020-02-26 22:38:06 +08:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Sagar Bijwe
0f1710d878
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-02-26 17:50:08 +05:30
Michael (XIAO Xufeng)
c53192d521
Merge branch 'bugfix/fix_uart_set_line_inverse_breaking_change_issue' into 'master'
...
Bugfix(uart): fix uart_set_line_inverse breaking change issue
Closes IDFGH-2469
See merge request espressif/esp-idf!7345
2020-02-26 18:34:52 +08:00
Michael (XIAO Xufeng)
9d8e590d86
Merge branch 'fix/spi_flash_legacy_on_esp32s2' into 'master'
...
spi_flash: fix the reading issue using the ROM functions on ESP32-S2
See merge request espressif/esp-idf!7767
2020-02-26 18:04:51 +08:00
lly
134f57b8e0
ble_mesh: Calc incomplete timeout based on msg info
2020-02-26 17:42:04 +08:00
lly
087bafe5b9
ble_mesh: Start the timer when starting to send the client message
2020-02-26 17:41:46 +08:00
lly
90f8a54a71
ble_mesh: No timeout for client message to non-unicast address
2020-02-26 17:41:30 +08:00
lly
97eca35805
ble_mesh: Unify client application and lower transport layer timeout
2020-02-26 17:41:11 +08:00
lly
e24645c791
ble_mesh: Allow maximum 377 octets payload
2020-02-26 17:40:46 +08:00
lly
828bfeac88
ble_mesh: Reset transport info when node is removed
2020-02-26 17:40:23 +08:00
lly
48343a8a8f
ble_mesh: Provisioner ignores msg from removed node
2020-02-26 17:39:55 +08:00
lly
7cd08b5824
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-26 17:37:44 +08:00
xiongyu
4d5c950770
bugfix(pcnt): fix driver ut pcnt
...
* Let `[ignore] case` return to freedom
1) Because this test uses its own ISR, we need to release it with `esp_intr_free` instead of `pcnt_isr_service_uninstall`.
2) `pcnt_evt_queue` needs to be created before the interrupt is registered and needs to be released at the end of each case.
* Add test support for ESP32S2
* Support chip internal connection, no external wiring required.
2020-02-26 16:52:53 +08:00
Michael (XIAO Xufeng)
160d3bd416
Merge branch 'refactor/i2c_const_and_param_check' into 'master'
...
I2C: const correctness and better param check
See merge request espressif/esp-idf!7582
2020-02-26 16:06:57 +08:00
Jakob Hasse
3bcc6b48af
I2C: i2c.h/i2c.c applied new code formatting
2020-02-26 15:12:03 +08:00
Mahavir Jain
6cc4859d02
Merge branch 'feature/enable_protocomm_tests_for_s2' into 'master'
...
protocomm: enable test cases for esp32s2 with software AES
Closes IDF-1399
See merge request espressif/esp-idf!7675
2020-02-26 11:23:02 +08:00
michael
f1a4c84e57
GPIO: fix unit test issue on ESP32-S2
...
Also rename some test variables.
2020-02-26 11:12:09 +08:00
michael
7a3f21636f
spi_flash: fix the reading issue using the ROM functions in the ROM
2020-02-26 11:12:09 +08:00
michael
f8fae4c80c
spi_flash: resume unit tests for ESP32-S2
2020-02-26 11:12:08 +08:00
houwenxiang
4883733472
driver(I2C): support esp32-s2 I2C driver.
2020-02-25 21:56:00 +08:00
Jiang Jiang Jian
02e2c30ba2
Merge branch 'bugfix/hfp_github_issues' into 'master'
...
Bugfix/hfp github issues
Closes BT-614, BT-639, and BT-633
See merge request espressif/esp-idf!7753
2020-02-25 21:05:56 +08:00
Mahavir Jain
b3e7e61f23
protocomm: enable test cases for esp32s2 with software AES
2020-02-25 18:05:35 +05:30
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Michael (XIAO Xufeng)
8f496a0f96
Merge branch 'refactor/add_ll_for_clock_gate_operation' into 'master'
...
periph_ctrl: move target specific into ll files
See merge request espressif/esp-idf!7733
2020-02-25 16:56:30 +08:00
Jiang Jiang Jian
cc7b5ed6d2
Merge branch 'feature/resume_several_tests_on_esp32s2' into 'master'
...
Resume several tests on esp32s2
Closes IDF-1013, IDF-1025, and IDF-1030
See merge request espressif/esp-idf!7751
2020-02-25 14:28:14 +08:00
ronghulin
9afdcb2c70
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-02-25 14:18:50 +08:00
Mahavir Jain
33cdd09385
Merge branch 'bugfix/ota_with_redirection' into 'master'
...
Fix OTA in case of a redirection
See merge request espressif/esp-idf!7596
2020-02-25 13:08:00 +08:00
Supreet Deshpande
a9ccc5e5c8
feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3
2020-02-25 01:28:22 +05:30
Shubham Kulkarni
63cd95d236
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-02-24 16:53:40 +05:30
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
morris
e9717fc07b
periph_ctrl: move target specific into ll files
2020-02-24 14:50:26 +08:00
Jakob Hasse
d230d44e2d
I2C: const correctness, checking SDA/SCL GPIOs
...
* const correctness in i2c_slave_write_buffer()
* i2c_set_pin() additionally checks whether
SDA and SCL pins are the same number
2020-02-24 14:30:28 +08:00
morris
2227e2505b
resume wifi init test on esp32s2
2020-02-24 14:03:25 +08:00
morris
ea8d6318af
add SOC_EMAC_SUPPORTED in soc_caps.h
2020-02-24 11:57:58 +08:00
Jiang Jiang Jian
c65b67115a
Merge branch 'bugfix/wifi_run_modem_sleep_on_esp32s2' into 'master'
...
esp_wifi: run modem sleep on ESP32S2
Closes WIFI-1767
See merge request espressif/esp-idf!7682
2020-02-24 11:44:37 +08:00
houwenxiang
c07e4c775d
driver(uart): fix uart_set_line_inverse breaking change issue
...
closes https://github.com/espressif/esp-idf/issues/4581
2020-02-24 11:36:31 +08:00
Jiang Jiang Jian
7092613eea
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk' into 'master'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk
Closes BT-582
See merge request espressif/esp-idf!7439
2020-02-21 21:21:54 +08:00
Xia Xiaotian
6faaa0ea6b
esp_wifi: run modem sleep on ESP32S2
2020-02-21 19:58:41 +08:00
Ivan Grokhotkov
5ccfc332ea
Merge branch 'feature/nvs_erase_check_init' into 'master'
...
NVS Flash: prevent erasing initialized partition
See merge request espressif/esp-idf!7615
2020-02-21 17:47:45 +08:00
Jiang Jiang Jian
e2d8f81ef5
Merge branch 'bugfix/fix_esp32s2_chip_version_name' into 'master'
...
wifi: Change esp32s2beta dirname to esp32s2 in wifi-lib
See merge request espressif/esp-idf!7654
2020-02-21 17:45:08 +08:00
Jiang Jiang Jian
d3d4746bb7
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration' into 'master'
...
lw-ip: Add option to ipv6 stateless address configuration
See merge request espressif/esp-idf!7697
2020-02-21 14:53:03 +08:00
Ivan Grokhotkov
b90a68f89b
Merge branch 'bugfix/esp32s2_trax' into 'master'
...
xtensa: add TRAX support for esp32s2
Closes IDF-1408
See merge request espressif/esp-idf!7683
2020-02-21 09:58:15 +08:00
Fu Zhi Bo
7a5b67b8de
rtcio: fix rtcio unhold function
...
Solve problems caused by code refactoring.
Closes https://github.com/espressif/esp-idf/issues/4600
2020-02-20 15:42:28 +08:00
Sagar Bijwe
bbd0ff5347
wifi: Change esp32s2beta dirname to esp32s2 in wifi-lib
2020-02-20 06:57:10 +00:00
wangmengyang
d6e672ed51
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-20 14:34:28 +08:00
xiehang
a4b16213ad
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:30:21 +08:00
Jiang Jiang Jian
959b0295f3
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_anther_connection' into 'master'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7651
2020-02-20 14:15:22 +08:00
Jiang Jiang Jian
a512d6e15a
Merge branch 'bugfix/coex_fix_misspell_in_kconfig' into 'master'
...
components/coex: Fix misspell in Kconfig
See merge request espressif/esp-idf!7670
2020-02-20 14:15:04 +08:00
Jiang Jiang Jian
adf10e4469
Merge branch 'bugfix/btdm_role_switch' into 'master'
...
Fix bugs about role switch
Closes BT-458 and BT-482
See merge request espressif/esp-idf!6878
2020-02-20 13:39:25 +08:00
Jakob Hasse
c6deffb8a2
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-02-19 18:16:04 +01:00
Michael (XIAO Xufeng)
fa4eba2e34
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration' into 'master'
...
Bugfix (LEDC): Add missing ledc_set_pin declaration
Closes IDFGH-2546
See merge request espressif/esp-idf!7344
2020-02-20 00:22:43 +08:00
Ivan Grokhotkov
8fec484d2b
xtensa: add TRAX support for esp32s2
2020-02-19 14:02:14 +01:00
baohongde
d11a86076f
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-19 20:14:47 +08:00
Ivan Grokhotkov
40cff27053
Merge branch 'feature/esp32s2_pm' into 'master'
...
esp32s2: power management (DFS and auto light sleep)
Closes IDF-670, IDF-527, and IDFGH-231
See merge request espressif/esp-idf!7578
2020-02-19 18:26:33 +08:00
Ivan Grokhotkov
32ea031b19
Merge branch 'bugfix/bootloader_custom_console_pins' into 'master'
...
Fix bootloader build if custom UART pins are used (Github PR + ESP32-S2 + test)
See merge request espressif/esp-idf!7665
2020-02-19 16:56:15 +08:00
Paul Abbott
b75e3de447
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
...
Merges https://github.com/espressif/esp-idf/pull/4632
2020-02-19 16:02:33 +08:00
baohongde
6ca361fd2b
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 07:14:26 +00:00
Ivan Grokhotkov
f69f05ecd7
bootloader: esp32s2: fix enabling custom console pins
2020-02-19 08:13:23 +01:00
baohongde
364a9dece0
components/coex: Fix misspell in Kconfig
2020-02-19 11:41:03 +08:00
Ivan Grokhotkov
fe0df01b12
Merge branch 'bugfix/from_github' into 'master'
...
Fixes from Github
Closes IDFGH-2679, IDFGH-2632, IDFGH-2716, IDFGH-2439, and IDFGH-2509
See merge request espressif/esp-idf!7659
2020-02-18 23:53:38 +08:00
Nebojsa Cvetkovic
d649ea96ce
soc: Add missing gpio_periph.h header
2020-02-18 13:10:37 +00:00
Jiang Jiang Jian
a06f025e61
Merge branch 'bugfix/coex_watchdog_timeout_with_sleep_enabled' into 'master'
...
components/coex: Fix watchdog timeout when sleep enabled
See merge request espressif/esp-idf!7419
2020-02-18 20:55:30 +08:00
Jiang Jiang Jian
6d03758ac4
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp' into 'master'
...
ble_mesh: Fix compile error with c++ files
Closes BMCI-52
See merge request espressif/esp-idf!7579
2020-02-18 20:43:55 +08:00
Alexander Borsuk
e489e48dfa
Fixes compilation error on verbose level (IDFGH-2439)
...
Closes #4552
Merges https://github.com/espressif/esp-idf/pull/4786
2020-02-18 12:30:47 +01:00
Jiang Jiang Jian
1a7d0b3b6f
Merge branch 'bugfix/esp32s2_rng' into 'master'
...
soc: esp32s2: fix address of WDEV_RND_REG
Closes IDF-1390
See merge request espressif/esp-idf!7640
2020-02-18 19:07:51 +08:00
Wang Jia Lin
f02399948d
Merge branch 'bugfix/i2s_adc_output_invert' into 'master'
...
bugfix(i2s): fix adc output invert issue
See merge request espressif/esp-idf!7180
2020-02-18 18:29:23 +08:00
Ivan Grokhotkov
e94cf2f807
Merge branch 'bugfix/make_monitor' into 'master'
...
make: fix 'make monitor' target when core dump is not enabled
See merge request espressif/esp-idf!7641
2020-02-18 16:22:20 +08:00
Ivan Grokhotkov
f31fc368bf
make: fix 'make monitor' target when core dump is not enabled
2020-02-18 08:34:16 +01:00
Ivan Grokhotkov
19c2337168
soc: esp32s2: fix address of WDEV_RND_REG
...
Ref. ESP32-S2 TRM.
Closes IDF-1390
2020-02-18 08:24:33 +01:00
Hrishikesh Dhayagude
3080cad4da
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 14:42:07 +08:00
baohongde
66a01ef490
components/coex: Fix watchdog timeout when sleep enabled
...
Fix crash without enabling sw coex
2020-02-18 03:35:24 +00:00
blueMoods
6a922ea07c
components/bt: change HCI task size back
2020-02-18 03:06:09 +00:00
Angus Gratton
a0644bf8ae
Merge branch 'test/resume_ut_esp32s2' into 'master'
...
ci: resume esp32s2 unit tests
See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
Angus Gratton
a6066c801d
Merge branch 'feature/efuse_using_rom_set_timing_func' into 'master'
...
(S2) efuse: Using a ROM function for set_timing
Closes IDF-990
See merge request espressif/esp-idf!7594
2020-02-18 10:29:16 +08:00
Angus Gratton
e95ba301d8
Merge branch 'bugfix/use_quotes_in_embedding_ulp_apps' into 'master'
...
ulp: use quotes when specifying files for embedding ulp binaries
See merge request espressif/esp-idf!7606
2020-02-18 09:15:50 +08:00
KonstantinKondrashov
146c788bd4
(S2) efuse: Using a ROM function for set_timing
...
Closes: IDF-990
2020-02-18 01:10:57 +00:00
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
Angus Gratton
99cdddeb63
docs: Fix broken or incorrect link roles to IDF files & directories
2020-02-18 10:34:11 +11:00
Ivan Grokhotkov
cee7377e3c
esp32s2: hide “FPGA” as an option for CPU frequency
...
unless IDF_ENV_FPGA is set.
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
a8ad9d6b43
esp32s2: use smaller RTC_CLK_CAL_CYCLES by default
...
Reduce the number proportionally to the frequency (160k on ESP32,
90k on ESP32-S2).
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
383ace9443
rtc_clk_cal: make compatible with the ESP32
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
490bf29767
esp32s2: fix enabling 32k XTAL clock
...
On the ESP32S2, rtc_clk_cal(RTC_CAL_RTC_MUX) measures the frequency
of the 90kHz RTC clock regardless of the selected slow clock
frequency. Keep track which clock is selected and pass the argument
to rtc_clk_cal accordingly.
fix clock choices
update rtc 32k xtal code for s2
missed api in rtc.h
bootloader_clock: update for S2
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
74ac618287
soc/rtc: update frequency switching APIs to match the master branch
...
esp32s2 code was based in IDF v3.1, and used outdated APIs.
Closes IDF-670
2020-02-17 17:23:32 +01:00
Ivan Grokhotkov
d2d3269159
esp32s2: sync esp_pm code from esp32
2020-02-17 16:03:47 +01:00
Ivan Grokhotkov
d37a419dfc
esp_pm: esp_pm_dump_locks: don't print from a critical section
2020-02-17 16:03:47 +01:00
xiongyu
61778d5b7c
bugfix(i2s): fix adc output invert issue
2020-02-17 17:15:01 +08:00
morris
0d521e8f9d
rmt: fix missing 0x in rmt_ll.h
...
Closes https://github.com/espressif/esp-idf/issues/4760
2020-02-17 15:20:41 +08:00
Jiang Jiang Jian
23c62a4225
Merge branch 'bugfix/update_docs_for_wifi_header' into 'master'
...
esp_wifi: Update docs for wifi headers
See merge request espressif/esp-idf!7604
2020-02-17 15:17:28 +08:00
Krzysztof Budzynski
41bc06b9b9
Merge branch 'bugfix/docs_ledc' into 'master'
...
drivers: Remove high speed mode from LEDC docs for ESP32-S2, update headers to match
See merge request espressif/esp-idf!7532
2020-02-17 05:00:36 +08:00
michael
2529eda907
ci: disable failed cases for s2 temporarily
2020-02-15 18:28:25 +08:00
michael
1c7ffbaa19
app_update: rename ut name
2020-02-15 18:28:25 +08:00
michael
d16ad4a67a
ci: disable case witout runners
2020-02-15 18:28:25 +08:00
michael
24b16b0b19
ci: resume esp32s2 unit tests
2020-02-15 18:28:24 +08:00
Jiang Jiang Jian
4c48208e2c
Merge branch 'bugfix/sock_lock_crash' into 'master'
...
lw-ip:fix bug for crash when socket lock not initialized
Closes WIFI-1713
See merge request espressif/esp-idf!7597
2020-02-15 13:41:49 +08:00
Konstantin Kondrashov
565eee12a0
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-02-15 13:14:08 +08:00
Jiang Jiang Jian
7d39f435a3
Merge branch 'bugfix/ble_crash_irq_miss' into 'master'
...
Fix ble crash issue triggered by ble event irq miss(0x20000) (819979b9)
See merge request espressif/esp-idf!7490
2020-02-14 19:53:49 +08:00
Jiang Jiang Jian
928438056d
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
Closes BT-565
See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00
Jiang Jiang Jian
d058be6720
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt' into 'master'
...
components/bt: Fix error EIR type in config eir event
Closes BT-593
See merge request espressif/esp-idf!7404
2020-02-14 16:38:08 +08:00
Nachiket Kukade
883071fe8c
esp_wifi: Update docs for wifi headers
2020-02-14 12:23:27 +05:30
Jiang Jiang Jian
54a50f4532
Merge branch 'feature/support_esp32s2_wifi_v2' into 'master'
...
WiFi: Add support for ESP32S2
See merge request espressif/esp-idf!7505
2020-02-14 11:54:13 +08:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Ivan Grokhotkov
cdb947113e
Merge branch 'feature/esp_event_multiple_register' into 'master'
...
ESP-Event: Feature/esp event multiple register
See merge request espressif/esp-idf!7384
2020-02-13 19:02:09 +08:00
Ivan Grokhotkov
a70a6f8974
Merge branch 'feature/nvs_support_data_encodings' into 'master'
...
Feature/nvs support data encodings
See merge request espressif/esp-idf!7557
2020-02-13 19:00:25 +08:00
sushant.chougule
74c7db3f49
Fix ble crash issue triggered by ble event irq miss(0x20000) (d2a1d18d)
2020-02-13 16:16:21 +05:30
xueyunfei
5f904c5b4e
fix bug for crash when socket lock not initialized
2020-02-13 18:00:46 +08:00
ChenJianxing
3e3753faf4
update WiFi libs for both esp32 and esp32s2.
2020-02-13 16:58:36 +08:00
Ivan Grokhotkov
8d8337e80c
Merge branch 'feat/sdspi_polling_spi' into 'master'
...
sdspi: allow using sdspi with other devices on the same bus
See merge request espressif/esp-idf!3177
2020-02-13 15:18:59 +08:00
Jiang Jiang Jian
b42fc77e11
Merge branch 'bugfix/ble_mesh_utf_8_comma' into 'master'
...
ble_mesh: Kconfig included a UTF-8 comma
See merge request espressif/esp-idf!7574
2020-02-13 11:10:43 +08:00
lly
326ccfca88
ble_mesh: Fix compile error with c++ files
2020-02-12 21:24:32 +08:00
Jiang Jiang Jian
dbe1164ecc
Merge branch 'bugfix/fix_airkiss_bug' into 'master'
...
fix the bug for Airkiss
Closes WIFI-1670
See merge request espressif/esp-idf!7347
2020-02-12 20:12:19 +08:00
Chinmay Chhajed
6d96217204
Future events scheduling error in case of wifi and bluetooth.
...
After this commit, global interrupts will be disabled before taking
current time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-02-12 20:04:21 +08:00
lly
bfb27addda
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:21:09 +08:00
Ivan Grokhotkov
b942327a25
Merge branch 'bugfix/esp_netif_hostname' into 'master'
...
esp_netif: fix get/set hostname API to reflect user settings
See merge request espressif/esp-idf!7547
2020-02-12 17:53:58 +08:00
zhangyanjiao
50b9ccf8b4
fix the bug for Airkiss
...
Closes https://github.com/espressif/esp-idf/issues/3362
2020-02-12 08:27:09 +00:00
Jiang Jiang Jian
cedea18acb
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start' into 'master'
...
soc: clear PHY status when cpu start
Closes AUD-1125
See merge request espressif/esp-idf!7493
2020-02-12 15:34:46 +08:00
Michael (XIAO Xufeng)
48a62b3490
sdspi: use polling transactions to increase reading speed.
2020-02-12 15:16:19 +08:00
Michael (XIAO Xufeng)
067f3d21c9
sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards
2020-02-12 15:16:08 +08:00
Michael (XIAO Xufeng)
278634dcbd
sdspi: support crc16_be for esp32s2
2020-02-12 15:15:46 +08:00
Angus Gratton
c1d0daf36d
Merge branch 'refactor/restructure_soc_component' into 'master'
...
soc: separate abstraction, description and implementation
See merge request espressif/esp-idf!7261
2020-02-12 07:50:10 +08:00
Ivan Grokhotkov
f9bc4fc08b
Merge branch 'bugfix/watchpoint_on_shared_stacl' into 'master'
...
shared_stack: fixed watchpoint placement on shared stack
See merge request espressif/esp-idf!7522
2020-02-12 06:32:49 +08:00
Bruno Binet
7084015884
Update NVS Partition Generator Utility documentation
...
to add support for i16, u64, i64 types
2020-02-11 11:18:19 +00:00
Bruno Binet
cab895f459
NVS: add support for i16, u64, i64 types to NVS partition generation tool
2020-02-11 11:18:19 +00:00
Jakob Hasse
9b4815e3c8
ESP Event: multiple registrations to one event
...
* It's possible now to register the same handler
several times to one specific event, using
a dynamic handle object.
2020-02-11 10:52:05 +01:00
Renz Christian Bagaporo
16e0c93e40
ci: solve public headers errors
2020-02-11 14:30:42 +05:00
Renz Christian Bagaporo
b675df4b08
soc: use include_next for including common touch sensor hal header
2020-02-11 14:30:42 +05:00
Renz Christian Bagaporo
1f2e2fe8af
soc: separate abstraction, description and implementation
2020-02-11 14:30:42 +05:00
Jiang Jiang Jian
7f4309d0f1
Merge branch 'feature/esp32_5p0_code_optimize' into 'master'
...
controller flash code optimize
See merge request espressif/esp-idf!7409
2020-02-11 17:29:08 +08:00
Jiang Jiang Jian
7647b5c668
Merge branch 'bugfix/eapol_log_verbosity' into 'master'
...
wpa_supplicant: Add wpa_supllicant debug logging as a configurable option
Closes WIFI-976
See merge request espressif/esp-idf!7289
2020-02-11 16:10:07 +08:00
David Cermak
3904be6b0f
ESP-NETIF: add unit test for get/set hostname API
2020-02-11 07:36:32 +01:00
David Cermak
7c8cbe02e4
ESP-NETIF: fix get/set hostname API to reflect user settings
...
On startup of the common interface (ethernet, wifi), the lwip netif hostname was assigned to confg value .
Fixed to assign to esp-netif hostname if it exists
Closes https://github.com/espressif/esp-idf/issues/4737
2020-02-11 07:35:12 +01:00
Angus Gratton
c1eef95ec1
Merge branch 'bugfix/test_fp_switch' into 'master'
...
esp32: use semaphore in FP switch test, raise worker task priority
See merge request espressif/esp-idf!7526
2020-02-11 12:05:04 +08:00
Angus Gratton
ea34f3bb27
drivers: Remove high speed mode from LEDC docs for ESP32-S2, update headers to match
2020-02-11 14:36:47 +11:00
David Cermak
50588ff3f7
esp-compiler: add designated init macros to make esp configuration pattern viable under C++
2020-02-10 19:40:28 +01:00
David Cermak
d8da662dec
ESP-NETIF: Add unit test for additional API
2020-02-10 19:40:23 +01:00
Felipe Neves
9c8289b0d9
shared_stack: using watchpoint 1 to monitor the shared_stack instead of watchpoint 0
2020-02-10 12:03:30 -03:00
Felipe Neves
33c9826372
shared_stack: fixed watchpoint placement on shared_stack
2020-02-10 12:03:30 -03:00
David Cermak
02cdef086f
ESP-NETIF: easier creation for WiFi interfaces with custom parameters
...
Closes https://github.com/espressif/esp-idf/issues/4611
Closes IDFGH-2523
2020-02-10 14:22:07 +01:00
Ivan Grokhotkov
7304651320
esp32: use semaphore in FP switch test, raise worker task priority
2020-02-10 13:36:43 +01:00
Angus Gratton
c5d05b5c4f
Merge branch 'feature/usb_support4soc' into 'master'
...
Added usb registers structures
See merge request espressif/esp-idf!6811
2020-02-10 18:00:39 +08:00
Ivan Grokhotkov
f11b8f14c7
Merge branch 'feature/support_enc28j60' into 'master'
...
Added ENC28J60 Example
Closes IDFGH-2295
See merge request espressif/esp-idf!6877
2020-02-10 17:18:38 +08:00
Ivan Grokhotkov
70d99fa986
Merge branch 'bugfix/stage_two_bootloader_linking' into 'master'
...
Fixes accessing some files from 2nd part of the bootloader.
See merge request espressif/esp-idf!7531
2020-02-10 17:13:12 +08:00
Andrei Gramakov
4e8b4b9e49
soc: add USB peripheral register definitions, hal level, reg map, etc
2020-02-10 08:33:39 +00:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
Supreet Deshpande
2bf329eb2c
Fixes accessing some files from 2nd part of the bootloader.
2020-02-10 12:34:18 +05:30
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
Ivan Grokhotkov
966f4227ad
Merge branch 'refactor/simplify_console_examples' into 'master'
...
console: simplify console examples
Closes IDF-1110
See merge request espressif/esp-idf!7040
2020-02-10 04:18:58 +08:00
Konstantin Kondrashov
daa9c30c8e
rmt/esp32s2: Update RMT: reg, struct, LL and test_utils/ref_clock.c
2020-02-09 20:03:31 +08:00
Ivan Grokhotkov
4bfd0b961b
Merge branch 'fix/spi_on_esp32s2' into 'master'
...
spi: support esp32s2
See merge request espressif/esp-idf!7432
2020-02-09 19:45:16 +08:00
Ivan Grokhotkov
e5cb972c3a
Merge branch 'bugfix/fix_esp32s2_flash_rw' into 'master'
...
flash(esp32s2): fix setting address field in spi user mode.
See merge request espressif/esp-idf!7380
2020-02-09 18:05:22 +08:00
Mahavir Jain
577abc4472
Merge branch 'bugfix/newlib_nano_lib_linking' into 'master'
...
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled
See merge request espressif/esp-idf!7527
2020-02-08 12:48:12 +08:00
Ivan Grokhotkov
98bb3772e0
soc: spi_flash LL fixes
2020-02-07 16:18:31 +01:00
Wangjialin
aaf119e930
flash(esp32s2): fix setting address field in spi user mode.
2020-02-07 16:10:51 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
Mahavir Jain
3803b17048
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled
2020-02-07 16:17:25 +05:30
David Cermak
3ecb731c23
mqtt: example test to check connection with different ssl parameters
2020-02-07 10:35:40 +01:00
David Cermak
b8e47eb56f
mqtt: add basic set of unit tests
2020-02-07 10:35:40 +01:00
Ivan Grokhotkov
13623ef430
Merge branch 'feature/esp32s2_image_version' into 'master'
...
bootloader_support: add esp_chip_id_t value for ESP32-S2
See merge request espressif/esp-idf!7521
2020-02-07 16:43:21 +08:00
Angus Gratton
613c4e985f
Merge branch 'doc/multi_target' into 'master'
...
docs: Multi target build support
Closes IDF-523
See merge request espressif/esp-idf!6791
2020-02-07 15:20:53 +08:00
Angus Gratton
f91080637c
Merge branch 'bugfix/part_gen_subtype_fix' into 'master'
...
partition_table: Fix subtype in gen_esp32part.py
Closes IDFGH-2646
See merge request espressif/esp-idf!7508
2020-02-07 14:31:02 +08:00
Angus Gratton
eb85cfb9f6
docs: Temporarily mark RF calibration chapter as ESP32 only
...
Can be re-enabled once ESP32-S2 calibration support is added
2020-02-07 16:37:45 +11:00
Angus Gratton
11fac8637a
docs: Resolve doxygen & Sphinx warnings
2020-02-07 16:37:45 +11:00
Shubham Kulkarni
e1c0fb0c62
log: Check for ISR context and use proper API to get Tick Count
2020-02-07 04:49:53 +00:00
Ivan Grokhotkov
0d69ed8620
bootloader_support: add esp_chip_id_t value for ESP32-S2
2020-02-06 19:50:14 +01:00
Sagar Bijwe
4f93a707f8
WiFi: Add support for ESP32S2
...
1) Update WiFi and PHY libs for ESP32S2.
2) Remove KConfig options ESP32S2 PHY lib selection.
3) Change target macros from ESP32S2BETA to ESP32S2
2020-02-06 14:19:30 +05:30
boarchuz
d0eb6c9701
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-06 08:48:35 +01:00
Angus Gratton
fec005ec15
Merge branch 'bugfix/nvs_missing_get' into 'master'
...
NVS: Fixed missing implementations for string/blob
See merge request espressif/esp-idf!7492
2020-02-06 14:31:16 +08:00
Angus Gratton
fda4efa300
Merge branch 'bugfix/rtc_wdt_timeout' into 'master'
...
soc/esp32s2: Fix setting timeout for RTC_WDT. ESP32-S2 uses 90KHz instead of 150kHz
See merge request espressif/esp-idf!7499
2020-02-06 14:27:35 +08:00
Angus Gratton
bd9cb9a307
Merge branch 'bugfix/spiffs_case_when_use_mtime_is_not_set' into 'master'
...
spiffs: Fix for case when CONFIG_SPIFFS_USE_MTIME is not defined
See merge request espressif/esp-idf!7496
2020-02-06 14:26:42 +08:00
Angus Gratton
34b1ea9b3d
Merge branch 'feature/netif_ppp_authtype_none' into 'master'
...
esp-netif: PPPoS fixes
Closes IDFGH-2553 and IDFGH-2548
See merge request espressif/esp-idf!7488
2020-02-06 14:14:43 +08:00
Angus Gratton
98618333a1
Merge branch 'bugfix/wps_config_init' into 'master'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7311
2020-02-06 14:04:31 +08:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
Mahavir Jain
f515db1a3e
Merge branch 'bugfix/fix_ota_with_chunked_servers' into 'master'
...
Fixed OTA with chunked servers
See merge request espressif/esp-idf!7457
2020-02-05 16:54:01 +08:00
Mahavir Jain
229b599494
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build' into 'master'
...
cJSON: include only source file objects for cmake build
See merge request espressif/esp-idf!7498
2020-02-05 16:46:29 +08:00
KonstantinKondrashov
47a5d14e59
soc/esp32s2: Fix setting timeout for RTC_WDT. ESP32-S2 uses 90KHz instead of 150kHz
2020-02-05 15:16:28 +08:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
Mahavir Jain
e366b6ac21
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-05 11:14:23 +05:30
KonstantinKondrashov
e85e99189f
spiffs: Fix for case when CONFIG_SPIFFS_USE_MTIME is not defined
...
Closes: 2c793cef06
2020-02-05 03:00:22 +08:00
Ivan Grokhotkov
50466a5e4f
Merge branch 'bugfix/esp32s2_ldscripts' into 'master'
...
esp32s2: LD script fixes/improvements and re-enable SystemView examples
Closes IDF-1357, IDF-1354, and IDF-1346
See merge request espressif/esp-idf!7431
2020-02-05 02:09:29 +08:00
Mahavir Jain
0b8f17e618
Merge branch 'nimble/bugfix_ble_hs_hci_rx_evt' into 'master'
...
NimBLE: Update submodule to fix bug in `ble_hs_hci_rx_evt`
See merge request espressif/esp-idf!7494
2020-02-04 19:35:50 +08:00
Ivan Grokhotkov
41631587f8
Merge branch 'feature/esp32s2_brownout' into 'master'
...
esp32s2: add brownout detector support
Closes IDF-751
See merge request espressif/esp-idf!7428
2020-02-04 17:00:46 +08:00
Prasad Alatkar
bc7ce8e584
Update NimBLE submodule to fix bug in ble_hs_hci_rx_evt
2020-02-04 12:27:47 +05:30
Xia Xiaotian
1833b8aeab
soc: clear PHY status when cpu start
2020-02-04 14:37:16 +08:00
Jakob Hasse
e228a2102d
Fixed missing implementations
2020-02-03 17:18:21 +01:00
Angus Gratton
6d2fa2e0f1
Merge branch 'feature/support_app_update_ut_for_s2_chip' into 'master'
...
app_update(s2): Enable app_update UTs
Closes IDF-1007
See merge request espressif/esp-idf!7415
2020-02-03 14:56:23 +08:00
Mahavir Jain
9ee50266cc
Merge branch 'nimble/misc_host_flow_ctrl_changes' into 'master'
...
NimBLE: Misc fixes in NimBLE host flow control and `blecent` example
See merge request espressif/esp-idf!7042
2020-02-03 13:59:45 +08:00
David Cermak
7d45bfda21
esp_netif_lwip_ppp: fix posting ip-event data
...
Closes https://github.com/espressif/esp-idf/issues/4634
2020-01-31 15:21:30 +01:00
Axel Lin
3f5d19016a
esp_netif_lwip_ppp: Allow esp_netif_ppp_set_auth set auth_type with NETIF_PPP_AUTHTYPE_NONE
...
The ppp_set_auth() is guard by #if PPP_AUTH_SUPPORT in lwIP, so
make it consistent. This also simplify the code a bit because the code
in #if PAP_SUPPORT guard and #if CHAP_SUPPORT guard are exactly the same.
Once NETIF_PPP_AUTHTYPE_NONE added to esp_netif_auth_type_t, it also allows
setting NETIF_PPP_AUTHTYPE_NONE with this change.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4639
2020-01-31 15:19:09 +01:00
Axel Lin
57a56b55c0
esp_netif_ppp: Add NETIF_PPP_AUTHTYPE_NONE to esp_netif_auth_type_t
...
To allow setting auth_type to PPPAUTHTYPE_NONE, add NETIF_PPP_AUTHTYPE_NONE
to esp_netif_auth_type_t.
So even PAP/CHAP are enabled in lwIP, the application still can set
auth_type to PPPAUTHTYPE_NONE.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-01-31 13:41:50 +01:00
KonstantinKondrashov
aa42177e19
app_update(s2): Enable app_update UTs
...
Closes: IDF-1007
2020-01-31 10:34:08 +00:00
June
4f9c3e977e
controller flash code optimize
...
fix ld file to link 3 bt rom functions
2020-01-31 06:29:46 +00:00
Hrudaynath Dhabe
9ebd2cc0f6
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:36:41 +00:00
Hrudaynath Dhabe
ec50c5344b
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-01-31 05:34:07 +00:00
GOPTIONS\pfrost
851658109c
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-01-31 05:34:07 +00:00
Prasad Alatkar
4047f7e180
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-01-31 10:46:55 +05:30
Roland Dobai
5454c268f7
Docs: Omit kconfig configurations not available for the target
2020-01-30 10:30:06 +01:00
Angus Gratton
86034ad049
Merge branch 'feature/freertos_fpu_isr' into 'master'
...
feature/fpu: Enable usage of FPU inside of a ISR
Closes IDF-100
See merge request espressif/esp-idf!7348
2020-01-30 13:38:37 +08:00
Ivan Grokhotkov
ac1834e288
Merge branch 'feature/freertos_xtensa_folder' into 'master'
...
freertos: moved all xtensa specific files into a separated folder
See merge request espressif/esp-idf!7377
2020-01-29 17:04:34 +08:00
Angus Gratton
f5b82c5b1f
Merge branch 'bugfix/esptool_elf2image_flashmode' into 'master'
...
esptool_py: pass flash mode/frequency/size to elf2image
See merge request espressif/esp-idf!7440
2020-01-28 14:22:35 +08:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
Felipe Neves
5cbb3f05c0
freertos: Added experimental, optional FPU usage on level 1 ISR
2020-01-27 10:55:03 -03:00
Felipe Neves
670ea56df2
freertos: added fpu in isr test case
2020-01-27 10:55:03 -03:00
Michael (XIAO Xufeng)
7026087dc0
spi: support esp32s2
2020-01-26 17:24:12 +08:00
Michael (XIAO Xufeng)
9d41829e09
spi: update esp32s2 hardware description files
2020-01-26 17:24:11 +08:00
Ivan Grokhotkov
3eb190ce48
esp32s2: fix interrupt names used by SystemView
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
bb59ca3ab3
esp32s2: add missing ESP32S2_MEMMAP_TRACEMEM_TWOBANKS option
...
It is used when app-trace is enabled, to provide ping-pong buffers.
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
02a99e84c8
esp32s2: move trace memory reservation to soc_memory_layout.c
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
110f3c9ff5
esp32s2: put static .data and .bss directly after .iram.text
...
This results in a single large heap section instead of two smaller
ones.
Closes IDF-1354
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
27bff3517f
esp32s2: fix "loadable ELF" build
...
Closes IDF-1346
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
fd15acb50f
esp32s2: bootloader: move iram_loader segment higher
...
This gives extra 16kB for the application's static .data/.bss
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
354ce68dce
soc: move reserved regions out of memory_layout_utils.c
...
These definitions have ended up being chip specific. Moving them into
respective soc_memory_layout.c makes the whole picture of memory
regions easier to see, and also makes adding support for new chips
easier.
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
81f0e7d90f
Merge branch 'bugfix/esp32s2_freertos_tls' into 'master'
...
esp32s2: fix THREADPTR calculation, re-enable FreeRTOS TLS tests
Closes IDF-1239
See merge request espressif/esp-idf!7403
2020-01-24 17:47:43 +08:00
Ivan Grokhotkov
9fafdb7e6d
Merge branch 'bugfix/esp32s2_newlib_nano' into 'master'
...
esp32s2: esp_rom: separate nano formatting functions, fix newlib tests
See merge request espressif/esp-idf!7447
2020-01-24 17:46:54 +08:00
Ivan Grokhotkov
6e527fb763
mbedtls: temporary disable HW crypto for ESP32S2
...
To be re-enabled once HW crypto accelerators support is merged:
IDF-714, IDF-716, IDF-803.
2020-01-23 18:14:10 +01:00
Ivan Grokhotkov
16e63f6a3f
esp32s2: esp_rom: separate nano formatting functions, fix newlib tests
2020-01-23 18:07:37 +01:00
Ivan Grokhotkov
caef7ad9f2
esp32, esp32s2beta: move brownout.c to esp_common
2020-01-23 13:44:19 +01:00
Ivan Grokhotkov
70752baba4
esp32s2: add brownout detector support
...
1. add brownout detector HAL for esp32 and esp32s2
2. enable brownout reset for esp32 rev. 1 and above
3. add approximate brownout detector levels for esp32s2
2020-01-23 13:44:19 +01:00
Ivan Grokhotkov
09950797cb
esptool_py: pass flash mode/frequency/size to elf2image
...
Otherwise the image gets generated with wrong parameters, and the
binary does not boot unless it has been "fixed" by esptool during the
upload.
2020-01-23 12:19:15 +01:00
Ivan Grokhotkov
46035032cf
esp32s2: fix inconsistency between reg and struct headers
...
test_mux register doesn't exist in RTCCNTL anymore, remove it from
struct header. Also remove adc_ll_vref_output implementation, which
depends on that register.
2020-01-23 11:30:11 +01:00
Ivan Grokhotkov
cbb84e8f5e
esp32s2: fix THREADPTR calculation, re-enable FreeRTOS TLS tests
...
1. Clarify THREADPTR calculation in FreeRTOS code, explaining where
the constant 0x10 offset comes from.
2. On the ESP32-S2, .flash.rodata section had different default
alignment (8 bytes instead of 16), which resulted in different offset
of the TLS sections. Unfortunately I haven’t found a way to query
section alignment from C code, or to use a constant value to define
section alignment in the linker script. The linker scripts are
modified to force a fixed 16 byte alignment for .flash.rodata on the
ESP32 and ESP32-S2beta. Note that the base address of .flash.rodata
was already 16 byte aligned, so this has not changed the actual
memory layout of the application.
Full explanation of the calculation below.
Assume we have the TLS template section base address
(tls_section_vma), the address of a TLS variable in the template
(address), and the final relocation value (offset). The linker
calculates:
offset = address - tls_section_vma + align_up(TCB_SIZE, alignment).
At run time, the TLS section gets copied from _thread_local_start
(in .rodata) to task_thread_local_start. Let’s assume that an address
of a variable in the runtime TLS section is runtime_address.
Access to this address will happen by calculating THREADPTR + offset.
So, by a series of substitutions:
THREADPTR + offset = runtime_address THREADPTR = runtime_address - offset
THREADPTR = runtime_address - (address - tls_section_vma + align_up(TCB_SIZE, alignment)) THREADPTR = (runtime_address - address) + tls_section_vma - align_up(TCB_SIZE, alignment)
The difference between runtime_address and address is same as the
difference between task_thread_local_start and _thread_local_start.
And tls_section_vma is the address of .rodata section, i.e.
_rodata_start. So we arrive to
THREADPTR = task_thread_local_start - _thread_local_start + _rodata_start - align_up(TCB_SIZE, alignment).
The idea with TCB_SIZE being added to the THREADPTR when computing
the relocation was to let the OS save TCB pointer in the TREADPTR
register. The location of the run-time TLS section was assumed to be
immediately after the TCB, aligned to whatever the section alignment
was. However in our case the problem is that the run-time TLS section
is stored not next to the TCB, but at the top of the stack. Plus,
even if it was stored next to the TCB, the size of a FreeRTOS TCB is
not equal to 8 bytes (TCB_SIZE hardcoded in the linker). So we have
to calculate THREADPTR in a slightly obscure way, to compensate for
these differences.
Closes IDF-1239
2020-01-23 11:29:22 +01:00
Angus Gratton
d672809080
Merge branch 'refactor/rename_esp32s2beta_to_esp32s2' into 'master'
...
global: rename esp32s2beta to esp32s2
See merge request espressif/esp-idf!7369
2020-01-23 09:16:30 +08:00
Angus Gratton
fbb5844151
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm' into 'master'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed
Closes WIFI-1576
See merge request espressif/esp-idf!7303
2020-01-23 09:14:53 +08:00
Hrishikesh Dhayagude
91c8f324a9
NimBLE: Use dynamic buffers instead of static memory.
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-01-23 00:55:51 +08:00
morris
405b0e7f06
esp_rom: splict libgcc and libc outof rom.ld bundle file
2020-01-23 00:27:47 +08:00
KonstantinKondrashov
6061d5d65a
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-01-22 14:30:34 +08:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
morris
95743f4ee6
update rtc_sleep_init for esp32s2
2020-01-22 10:19:05 +08:00
Felipe Neves
73592d9bc4
spin_lock: added new spinlock interface and decoupled it from RTOS
...
spin_lock: cleaned-up port files and removed portmux files
components/soc: decoupled compare and set operations from FreeRTOS
soc/spinlock: filled initial implementation of spinlock refactor
It will decouple the spinlocks into separated components with not depencences of freertos
an similar interface was provided focusing the readabillity and maintenance, also
naming to spinlocks were adopted. On FreeRTOS side the legacy portMUX macros
gained a form of wrapper functions that calls the spinlocks component thus
minimizing the impact on RTOS side.
This feature aims to close IDF-967
soc/spinlock: spinlocks passed on unit test, missing test corner cases
components/compare_set: added better function namings plus minor performance optimization on spinlocks
soc/spinlock: code reordering to remove ISC C90 mix error
freertos/portmacro: gor rid of critical sections multiline macros, placed inline functions instead
soc/spinlock: improved spinlock performance from internal RAM
For cases where the spinlock is executed from IRAM, there is no
need to check where the spinlock object is placed on memory,
removing this checks caused a great improvement on performance.
2020-01-22 06:20:34 +08:00
Ivan Grokhotkov
cc3df01f8f
rom: add header guards in rom/opi_flash.h, fix error in rom/spi_flash.h
2020-01-21 11:58:10 +01:00
Ivan Grokhotkov
2c3e6481bb
Merge branch 'feature/ci_check_cpp_guards' into 'master'
...
ci: add job to check for C++ guards in header files
Closes IDF-288
See merge request espressif/esp-idf!7050
2020-01-21 17:18:23 +08:00
Ivan Grokhotkov
f619a3174b
Merge branch 'bugfix/nvs_new_nothrow' into 'master'
...
NVS: Change all new to new (nothrow)
See merge request espressif/esp-idf!6930
2020-01-21 17:06:19 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
Jiang Jiang Jian
95f9db79d2
Merge branch 'feature/lwip_netinet_tcp_pr4637' into 'master'
...
lw_ip: Add netinet compatibility headers (PR 4637)
Closes IDFGH-2551
See merge request espressif/esp-idf!7408
2020-01-21 15:00:03 +08:00
Angus Gratton
e0fe136bf9
Merge branch 'bugfix/select_driver_not_installed' into 'master'
...
VFS: Check in select() if the UART driver is installed or not
Closes IDFGH-2540
See merge request espressif/esp-idf!7331
2020-01-21 11:08:38 +08:00
Angus Gratton
78e219bbe2
Merge branch 'bugfix/eth_int_allocate' into 'master'
...
PSRAM related fix
Closes IDFGH-2263 and IDFGH-2549
See merge request espressif/esp-idf!7310
2020-01-21 07:31:26 +08:00
Francesco Giancane
e48fe540be
include/sys/socket.h: ensure SOMAXCONN symbol is defined
...
SOMAXCONN is expected to be defined in this header, but for the esp32
port is found in net/if.h from newlib.
Avoid the issue by including the net/if.h header in sys/socket.h so that
compatibility is preserved.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4637
2020-01-21 10:11:33 +11:00
Francesco Giancane
64377b54d1
include/netinet/tcp.h: wrap lwip/tcp.h header for compatibility
...
Some applications (i.e. Azure IoT SDK) are expecting this header to
exist and to contain the tcp constants and description.
The esp32 did not wrap the lwip/tcp.h header, thus this commit adds a
compatibility layer.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4637
2020-01-21 10:11:29 +11:00
Jiang Jiang Jian
10c426e5ef
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch' into 'master'
...
FIx sniffer bug caused by mode switch
Closes WIFI-466
See merge request espressif/esp-idf!5846
2020-01-20 21:08:31 +08:00
baohongde
097777ed66
components/bt: Fix error EIR type in config eir event
2020-01-20 20:46:05 +08:00
Tian Hao
30fbd99ad0
fix bug sleep may cause HCI timeout
...
When Host run different cpu and sleep enable, it may cause hci
timeout about 10s.
2020-01-20 17:44:03 +08:00
Tian Hao
f351effdb2
fix Kconfig use mistake cause some config not effect
...
1. Fix bluedroid task pinned_to_core un-effected
2. other minor sdkconfig bugs
2020-01-20 17:43:36 +08:00
xiehang
6cb271c20b
esp_wifi: Small refactor for ic_set_vif
2020-01-20 11:47:02 +08:00
baohongde
5ca4c85497
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 11:32:26 +08:00
Angus Gratton
3f532c8895
Merge branch 'bugfix/esp_tls_blocking_timeout' into 'master'
...
esp-tls: add timeout for blocking connection
See merge request espressif/esp-idf!7316
2020-01-20 09:35:23 +08:00
Jiang Jiang Jian
1c8937bf14
Merge branch 'feature/esp32_5p0_new_features' into 'master'
...
esp32 5p0 features support
See merge request espressif/esp-idf!7028
2020-01-19 23:06:45 +08:00
morris
cc0459eea2
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-19 16:25:44 +08:00
morris
5ad0bdd8db
ethernet: work with cache disabled
...
add ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE flag, make ethenret driver
possible to work when cache disabled
Closes https://github.com/espressif/esp-idf/issues/4406
2020-01-19 16:25:24 +08:00
morris
4fb879c11e
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-19 16:08:53 +08:00
June
19730c81f0
esp32 5p0 new features support
2020-01-17 10:34:54 +00:00
xiehang
0d1a20ba18
esp_wifi:Fix double recycle bar crash issue
2020-01-17 14:28:27 +08:00
Ivan Grokhotkov
0c99aef08d
Merge branch 'feature/bringup_723_cmake' into 'master'
...
bringup 723 cmake
See merge request espressif/esp-idf!6578
2020-01-17 09:20:34 +08:00
Mahavir Jain
c7f44a301d
Merge branch 'feature/modify_esp_tls_structure' into 'master'
...
esp-tls: add API to retrieve sockfd for tls connection.
See merge request espressif/esp-idf!7329
2020-01-16 18:12:16 +08:00
Hrudaynath Dhabe
93bc830ac6
esp_wifi: esp_wifi_sta_get_ap_info function returns actual values of group cipher and pairwise cipher
2020-01-16 17:52:59 +08:00
morris
2422c52851
global: hello world on real esp32-s2
2020-01-16 17:43:59 +08:00
duyi
18a05e2ee0
update ld file for esp32-s2
2020-01-16 17:43:59 +08:00
Wangjialin
d4e5980823
flash: fix 80Mhz for new spi flash driver on esp32s2
2020-01-16 17:43:59 +08:00
Wangjialin
fad639f0d4
feature(psram): update psram initialization.
...
1. use spi functions in rom
2. remove unnecessary GPIO configurations.
3. remove unnecessary dummy settings.
4. enable dummy out function
5. flash and psram have independent timing setting registers.
6. no need to set 1.9v for LDO in 80Mhz
7. set IO driver ability to 1 by default.
8. no need to use GPIO matrix on esp32s2, IO MUX is recommended
9. enable spi clock mode and IO mode settings
2020-01-16 17:41:31 +08:00
Du Ya Yuan
0ad7602efe
make spiram work
2020-01-16 17:41:31 +08:00
duyi
30a525aeb1
update cache config
2020-01-16 17:41:31 +08:00
morris
a8d31b0385
rtc: enable super wdt auto feed
2020-01-16 17:41:31 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
duyi
9c5a981ef1
remove unnecessary function in bootloader_support
...
1. Delete bootloader_clock_get_rated_freq_mhz, esp32s2 do not need it right now
2. Remove bootloader_flash_gpio_config () because it has the same function as bootloader_flash_dummy_config
2020-01-16 17:41:31 +08:00
Angus Gratton
eaafe7f599
Merge branch 'feature/add_setting_project_version_from_kconfig' into 'master'
...
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
See merge request espressif/esp-idf!7125
2020-01-16 15:54:14 +08:00
David Cermak
98cf3142fa
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-16 07:32:19 +00:00
David Cermak
aa3b1da384
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-01-16 07:32:19 +00:00
Aditya Patwardhan
c7418042b4
esp32/esp-tls: provide API to retrieve sockfd value from esp_tls_t
2020-01-16 12:27:44 +05:30
Jiang Jiang Jian
2a6a560eb3
Merge branch 'bugfix/hfp_disconn_bridgera' into 'master'
...
hfp disconn issue for bridgera
See merge request espressif/esp-idf!7336
2020-01-16 11:33:36 +08:00
Ivan Grokhotkov
e9426d4ed1
Merge branch 'feature/improved_cxx_tests' into 'master'
...
Improved C++ tests
Closes IDF-1322
See merge request espressif/esp-idf!7283
2020-01-16 10:11:32 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
Jakob Hasse
c75ec644f4
NVS: Changed all new to new (nothrow)
2020-01-15 14:01:35 +08:00
Angus Gratton
c1a1e19c2b
Merge branch 'feature/freertos_optimized_taskselection' into 'master'
...
feature/freertos optimized task selection o S2 Beta or unicore configurations
Closes IDF-1116
See merge request espressif/esp-idf!6616
2020-01-15 13:29:21 +08:00
Angus Gratton
ee899cb2aa
Merge branch 'feature/ver-4.2' into 'master'
...
global: bump version to 4.2
See merge request espressif/esp-idf!7335
2020-01-15 13:07:59 +08:00
weitianhua
8b2919ee2b
hfp disconn issue for bridgera
2020-01-15 12:22:58 +08:00
Ivan Grokhotkov
80d7db9466
Merge branch 'bugfix/esp32s2_mac_addr_allocation' into 'master'
...
esp32s2 mac address allocation
Closes IDF-1191
See merge request espressif/esp-idf!7286
2020-01-15 11:58:14 +08:00
Renz Christian Bagaporo
fd74ec75d7
esptool_py: retain flash targets when building RAM loadable apps
2020-01-15 03:36:47 +00:00
Renz Christian Bagaporo
cc8bff703e
esptool_py: create flash target functions
2020-01-15 03:36:47 +00:00
Jiang Jiang Jian
5f803b8283
Merge branch 'bugfix/enable_ipv6_address_autoconfig' into 'master'
...
lw-ip: Enable IPv6 stateless address autoconfiguration
Closes WIFI-1237
See merge request espressif/esp-idf!6313
2020-01-15 11:27:56 +08:00
Ivan Grokhotkov
5466ff3f4d
global: bump version to 4.2
2020-01-15 10:22:22 +08:00
Felipe Neves
5d7564a039
freertos/Kconfig: make optimized task selection dependent on FREERTOS_UNICORE option
...
freertos: fix decrement loop of high priority task selection
2020-01-14 09:58:14 -03:00
Felipe Neves
2c612ec1dc
components/freertos: using the optimized task selection on esp32s2beta
...
components/freertos: cleaned up multicore option scheduler.
components/freertos: more cleanup and test optimization to present realistic results
components/freertos: remove unused macros of optimized task selection when multicore is used
2020-01-14 09:58:14 -03:00
Felipe Neves
77bf1ff1c0
freertos/tests: added test to evaluate scheduling time
...
freertos/Kconfig: fix trailing space on optimized scheduler option
freertos/tests: moved test context variables inside of test task.
The public variables used on scheduling time test now were packed into a structure allocated on test case task stack and passed to tasks as arguments saving RAM comsumption.
2020-01-14 09:58:14 -03:00
Felipe Neves
d4c82606fb
components/freertos: added and enabled the optimized task selection
...
FreeRTOS have an platform dependent configuration to enable selection task in a optimized way.
Provided the platform dependent functions in order to allow the scheduler to use the optimized algorithms by telling to the port layer where to found bitscan instruction i.e. NSAU.
This closes IDF-1116
components/freertos: added option to disable the optimized scheduler
2020-01-14 09:58:14 -03:00
Roland Dobai
a9c4dab4d3
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-14 13:52:27 +01:00
morris
e1f9b283bc
esp32s2: mac addr allocation
2020-01-14 15:19:38 +08:00
xiehang
c0148ef1e8
lwip: Enable IPv6 stateless address autoconfiguration
2020-01-14 07:15:26 +00:00
zhiweijian
86bebae4fb
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 03:24:29 +00:00
Angus Gratton
ee269ed687
Merge branch 'bugfix/fatfs_corrupted_assert' into 'master'
...
fatfs: handle FR_INT_ERR as "filesystem corrupted"
Closes IDF-894
See merge request espressif/esp-idf!5912
2020-01-14 08:37:07 +08:00
Jakob Hasse
c8137c5298
C++: rtti unit tests, corresponding CI config
2020-01-13 16:39:21 +08:00
houwenxiang
4c065c217e
driver(rmt): Fix the rmt err interrupt crash bug when sending 63 items
2020-01-13 08:30:20 +00:00
Jiang Jiang Jian
0a6e61ae6d
Merge branch 'bugfix/btdm_fix_blufi_prepare_buf_len_invalid' into 'master'
...
component/bt: fix blufi prepare write buf len invalid
See merge request espressif/esp-idf!7048
2020-01-13 15:59:14 +08:00
Jiang Jiang Jian
f8e3bf4a7a
Merge branch 'bugfix/mesh_ie_issues' into 'master'
...
mesh: fix mesh ie issues
See merge request espressif/esp-idf!7214
2020-01-13 15:58:00 +08:00
Angus Gratton
28d64e7f82
Merge branch 'bugfix/cmake_failure_on_spiffsgen_clean_project' into 'master'
...
spiffs: fix build issue on clean project
See merge request espressif/esp-idf!6596
2020-01-13 12:14:04 +08:00
Angus Gratton
a5a5c318f9
Merge branch 'bugfix/mmap_fail_on_esp32s2beta' into 'master'
...
spi_flash: reenable mmap tests on esp32s2beta
See merge request espressif/esp-idf!6595
2020-01-13 12:02:55 +08:00
Angus Gratton
ec20cf01b5
Merge branch 'feature/wider_alignment_range_malloc' into 'master'
...
feature/wider alignment range malloc
Closes IDF-648
See merge request espressif/esp-idf!6691
2020-01-13 12:02:35 +08:00
Angus Gratton
42d7b1d641
Merge branch 'bugfix/mbedtls_esp_bignum' into 'master'
...
mbedtls: esp bignum fix for 4096 keys
See merge request espressif/esp-idf!7211
2020-01-13 12:01:23 +08:00
chenyudong
79f0d460f5
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
Fix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-01-13 10:58:18 +08:00
Jiang Jiang Jian
a27dfe6993
Merge branch 'bugfix/fix_ble_config_error_log_in_first_use_nvs' into 'master'
...
bugfix: remove the error code when there is no file in the nvs in config.c
See merge request espressif/esp-idf!7296
2020-01-13 10:24:43 +08:00
Ivan Grokhotkov
216dac8721
Merge branch 'test/add_esp32s2beta_ssc_build_job' into 'master'
...
test: add build ssc job for esp32s2beta
See merge request espressif/esp-idf!7068
2020-01-13 10:19:48 +08:00
Jiang Jiang Jian
7a7c4a5486
Merge branch 'bugfix/coex_schm' into 'master'
...
Bugfix/coex schm
See merge request espressif/esp-idf!7176
2020-01-12 20:37:42 +08:00
Jiang Jiang Jian
a9cf334f0a
Merge branch 'feature/Add_tcp_sack' into 'master'
...
feature for add tcp sack
Closes WIFI-1600
See merge request espressif/esp-idf!7241
2020-01-12 20:28:21 +08:00
Jiang Jiang Jian
3634192ded
Merge branch 'bugfix/ble_throughput_heap_size_too_large_fix' into 'master'
...
bugfix:Fixed throughput wasting memory and packet loss issues.
Closes BT-437 and BCI-141
See merge request espressif/esp-idf!7063
2020-01-12 20:25:02 +08:00
Jiang Jiang Jian
8ec233dfd0
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes' into 'master'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes
Closes BLEMESH-56
See merge request espressif/esp-idf!6892
2020-01-12 20:23:57 +08:00
Felipe Neves
6a307ee70f
heap: removed ptr check in diram area since aligned allocator does not support data allocated from IRAM
2020-01-10 10:15:32 -03:00
Felipe Neves
0d8a5ebec7
heap: added aligned calloc function plus tests
2020-01-10 10:05:28 -03:00
Felipe Neves
8e5ea171d3
newlib: reverted support of memalign function
2020-01-10 10:05:28 -03:00
Felipe Neves
45766daa4f
test_multi_heap_host/test_multi_heap: fix undefined reference error when testing aligned_alloc with no heap poisoning
2020-01-10 10:05:28 -03:00
Felipe Neves
aa100d2dfe
newlib: added heap_caps_aligned_alloc on bottom of memalign
2020-01-10 10:05:28 -03:00
Felipe Neves
a2db437c46
heap/heap_caps: Added tests for align allocation on both internal and external ram
2020-01-10 10:05:28 -03:00
Felipe Neves
7fbf4c74d7
heap/heap_caps: added initial, top level heap_caps_aligned_alloc and heap_caps_aligned_free
2020-01-10 10:05:27 -03:00
Felipe Neves
f31b8a8ab8
heap/multi_heap_poisoning: aligned alloc now working togheter with heap poisining code
2020-01-10 10:05:27 -03:00
Felipe Neves
8bd09429d3
heap/test_multi_heap_host: added initial tests for heap aligned alloc
2020-01-10 10:05:27 -03:00
Felipe Neves
d26ddaa644
heap/multi_heap: added initial implementation of aligned alloc function
2020-01-10 10:05:27 -03:00
gengyuchao
3366467980
ble:set a esp api to get size of controller send packets buffer.
2020-01-10 20:32:07 +08:00
gengyuchao
189cd21660
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-10 20:32:07 +08:00
gengyuchao
8e1a28940c
ble:config.c remove the error code when there is no file in the nvs because it is not an error.
2020-01-10 20:04:10 +08:00
Angus Gratton
a05c00c2b3
Merge branch 'bugfix/esp_netif_get_dns' into 'master'
...
esp_netif: fix esp_netif_get_dns_info() to copy the entire ip_addr_t
Closes IDFGH-2472
See merge request espressif/esp-idf!7266
2020-01-10 17:51:29 +08:00
David Cermak
ff0128dd02
drivers: fixed c++ guards in driver public headers
2020-01-10 09:44:39 +01:00
baohongde
a2398f0dcc
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-01-10 16:00:12 +08:00
Angus Gratton
c7738f24fc
Merge branch 'bugfix/ledc_driver_enums' into 'master'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
See merge request espressif/esp-idf!7021
2020-01-10 15:34:43 +08:00
Jiang Jiang Jian
0f9ab61619
Merge branch 'bugfix/fix_wifi_buffer_reload_issue' into 'master'
...
esp_wifi: fix WiFi buffer reload issue
Closes WIFI-1634
See merge request espressif/esp-idf!7230
2020-01-10 15:08:19 +08:00
Jiang Jiang Jian
2f23fa8ab7
Merge branch 'bugfix/bt_osi_config_snprintf_add_length_check' into 'master'
...
bugfix:Fix length check for snprintf in osi config
See merge request espressif/esp-idf!7155
2020-01-10 15:06:37 +08:00
Jiang Jiang Jian
8cf4d02720
Merge branch 'bugfix/ble_mesh_update_lightness_last' into 'master'
...
ble_mesh: Update lightness last state when actual state is changed
See merge request espressif/esp-idf!7206
2020-01-10 14:47:29 +08:00
Angus Gratton
782fc0df5f
Merge branch 'refactor/can_driver' into 'master'
...
Refactor CAN to use HAL and LowLevel layers
Closes IDF-617
See merge request espressif/esp-idf!7019
2020-01-10 14:22:02 +08:00
He Yin Ling
21a7580dc1
test: update SSC bin path of nvs compatible test
2020-01-10 14:14:51 +08:00
Angus Gratton
bdf6c00154
Merge branch 'feature/likely_unlikely' into 'master'
...
Adding likely unlikely macros to hot code paths
Closes IDF-284
See merge request espressif/esp-idf!6368
2020-01-10 14:05:07 +08:00
Renz Christian Bagaporo
fb1dec37d8
spi_flash: reenable mmap tests on esp32s2beta
2020-01-10 16:17:01 +11:00
Angus Gratton
5ee92c259b
Merge branch 'bugfix/mdns_fix_typos' into 'master'
...
mdns: fixed typos in the variable names and the comments
See merge request espressif/esp-idf!7060
2020-01-10 13:13:07 +08:00
Konstantin Kondrashov
2c793cef06
idf: Support a custom toolchain with time_t wide 64-bits
...
Allows resolving the Y2K38 problem.
Closes: IDF-350
Closes: https://github.com/espressif/esp-idf/issues/584
2020-01-10 12:58:54 +08:00
Angus Gratton
a39e8e5de9
Merge branch 'feature/asio_update' into 'master'
...
asio: updated ASIO port to use latest asio and esp-idf features
See merge request espressif/esp-idf!6623
2020-01-10 12:57:25 +08:00
Angus Gratton
426319c123
Merge branch 'feature/nvs_cxx_new' into 'master'
...
NVS: exposing C++ functionality via C++ handle
See merge request espressif/esp-idf!6926
2020-01-10 12:32:17 +08:00
Angus Gratton
880cc02ef2
Merge branch 'bugfix/mqtt_submodule_ref_update' into 'master'
...
MQTT: update submodule to point to latest commit.
Closes IDF-1162, IDF-1126, IDFGH-2197, IDFGH-2235, IDFGH-2293, FCS-254, and FCS-267
See merge request espressif/esp-idf!7216
2020-01-10 12:32:03 +08:00
Angus Gratton
6ab9f846c9
Merge branch 'bugfix/compare_and_setextram' into 'master'
...
bugfix/pthread: fix pthread_once() race condiion possibility adding critical section in compare and set function
Closes IDFGH-2448
See merge request espressif/esp-idf!7236
2020-01-10 12:29:54 +08:00
Angus Gratton
264abd8b34
Merge branch 'bugfix/esp32s2_xtal_choice' into 'master'
...
esp32s2:remove unsupported xtal choice
Closes IDF-1228
See merge request espressif/esp-idf!7085
2020-01-10 12:01:26 +08:00
Jiang Jiang Jian
9ecc2c3309
Merge branch 'bugfix/fix_ble_mesh_memory_leak' into 'master'
...
ble_mesh: Fix memory leak when node is reset
Closes BLEMESH-122
See merge request espressif/esp-idf!7076
2020-01-10 11:43:49 +08:00
Angus Gratton
4847c2adb0
Merge branch 'docs/fix_tasK_create_static_doxygen_comment' into 'master'
...
Fixed error in return type of xTaskCreateStatic
Closes IDFGH-2185
See merge request espressif/esp-idf!7253
2020-01-10 11:41:15 +08:00
Angus Gratton
b98981e7ae
Merge branch 'feature/call_with_shared_stack' into 'master'
...
Call with shared stack improvements
See merge request espressif/esp-idf!7228
2020-01-10 11:40:11 +08:00
Jiang Jiang Jian
4dee412191
Merge branch 'bugfix/fix_crash_when_send_udp_too_big' into 'master'
...
lw-ip: Drop packets larger than MTU
Closes WIFI-1524
See merge request espressif/esp-idf!7147
2020-01-10 11:37:00 +08:00
Ivan Grokhotkov
a559014ff0
Merge branch 'bugfix/coredump_bin_fmt_ver_update' into 'master'
...
Fixes coredump compatibility with legacy binary core dumps
See merge request espressif/esp-idf!6794
2020-01-10 10:04:17 +08:00
David Cermak
b7ef7feaeb
newlib: using lwip implementation of interface name/index conversion
...
Links https://github.com/espressif/esp-idf/issues/3557
2020-01-09 21:53:50 +01:00
David Cermak
13d603e486
asio: updated ASIO port to use latest asio and esp-idf features
...
closes https://github.com/espressif/esp-idf/issues/4296
2020-01-09 21:53:50 +01:00
David Cermak
2efb3288a0
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-01-09 18:11:18 +00:00
David Cermak
b0a714476a
mbedtls: added mpi multiplication test for large numbers
2020-01-09 18:11:18 +00:00
David Cermak
1acf4d46ef
mbedtls: bugnum test for rsa operations with blinding
2020-01-09 18:11:18 +00:00
gengyuchao
8a687d46ad
reduce useless calloc size
2020-01-09 21:12:48 +08:00
gengyuchao
945e4f7162
bugfix:Fix length check for snprintf in osi config
2020-01-09 21:12:48 +08:00
Felipe Neves
57edda15a0
shared_stack: added minimal stack size for shared stack, configurable via menuconfig
2020-01-09 09:59:00 -03:00
David Cermak
ecca39e19f
mdns: fixed typos in the variable names and the comments
2020-01-09 12:50:13 +00:00
Marius Vikhammer
e8787fc49e
mqtt: update submodule to point to latest commit.
...
Adds bugfixes for:
- Too early publishing
- Potential mutex memory leak
- CI related issues.
- Wait for entire connack message
- Event loop not getting cleaned up
Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/47
Closes IDF-1126
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/50
Closes FCS-254
MQTT MR: https://gitlab.espressif.cn:6688/espressif/esp-mqtt/merge_requests/53
Closes FCS-267
2020-01-09 11:35:49 +00:00
Jakob Hasse
d286876d34
NVS: expose C++ API
...
Closes https://github.com/espressif/esp-idf/issues/3540
2020-01-09 18:29:23 +08:00
zhiweijian
b820b3fc56
component/bt: fix blufi prepare write buf len invalid
2020-01-09 09:38:35 +00:00
Geng Yu Chao
090843fa17
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-09 16:30:55 +08:00
David Cermak
92087edbb8
esp_netif: fix esp_netif_get_dns_info() to copy the entire ip_addr_t
...
closes https://github.com/espressif/esp-idf/issues/4584
closes IDFGH-2472
2020-01-09 09:17:38 +01:00
Darian Leung
a049e02d96
can: Refactor CAN to use HAL and LowLevel layers
...
The following commit refactors the CAN driver such that
it is split into HAL and Lowlevel layers. The following
changes have also been made:
- Added bit field members to can_message_t as alternative
to message flags. Updated examples and docs accordingly
- Register field names and fields of can_dev_t updated
2020-01-09 16:13:51 +08:00
Jiang Jiang Jian
dd8db6621b
Merge branch 'bugfix/add_missing_gatt_descriptors_GH' into 'master'
...
bugfix: ble add missing gatt descriptors
Closes BCI-138
See merge request espressif/esp-idf!6978
2020-01-09 15:57:08 +08:00
Krzysztof Bociurko
c7dfb435f8
Fixed error in return type of xTaskCreateStatic*
...
Signed-off-by: Darian <darian@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2651
2020-01-09 14:01:20 +08:00
xueyunfei
d8d2991692
feature for add tcp sack
2020-01-09 13:58:08 +08:00
liu zhifu
3750fe945f
esp_wifi: fix WiFi buffer reload issue
2020-01-09 13:42:27 +08:00
Angus Gratton
4ece6eedae
Merge branch 'bugfix/ws_rcv_exceed_buf' into 'master'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
Closes IDF-1084 and IDF-1083
See merge request espressif/esp-idf!6740
2020-01-09 13:18:31 +08:00
suda-morris
1ffb546135
esp32s2:remove unsupported xtal choice
...
ESP32-S2 only supports 40MHz XTAL and doesn't have XTAL autodetection.
2020-01-09 13:09:21 +08:00
Jiang Jiang Jian
da877bcc8f
Merge branch 'bugfix/coex_bt_ble_stuck' into 'master'
...
components/bt: Fix A2DP stuck when BLE's interval is too small
See merge request espressif/esp-idf!5587
2020-01-09 11:37:35 +08:00
Angus Gratton
dba3c241a9
Merge branch 'feature/nvs_storage_copy_part_name' into 'master'
...
NVS: partition name is copied now
Closes IDF-1231
See merge request espressif/esp-idf!6933
2020-01-09 10:42:25 +08:00
Angus Gratton
ca8fac876f
Merge branch 'refactor/move_esp_adapter' into 'master'
...
esp_wifi: Move wifi OS adapter structures into esp_wifi component
See merge request espressif/esp-idf!6546
2020-01-09 07:35:19 +08:00
Jiang Jiang Jian
21e24aef1d
Merge branch 'bugfix/sniff_mode_for_hfp' into 'master'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP.
See merge request espressif/esp-idf!7017
2020-01-08 16:28:19 +08:00
Angus Gratton
459b3195ac
esp_wifi: Move esp32 DPORT access wrappers into esp_wifi component
2020-01-08 18:23:29 +11:00
Angus Gratton
65dad0d46f
build system: Remove some dependencies from esp32 & esp32s2beta
...
Possible now that wifi related source files are all in esp_wifi
2020-01-08 18:13:12 +11:00
Angus Gratton
f616d2f2de
esp_wifi: Move wifi OS adapter structures into esp_wifi component
2020-01-08 18:13:12 +11:00
Angus Gratton
5cd1f5e7c1
Merge branch 'bugfix/esp_tls_client_key_password' into 'master'
...
tcp_transport/esp-tls: support for client-key password
Closes FCS-267
See merge request espressif/esp-idf!7151
2020-01-08 14:40:38 +08:00
Mahavir Jain
717674e2c2
Merge branch 'bugfix/softap_prov_disconnect' into 'master'
...
Bugfix/softap prov disconnect
See merge request espressif/esp-idf!7205
2020-01-08 12:30:42 +08:00
gengyuchao
7e54ac08e6
ble Fix typo and add some comment
2020-01-08 04:17:49 +00:00
Brian Friedkin
efc514fa0a
add missing gatt descriptors
2020-01-08 04:17:49 +00:00
Jiang Jiang Jian
2e7e05a79a
Merge branch 'bugfix/fix_amsdu_decrypt_bug' into 'master'
...
esp_wifi: fix a WiFi A-MSDU decrypt bug
Closes WIFI-1611
See merge request espressif/esp-idf!7157
2020-01-08 11:15:44 +08:00
Angus Gratton
8421114264
Merge branch 'feat/ut_disabled_for_targets' into 'master'
...
ut: use DISABLED_FOR_TARGETS macro in unit tests
See merge request espressif/esp-idf!7117
2020-01-08 09:22:29 +08:00
Felipe Neves
9800750f15
freertos/port: Put critical sections around uxPortCompareSetExtram() to prevent preemption during its execution.
...
Closes: https://github.com/espressif/esp-idf/issues/4561
2020-01-07 10:53:30 -03:00
Piyush Shah
868f317c19
wifi_prov_manager: Delay the Wi-Fi connect call
...
For SoftAP provisioning, if we start Wi-Fi connection as soon as the
apply config request is received, it has been observed that the clients
(Phone apps mostly) do not get the response for this as we switch the
Wi-Fi channel, causing a momentary disconnection.
Delaying the connection calls helps mitigate the issue.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-01-07 09:51:54 +00:00
Piyush Shah
c4fb524d03
wifi_prov_manager: Change the name of an internal timer handle to better reflect the purpose
...
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-01-07 09:51:54 +00:00
Angus Gratton
3b9c8a6677
Merge branch 'bugfix/netif_cpp_issues' into 'master'
...
esp_netif c++ fixes
See merge request espressif/esp-idf!7045
2020-01-07 14:34:57 +08:00
Mahavir Jain
8bfb32735f
Merge branch 'bugfix/use_mbedtls_spiram_strategy' into 'master'
...
Use mbedtls SPIRAM strategy in example_test.py
Closes IDF-1293
See merge request espressif/esp-idf!7132
2020-01-07 11:37:08 +08:00
weitianhua
39a5eb84f3
Disable sniff mode during (e)SCO connection.
2020-01-07 03:15:32 +00:00
Angus Gratton
e890137ad3
Merge branch 'bugfix/cmake_reflashable_build_targets' into 'master'
...
secure boot: Fix bootloader build system target for bootloader digest
Closes IDFGH-2396
See merge request espressif/esp-idf!7069
2020-01-07 06:40:33 +08:00
David Cermak
b69ac4448e
tcp_transport: added API for client-key password
2020-01-06 21:16:24 +00:00
Felipe Neves
c309112b8a
expression_with_stack:make stack overflow detection watchpoint optional
2020-01-06 17:01:53 -03:00
baohongde
f9802da461
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:22:04 +08:00
liu zhifu
c54e11537f
esp_wifi: fix WiFi AMSDU decrypt issue
2020-01-06 17:58:03 +08:00
Jiang Jiang Jian
0a8c641e6f
Merge branch 'bugfix/sniffer_crash_issue' into 'master'
...
esp_wifi: wifi stop bug when sniffer enable
Closes WIFI-1563 and WIFI-1137
See merge request espressif/esp-idf!7187
2020-01-06 17:22:01 +08:00
Marius Vikhammer
ffeda3003c
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-01-06 17:18:13 +08:00
michael
f676a3b190
driver, soc: update multichip support headers
2020-01-06 17:13:54 +08:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Michael (XIAO Xufeng)
bc0eac579c
ut: add DISABLED_FOR_TARGETS macros to control ut building
2020-01-06 17:13:47 +08:00
lly
8116a787cd
ble_mesh: Fix PreviousAddress endianess in Friend Request
...
The upper transport layer is using big endian ordering. The
PreviousAddress field of a Friend Request message should therefore
be converted to native endianess using sys_cpu_to_be16().
2020-01-06 16:19:03 +08:00
lly
fc80d107ad
ble_mesh: Fix next_period computation
...
If the duration to publish is roughly the same as the period, we might
end up with elapsed == period, which returns 0 and cancel the periodic
publication. Instead 1 should be returned, just like when the elapsed
time is greater than the period.
2020-01-06 16:17:36 +08:00
lly
7d7bbec5fe
ble_mesh: Make model publication struct more compact
...
Previously the FastPeriodDivisor value was introduced to the model
publication struct. Based on the way it was grouped it seems the
intention was to fit it within the same octet as other bit fields,
but it actually makes the octet overflow by one bit. This ends up
creating another u8_t variable which in turn adds 24 bits of padding
after it.
To keep the size of the struct as compact as possible, group the flag
together with the key index, since that only requires 12 bits. Some
care is needed here, since the mesh stack does have special internal
key index values that require more than 12 bits such as
BLE_MESH_KEY_UNUSED and BLE_MESH_KEY_DEV. In this case restricting
ourselves to 12 bits is fine since the value in the model publication
struct follows 1:1 the value received in the Config Model Publication
Set message, and there the parameter is defined to be exactly 12 bits.
2020-01-06 16:17:36 +08:00
lly
82b4b89dea
ble_mesh: Fix compile error when using release optimization level
2020-01-06 16:17:36 +08:00
lly
b836674d8e
ble_mesh: Remove useless CONFIG_BLE_MESH_NODE
...
For Low Power node and Proxy Server, the two features
depend on BLE_MESH_NODE in Kconfig.in, here in the
stack there is no need to judge if CONFIG_BLE_MESH_NODE
is enabled.
2020-01-06 16:17:36 +08:00
lly
d83c37faed
ble_mesh: Fixes Provisioner not support friend feature
2020-01-06 16:17:36 +08:00
lly
77e7d023b9
ble_mesh: Fixes wrong subnet info used for Friend Clear
...
When Friend node tries to send Friend Clear message to other
Friend nodes, it should use the subnet information based on
the net_idx from friendship.
2020-01-06 16:17:36 +08:00
lly
131a4e7c22
ble_mesh: fix provisioner failed to send msg to 0xFFFF
...
According to Mesh Spec 3.4.5.3, a node shall implement a local
network interface. And here we limit the situation just based
on the spec, and Provisioner directly sending the msg without
passing through the local network interface.
2020-01-06 16:17:36 +08:00
lly
197e54053e
ble_mesh: fix virtual addr wrong return value
...
Fixes missing return value on `va_del`
Fixes wrong return value on `va_add`
2020-01-06 16:17:36 +08:00
lly
e8440ac2f9
ble_mesh: Persistent storage of Virtual Address
...
The 16-bit format group addresses will be stored,
but we don't store (or restore) the virtual label UUIDs,
i.e. after a power cycle the 16-bit group addresses
would be meaningless.
2020-01-06 16:17:36 +08:00
lly
74d0bd3134
ble_mesh: Proxy forwards ALL_NODES addr
...
Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
2020-01-06 16:17:36 +08:00
lly
1338fc4ff1
ble_mesh: Model message macros
...
Creates macros for determining model message lengths based on opcode,
payload length and MIC size. Also adds macro wrapping
NET_BUF_SIMPLE_DEFINE to serve the most common use case.
2020-01-06 16:17:36 +08:00
lly
f3b9b099cd
ble_mesh: Use net_buf_simple_clone
...
Uses net_buf_simple_clone to access the sdu of an unsegmented app packet
for re-encryption.
2020-01-06 16:17:36 +08:00
lly
aec696a3a4
ble_mesh: Skip local messages in rx
...
Local messages are already enqueued for the LPN in the tx path, and
don't have to be added again in the rx path.
2020-01-06 16:17:36 +08:00
lly
6516ab71ea
ble_mesh: Ensure seqnum match in app/net
...
Re-encrypts single-segment application messages when the network seqnum
has changed, to avoid encrypting messages with different seqnums in
network and transport. This operation is only required for unsegmented
messages, as segmented messages don't need to use the same seqnum in
network.
Reinstates the special adv data for friend messages to store the app key
index.
2020-01-06 16:17:36 +08:00
lly
b88dbf6348
ble_mesh: Expose app key get function
2020-01-06 16:17:36 +08:00
lly
906fb9d6e3
ble_mesh: Expose header parsing outside net
2020-01-06 16:17:36 +08:00
lly
865434e6de
ble_mesh: Remove unused macro FRIEND_BUF_SIZE
2020-01-06 16:17:36 +08:00
lly
67cb3062a6
ble_mesh: Make RSSI value available to mesh applications
2020-01-06 16:17:36 +08:00
lly
89a681fd4a
ble_mesh: Encrypt friend packets on send
...
Stores friend queue packets unencrypted, removing any out-of-order
issues caused by seqnum allocation. Also moves as much of the metadata
storage as possible into the packet, allowing us to free up some bytes
of net_buf user data for friend packets.
2020-01-06 16:17:36 +08:00
lly
99a63ce81d
ble_mesh: Expose SeqZero mask
...
Makes a define for the seqzero 13-bit mask in transport, and exposes it
in the header for use in the friend module.
2020-01-06 16:17:36 +08:00
lly
9f6dd19033
ble_mesh: Update lightness last state when actual state is changed
2020-01-04 14:57:08 +08:00
Felipe Neves
5db46ab9e6
assert: extend likely macro to be called when silent assertions are off
2020-01-03 14:42:58 -03:00
Felipe Neves
d059a955ae
freertos: removed likely macros from non-port specifics parts of freertos
...
fatfs: moved esp_compiler header file inside of disk implementation file
2020-01-03 14:42:57 -03:00
Felipe Neves
668b33dcf3
esp_compiler: generate likely and unlikely macros only when performance optimization is selected as build option
2020-01-03 14:42:57 -03:00
Felipe Neves
1b76253e0e
newlib/assert: placed unlikely macro as part of assertion
...
newlib/assert: replace unlikely with likely to keep original assertion
newlib/assert: fix assert macro that uses likely
freertos/port: add the missing sdkconfig.h back
newlib/assert: assert macro back to a single line
2020-01-03 14:42:55 -03:00
Felipe Neves
fc00236d79
components/esp_common: added esp_macros.h that aims to hold useful macros
...
esp_common/esp_compiler: renamed esp_macros file to a more specific one
esp_common/esp_compiler: removed CONTAINER_OF macro, it was a duplicate
components/freertos: placed likely macros around port and critical sections
component/freertos: placed likely macros on lists module
components/freertos: placed unlikely macros inside of assertion points, they likely wont fail
components/freertos: added likely macros on queue modules
FreeRTOS queues are one of most hot code path, because to queues itself tend to
be used a lot by the applications, besides that, queues are the basic primitive
to form both mutexes and semaphores, The focus here is to place likely
macros inside lowest level send and receive routines, since they're common
from all kobjects: semaphores, queues, mutexes and FR internals (like timer queue)
components/lwip: placed likely/unlikey on net-interfaces code
components/fatfs: added unlikely macros on disk drivers code
components/spiffs: added unlikely macros on low level fs driver
components/freertos: added likely/unlikely macros on timers and ticker
freertos/event_group: placed likely/unlikely macros on hot event group code paths
components/sdmmc: placed likely / unlikely macros on lower level path of sdmmc
components/bt: placed unlikely macros around bt HCI functions calling
components/lwip: added likely/unlikely macros on OS port code section
components/freertos: fix code style on tick handler
2020-01-03 14:42:49 -03:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Ivan Grokhotkov
52f8aa2adb
Merge branch 'feature/heap_non_os_build' into 'master'
...
heap: make compatible with non-OS builds, remove target dependence
Closes IDF-1236
See merge request espressif/esp-idf!7051
2020-01-03 17:12:51 +08:00
xiehang
3321999e4a
lwip: Drop packets larger than MTU
2020-01-03 08:55:35 +00:00
xiehang
ea1b821a60
Fix wifi stop bug when sniffer enable
2020-01-03 08:52:56 +00:00
Angus Gratton
7dc7557aa9
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-03 17:31:40 +11:00
Angus Gratton
e08fc62071
Merge branch 'bugfix/backtrace_rom_fn' into 'master'
...
soc: fix backtraces containing ROM functions
See merge request espressif/esp-idf!6719
2020-01-03 14:30:21 +08:00
Angus Gratton
4132923ebe
Merge branch 'bugfix/ws_user_context' into 'master'
...
websocket: added missing event data
Closes IDF-1271
See merge request espressif/esp-idf!7059
2020-01-03 09:29:41 +08:00
Ivan Grokhotkov
43de2cc84c
test: add a (non-automated) case for backtraces with ROM functions
2020-01-02 18:50:32 +01:00
Ivan Grokhotkov
b4aba189ab
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-01-02 18:42:46 +01:00
Ivan Grokhotkov
d9534b3d6a
soc: fix backtraces containing ROM functions
...
esp_ptr_executable would return false for pointers to ROM, which would
interrupt the backtrace. This makes ROM ranges recognized as
executable.
2020-01-02 18:42:46 +01:00
David Cermak
b2c8ce8e2b
esp_netif: fixed initialization order of items in a struct
...
Closes https://github.com/espressif/esp-idf/issues/4389
Closes https://github.com/espressif/esp-idf/issues/4507
2020-01-02 17:16:47 +00:00
David Cermak
ddf59520c6
wifi: fixed missing c++ guards
...
Closes https://github.com/espressif/esp-idf/issues/4497
2020-01-02 17:16:47 +00:00
Mahavir Jain
97c8b90083
Merge branch 'bugfix/advanced_https_ota_example' into 'master'
...
Bugfix for failing OTA example
Closes IDF-1080 and IDFGH-2249
See merge request espressif/esp-idf!6979
2020-01-02 17:29:35 +08:00
Jakob Hasse
c31c45cae7
NVS: partition name is copied now
...
Closes IDF-1231
2020-01-02 09:18:24 +08:00
Ivan Grokhotkov
f30e920116
Merge branch 'bugfix/esp32s2beta_fix_wifi_init_crash' into 'master'
...
Fix ESP32S2BETA WiFi initialization crash issue
Closes WIFI-1597
See merge request espressif/esp-idf!7154
2019-12-31 17:57:41 +08:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
17b5df4d72
Merge branch 'feature/function_call_with_stack' into 'master'
...
esp_common: added a macro to allow call functions using user allocated stack
Closes IDF-535
See merge request espressif/esp-idf!6709
2019-12-31 15:08:27 +08:00
Angus Gratton
cf2f732b2c
Merge branch 'bugfix/heap_tests_esp32s2beta' into 'master'
...
bugfix/heap test failure fixing for esp32s2 beta
Closes IDF-1021
See merge request espressif/esp-idf!6659
2019-12-31 15:03:01 +08:00
Angus Gratton
d4366e0e05
Merge branch 'bugfix/pthread_cxx_test_race' into 'master'
...
test: Fix possible race in pthread C++ test
Closes IDF-1270
See merge request espressif/esp-idf!7054
2019-12-31 07:06:54 +08:00
Angus Gratton
4ae9dad9a3
Merge branch 'bugfix/panic_cache_err_dig_reset' into 'master'
...
esp32: panic: do digital reset if cache error interrupt is set
See merge request espressif/esp-idf!7152
2019-12-31 07:04:22 +08:00
Ivan Grokhotkov
4bbfa6e494
Merge branch 'feature/soc_ledc_caps' into 'master'
...
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
See merge request espressif/esp-idf!6858
2019-12-30 18:47:11 +08:00
Ivan Grokhotkov
9e93b619d9
Merge branch 'bugfix/coredump_epc_level' into 'master'
...
core dump: only get EPC/EPS registers up to XCHAL_NUM_INTLEVELS
See merge request espressif/esp-idf!7064
2019-12-30 18:45:59 +08:00
Ivan Grokhotkov
f2f008e167
Merge branch 'bugfix/xt_context_save' into 'master'
...
freertos: save/restore PS and EPC1 around window spilling, fixes setjmp regression
Closes IDFGH-2428
See merge request espressif/esp-idf!7135
2019-12-30 18:05:25 +08:00
Xia Xiaotian
b7e3886bf2
Fix ESP32S2BETA WiFi initialization crash issue
...
ESP32S2BETA does not need to enable WiFi common clock in WiFi library, for
WiFi common clock is not disabled when WiFi is in sleep state.
2019-12-30 16:51:12 +08:00
Ivan Grokhotkov
f52952cb45
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2019-12-30 09:49:07 +01:00
Angus Gratton
03f6179211
Merge branch 'bugfix/app_partition_sha_values' into 'master'
...
bootloader_support: Fix for app SHA-256 calculation, chip revision log spam
See merge request espressif/esp-idf!6862
2019-12-30 12:45:30 +08:00
Angus Gratton
bc02b128be
Merge branch 'feature/add_eth_download_test' into 'master'
...
ethernet: test download blob && phy addr auto detect
Closes IDF-1238
See merge request espressif/esp-idf!6957
2019-12-30 11:52:40 +08:00
Angus Gratton
ba3f47efd6
bootloader_support: fix crash in image verification is SHA doesn't match
2019-12-30 13:48:11 +11:00
Angus Gratton
b2ed553bbf
bootloader_support: Reduce log spam about chip revisions
...
* Don't bother checking the chip revision if it looks like the partition
doesn't really contain an app
* Don't print the "info" level about the revision & min revision unless
we're in the bootloader (otherwise it gets printed at random times
during the OTA process)
2019-12-30 13:48:11 +11:00
Angus Gratton
5139934767
bootloader_common: Fix esp_partition_get_sha256(), add unit tests
...
Regression in 438d513a95
Reported here: https://esp32.com/viewtopic.php?f=13&t=13250&p=52460
2019-12-30 13:47:47 +11:00
Kirill Chalov
ab6311c548
Reveiw the file api-reference/peripherals/i2s.rst
2019-12-29 21:05:57 +00:00
Jiang Jiang Jian
c8b839b3d5
Merge branch 'bugfix/btdm_revert_changes_of_security_mask' into 'master'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7118
2019-12-29 14:12:27 +08:00
Ivan Grokhotkov
e4d45608d3
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
2019-12-28 20:33:21 +00:00
lly
3b9fe36494
ble_mesh: Fix memory leak when node is reset
...
When node is being reset, the init functions of each sig-defined
models will be invoked again, this will cause memory leak because
some model internal data will be allocated again.
Hence before trying to allocate memory for them, we add some check
to make sure no memory has been allocated previously.
And for client model, when the init functions are invoked again,
we will clear the list items.
2019-12-28 08:00:44 +00:00
Ivan Grokhotkov
3285ed116d
heap: make compatible with non-OS builds, remove target dependence
2019-12-27 12:40:06 +01:00
Ivan Grokhotkov
6c0044cc65
Merge branch 'bugfix/rtc_cntl_h_cpp_guards' into 'master'
...
Add missing extern "C" to rtc_cntl.h
Closes IDFGH-2419
See merge request espressif/esp-idf!7093
2019-12-27 19:21:06 +08:00
Ivan Grokhotkov
acca61c714
Merge branch 'bugfix/spiffs_partition_label_usage' into 'master'
...
spiffs: clarify the usage of partition_label, fix the example
Closes IDFGH-2313
See merge request espressif/esp-idf!7092
2019-12-27 19:20:46 +08:00
Ivan Grokhotkov
83d63b4673
unity: re-enable test case exit by longjmp
2019-12-27 11:27:01 +01:00
Ivan Grokhotkov
891eb3b020
freertos: save/restore PS and EPC1 around window spilling
...
Since in b0491307
, which has introduced the optimized window spill
procedure, _xt_context_save did not work correctly when called from
_xt_syscall_exc. This was because unlike _xt_lowint1, _xt_syscall_exc
does not save PS and EPC1. The new version of _xt_context_save
modified PS (on purpose) and EPC1 (accidentally, due to window
overflow exceptions), which resulted in a crash upon 'rfi' from the
syscall.
This commit adds restoring of PS and EPC1 in _xt_context_save. It also
slightly reduces the number of instructions used to prepare PS for
window spill.
Unit test for setjmp/longjmp (which were broken by this regression)
is added.
Closes https://github.com/espressif/esp-idf/issues/4541
2019-12-27 11:27:01 +01:00
Mahavir Jain
e0b667804f
Merge branch 'fix/test_flash_timeout_sdio_throughput' into 'master'
...
Fix several CI issues
See merge request espressif/esp-idf!7101
2019-12-26 20:25:31 +08:00
Mahavir Jain
3be94b6952
Merge branch 'bugfix/can_critical_section_logs' into 'master'
...
can: Fix critical section ESP_LOG functions
Closes IDFGH-2270 and IDF-1067
See merge request espressif/esp-idf!7081
2019-12-26 16:22:17 +08:00
Mahavir Jain
9738bc58ed
Merge branch 'bugfix/can_semaphore_take_in_critical' into 'master'
...
can: Fix semaphore take in critical section
Closes IDFGH-2115
See merge request espressif/esp-idf!7083
2019-12-26 16:15:07 +08:00
baohongde
3977ba7bc6
components/bt: Revert changes of security mask
2019-12-25 20:03:16 +08:00
zhangyanjiao
56c309b40b
fix the bugs in ESP-NOW:
...
1. fix the bug when modifying the channel info of peer node
2. fix the crash when modifying peer node between unencrypted and encrypted
3. fix the bug for fetch peer
4. modify the esp_wifi_set_channel() function
5. fix the bug that the channel parameter doesn't work when adding peer node
Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2019-12-25 11:46:27 +08:00
liu zhifu
97e7bdd161
esp_wifi: fix WiFi timer bug
2019-12-25 09:10:45 +08:00
liu zhifu
e1eeef2276
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-24 21:32:03 +08:00
Michael (XIAO Xufeng)
2ffe0aca12
esp_flash: increase the timeout for block erase
2019-12-24 16:50:09 +08:00
Michael (XIAO Xufeng)
72cf67cba3
sdio_slave_hal: fix the TAG non-static issue
...
(MINOR CHANGE)
2019-12-24 16:50:09 +08:00
Michael (XIAO Xufeng)
41e37ebabe
ci: decrease the performance threshold for sdio throughput
2019-12-24 16:50:08 +08:00
Jack
3f22448fdf
Fixes ESPNOW unicast packet Tx failure
2019-12-24 11:59:18 +08:00
Jiang Jiang Jian
a3501deb22
Merge branch 'bugfix/fix_the_bugs_for_bandwidth' into 'master'
...
fix the bugs for bandwidth
Closes WIFI-1306
See merge request espressif/esp-idf!6965
2019-12-24 11:43:44 +08:00
morris
7baf7ce273
ethernet: optimise tx and rx
2019-12-24 11:18:31 +08:00
morris
fce6a9c735
ethernet: test ethernet download
2019-12-24 11:18:30 +08:00
morris
197d5d7378
ethernet: support phy addr auto detect
2019-12-24 11:18:30 +08:00
Ivan Grokhotkov
f687cedebe
Merge branch 'bugfix/wa_dport_and_intr' into 'master'
...
esp32: Fix for DPORT
See merge request espressif/esp-idf!7070
2019-12-24 01:30:56 +08:00
Ivan Grokhotkov
750818de72
spiffs: clarify the usage of partition_label, fix the example
...
* If esp_vfs_spiffs_register is called with an explicit partition
label, other SPIFFS functions (info, format, unregister) must be
called with the same label.
* On the other hand, if label was NULL in the call to
esp_vfs_spiffs_register and the first matching partition was used,
calls to the rest of the SPIFFS functions should be done with NULL
partition_label argument.
Fix the Doxygen documentation. Update the example accordingly, in case
a user modifies "partition_label" value in esp_vfs_spiffs_conf_t conf
initializer.
Closes https://github.com/espressif/esp-idf/issues/4450
2019-12-23 18:20:14 +01:00
zhangyanjiao
7416c37fe1
fix the bug for getting channel and bandwidth
2019-12-23 20:06:13 +08:00
Jiang Jiang Jian
698350ff1f
Merge branch 'bugfix/fix_performance_issues_new' into 'master'
...
improve wifi performance
Closes WIFI-265, WIFI-1349, WIFI-23, WIFI-296, WIFI-397, WIFI-1255, WIFI-1256, and FCS-175
See merge request espressif/esp-idf!6928
2019-12-23 17:38:43 +08:00
Ivan Grokhotkov
c029888bf1
Merge branch 'fix/spi_ut_esp32s2beta' into 'master'
...
spi: re-enable the unit tests for esp32s2beta
Closes IDF-1020
See merge request espressif/esp-idf!6327
2019-12-23 15:10:31 +08:00
morris
888316fc64
bootloader_support: refactor to better support multi target
2019-12-23 05:45:17 +00:00
suda-morris
ba7c67ece8
bootloader won't have dependency on wifi
2019-12-23 05:45:17 +00:00
michael
2dd12ae5f8
spi: fix speed test issues on esp32s2beta
...
Also support performance value for different targets.
2019-12-23 10:23:01 +08:00
michael
3d1ec3f451
intr_alloc: fix the issue intr_enable/disable cannot be used in ISR in
...
esp32s2beta.
This issue is reported in config freertos_compliance_s2.
2019-12-23 10:23:00 +08:00
michael
262ba6f825
spi: fix iomux, timing and address phase issues for esp32s2beta
2019-12-23 10:23:00 +08:00
michael
11fa11000f
spi: re-enable the unit tests for esp32s2beta
2019-12-23 10:22:59 +08:00
Jack
1e47b01563
improve wifi performance
2019-12-22 19:34:53 +08:00
KonstantinKondrashov
9432ebddf9
esp32: Add UT for DPORT
2019-12-21 14:10:38 +00:00
KonstantinKondrashov
c4dcf6f917
esp32: Fix esp_dport_access_reg_read
2019-12-21 14:10:38 +00:00
KonstantinKondrashov
1687c53700
freertos: Fix save_context. Add RSYNC after WSR
...
RSYNC waits for all previously fetched WSR.* instructions to be performed before inter-
preting the register fields of the next instruction.
2019-12-21 14:10:38 +00:00
boarchuz
5dc10a4191
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2019-12-21 12:12:54 +11:00
Felipe Neves
8795b2681c
heap: added test case for realloc to verify if successive realloc in IRAM still ends there.
2019-12-20 13:48:09 -03:00
Felipe Neves
4909fdfe02
heap_caps: small fixes on comments plus cleaning
2019-12-20 13:35:56 -03:00
Felipe Neves
31145f38fa
heap_caps: added special case for realloc when previous area is an diram_iram ptr, this will force a malloc/copy/free
2019-12-20 13:35:56 -03:00
Felipe Neves
ce9f84fba9
heap_caps: enable check of pointer on diram_iram for both S2 and non-S2 platform
2019-12-20 13:35:56 -03:00
Felipe Neves
d9ab33118e
heap/multi_heap_poisoning: include heap_private.h only when no host heap tests
2019-12-20 13:35:56 -03:00
Felipe Neves
4a392932f1
heap/heap_caps: added special case for esp32s2 when handling memory allocated (and aliased) from IRAM
2019-12-20 13:35:56 -03:00
Felipe Neves
ecc4955c68
heap/test_malloc_caps: changed malloc caps test to deal with esp32 and esp32s2 memory differencies.
2019-12-20 13:35:56 -03:00
Felipe Neves
cf95ea40d4
heap/test_leak: changed requested memory on leak checks to match the threshold
2019-12-20 13:35:56 -03:00
Felipe Neves
d1b76d13bb
exp_expression_with_stack: added check for null pointer after obtaining a mutex in test
2019-12-20 13:28:29 -03:00
Felipe Neves
f0e82311a5
esp_expression_with_stack: fix wrong top of stack calculation plus documentation update
2019-12-20 13:23:47 -03:00
Felipe Neves
e4fb50e6f3
expression_with_stack_xtensa: fixed stack pointer to avoid its overflow on heap block metadata.
2019-12-20 13:18:13 -03:00
Felipe Neves
fab50ccf7c
expression_with_stack_xtensa: call esp watchpoint function using a callx4 to fix range problem of call4 function
2019-12-20 13:18:13 -03:00
Felipe Neves
674cb1c21c
esp_expression_with_stack: added fake stack frame plus some cleanup on main macro
2019-12-20 13:18:13 -03:00
Felipe Neves
5e18cd4e13
esp_expression_with_stack: added watchpoint on stack parameter before use it
2019-12-20 13:18:13 -03:00
Felipe Neves
dfea4196a2
docs: added esp-expression-with-stack on documentation
2019-12-20 13:18:13 -03:00
Felipe Neves
002f38c7f5
expression_with_stack_xtensa: protected switch stacks function to compile only on window ABI supported platform
2019-12-20 13:18:13 -03:00
Felipe Neves
11266ef05d
expression_with_stack_xtensa: renamed and moved assembly helpes of esp_expression_wit_stack to xtensa component
2019-12-20 13:18:13 -03:00
Felipe Neves
7b90f34c5a
esp_expression_with_stack: renamed macro and functions to have esp_ prefix
2019-12-20 13:18:13 -03:00
Felipe Neves
98b76617be
test_shared_stack_printf: moved the test stack inside the heap
2019-12-20 13:18:13 -03:00
Felipe Neves
debcc68c41
esp_common: added a macro to allow call functions using user allocated stack
2019-12-20 13:18:13 -03:00
Darian Leung
4c3d49e3f0
can: Fix semaphore take in critical section
...
This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.
Closes https://github.com/espressif/esp-idf/issues/4277
2019-12-20 22:00:33 +08:00
Darian Leung
b6af587975
can: Fix critical section ESP_LOG functions
...
This commit removes any function calls within
the CAN driver that result in a call to ESP_LOG
whilst inside a critical section.
These function calls are either moved outside
critical sections (e.g., intr_alloc and gpio
functions), or substituted (e.g., assert()).
Closes https://github.com/espressif/esp-idf/issues/4412
2019-12-20 20:58:48 +08:00
Konstantin Kondrashov
98495e5939
sntp: Add API to set update interval
...
Closes: https://github.com/espressif/esp-idf/issues/4437
Closes: IDFGH-2298
2019-12-20 18:26:23 +08:00
Angus Gratton
28314f9bb0
Merge branch 'bugfix/parttool_regression' into 'master'
...
parttool: Fix regression when parsing binary partition data
See merge request espressif/esp-idf!7075
2019-12-20 17:33:21 +08:00
Jiang Jiang Jian
e977cc24ff
Merge branch 'bugfix/fix_ble_mesh_adv_buf_unref' into 'master'
...
ble_mesh: Fix adv buf unref and link_id in exceptional list
See merge request espressif/esp-idf!6828
2019-12-20 17:11:08 +08:00
Angus Gratton
8f15664be0
parttool: Fix regression when parsing binary partition data
...
Regression in a91de43537
2019-12-20 19:09:10 +11:00
Jiang Jiang Jian
abe26a1c02
Merge branch 'bugfix/ble_mesh_client_check_remain_time' into 'master'
...
ble_mesh: Client model check timer remaining time
See merge request espressif/esp-idf!7010
2019-12-20 15:21:26 +08:00
Mahavir Jain
ba0a22f59d
Merge branch 'fix/run_esptool_absolute_path' into 'master'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories
See merge request espressif/esp-idf!7062
2019-12-20 14:05:53 +08:00
Angus Gratton
f0680b99b3
Merge branch 'bugfix/mdns_netif_local' into 'master'
...
mdns: fix preset of esp_netif ptr for local interfaces
Closes WIFI-1538
See merge request espressif/esp-idf!7009
2019-12-20 12:53:50 +08:00
lly
fbdaed0248
ble_mesh: Add unlock when failed to create alarm
2019-12-20 12:25:01 +08:00
lly
619e606356
ble_mesh: Rename ble mesh lock/unlock functions
...
Rename BLE Mesh internal lock/unlock functions, also seperate
the list, buf and atomic lock/unlock functions
2019-12-20 12:23:10 +08:00
Angus Gratton
3faa2a48d1
Merge branch 'test/uart_unit_tests' into 'master'
...
driver: test: Fix for 'uart read write' test failure, use some more verbose macros
See merge request espressif/esp-idf!6996
2019-12-20 12:15:45 +08:00
Angus Gratton
8099a90d46
Merge branch 'bugfix/parttool_backtraces' into 'master'
...
parttool: Avoid unnecessary exception backtrace for legitimate errors
See merge request espressif/esp-idf!7022
2019-12-20 12:14:23 +08:00
Angus Gratton
0cc98b8d76
secure boot: Fix bootloader build system target for bootloader digest
...
Closes https://github.com/espressif/esp-idf/issues/4513
2019-12-20 15:09:15 +11:00
Angus Gratton
15e67a49f4
Merge branch 'bugfix/nvs_flash_iterator' into 'master'
...
NVS: BUGFIX iterator corrupting entries.
Closes IDFGH-2229
See merge request espressif/esp-idf!6789
2019-12-20 11:40:23 +08:00
Jiang Jiang Jian
546aa18c84
Merge branch 'bugfix/fix_wifi_stop_memory_leak' into 'master'
...
esp_wifi/supplicant: fix some WiFi stop memory leak
Closes WIFI-1488
See merge request espressif/esp-idf!7043
2019-12-20 11:07:13 +08:00
Ivan Grokhotkov
37a8ff9040
core dump: only get EPC/EPS registers up to XCHAL_NUM_INTLEVELS
2019-12-19 16:47:57 +01:00
Amit Sheth
8f3987099e
project_include.cmake: Make esptool_py_custom_target callable from other directories
2019-12-19 17:53:09 +05:30
Marius Vikhammer
7c0e3765ec
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
2019-12-19 17:36:37 +08:00
Ivan Grokhotkov
9addf631e5
Merge branch 'bugfix/mdns_deinit_event_crash' into 'master'
...
mdns: fixed crash on event during deinit
Closes WIFI-1485
See merge request espressif/esp-idf!6951
2019-12-19 15:42:05 +08:00
Jakob Hasse
38aa21fd15
WIFI: added log for wifi test, increased timeout
2019-12-19 14:53:28 +08:00
Angus Gratton
852462f4e2
test: Fix possible race in pthread C++ test
...
Also use TEST_ASSERT_EQUAL to get better debugging
Debugging intermittent UT failures on S2 release config
In the old version, the 300ms delay in between the two kinds of test
was supposed to keep the tasks in lockstep so it didn't matter that
global_sp was protected by two muxes.
However it seems like sometimes they could get out of sync -
I think because of a race in the sleep_until test. If the
second counter ticks over at that exact moment sleeping starts,
then the task doesn't sleep and will immediately keep running
for the next iteration, possibly racing the other tasks.
2019-12-19 15:55:51 +11:00
Angus Gratton
505a82488a
Merge branch 'bugfix/esp_log_from_critical' into 'master'
...
intr_alloc: don't call ESP_LOG from a critical section
Closes FCS-268
See merge request espressif/esp-idf!7047
2019-12-19 08:47:19 +08:00
Mahavir Jain
e8db1c4da0
Merge branch 'feature/enable_i2s_tests_on_esp32s2beta' into 'master'
...
Enable i2s and freertos test/s on esp32s2beta
See merge request espressif/esp-idf!6790
2019-12-18 17:51:54 +08:00
Ivan Grokhotkov
2b6c85e182
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2019-12-18 10:11:24 +01:00
liu zhifu
fde2f33912
esp_wifi/supplicant: fix some WiFi stop memory leak
2019-12-18 13:51:27 +08:00
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
Jakob Hasse
5249d33c1f
NVS: bugfix nvs_set_str/blob checks write mode
2019-12-18 09:06:45 +08:00
Jakob Hasse
bb1cd9a440
NVS: BUGFIX non-matching type iterator works
...
Closes IDFGH-2229
2019-12-18 09:06:45 +08:00
David Cermak
eaa2f12d67
mdns: fixed crash on event during deinit
...
mdns library deinitialization destroys internal structures including action queue. if an event (e.g. network update) received
after some essential stucture is destoyed, an unexpected behavour might be introduced (e.g. crash of adding the event notification
to the action queue which was already destroyed
Closes WIFI-1485
2019-12-17 18:18:22 +00:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
Jiang Jiang Jian
259d43db83
Merge branch 'bugfix/fix_block_scan_crash_issue' into 'master'
...
esp_wifi: Fix wifi block scan crash issue
Closes AUD-873 and WIFI-922
See merge request espressif/esp-idf!6422
2019-12-17 20:03:10 +08:00
Jiang Jiang Jian
08b1ccb7b7
Merge branch 'bugfix/esp_netif_receive_null_netif' into 'master'
...
esp_netif: store netif before register wifi rxcb
Closes WIFI-1499
See merge request espressif/esp-idf!6947
2019-12-17 20:01:34 +08:00
David Cermak
b61b927008
esp_netif: minor log message fix in dhcps cb
...
To make it more general, since the DHCP server does not necessarily runs only on softAP.
2019-12-17 09:02:51 +01:00
Thomas Schaub
f21107d12d
esp_netif/tcpip_adapter: declare functions extern "C"
...
Merges https://github.com/espressif/esp-idf/pull/4408
2019-12-17 09:02:51 +01:00
David Cermak
ac47c74ec4
esp_netif, docs: Added programmer's manual section
...
Also added guide for creating a custom network capable I/O driver
And added notes about default wifi interfaces and implications of using
default short-hand creation functions.
2019-12-17 09:02:51 +01:00
Mahavir Jain
c86c1ecc7e
Merge branch 'support/add_uart_fifo_threshold_set_api' into 'master'
...
add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty
See merge request espressif/esp-idf!6749
2019-12-17 11:30:11 +08:00
Angus Gratton
0bc6f2b42c
Merge branch 'bugfix/fix_crash_when_use_one_speed_mode' into 'master'
...
bugfix(ledc): fix crash when use one speed mode
See merge request espressif/esp-idf!6788
2019-12-17 11:16:11 +08:00
Angus Gratton
a0887fcf84
Merge branch 'feature/esp_netif_pppos_client' into 'master'
...
esp-netif: PPP support, update example and modem subcomponent
See merge request espressif/esp-idf!6744
2019-12-17 09:11:12 +08:00
kewal shah
eec8212237
add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty
2019-12-16 20:26:04 +00:00
Alexey Gerenkov
184e1785ff
gcov: Fixes aborted calls to _lock_acquire_recursive from gcov stub
2019-12-16 19:15:37 +00:00
David Cermak
25913af2cc
pppos_client: udated example code to use esp-netif in PPP configuration
2019-12-16 17:34:10 +00:00
David Cermak
52ca3a917d
esp_netif: Support for PPPoS in esp_netif using lwip ppp client
2019-12-16 17:34:10 +00:00
David Cermak
09e36f9f33
mdns: fix preset of esp_netif ptr for local interfaces
...
mdns module store local copy of esp_netif for common interfaces,
but it was correctly initialized only when interface started.
If the event were missed (e.g. mdns_init after interface start)
the local copy wouldn't be initialized. Fixed by restoring the local
copy.
Closes WIFI-1538
2019-12-16 15:39:23 +01:00
Angus Gratton
435dd546cc
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc_types.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t. Latter was added in
ESP-IDF v4.0.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2019-12-16 19:43:11 +11:00
xiehang
a159fc15fc
esp_wifi: Fix wifi block scan crash issue
2019-12-16 07:47:08 +00:00
Angus Gratton
a91de43537
parttool: Avoid unnecessary exception backtrace for legitimate errors
...
Previous version used exception handling for program control flow,
which makes for long and confusing backtrace messages if an error
occurs while parsing the CSV (as it also prints the phony error that
occurred while trying to parse as a binary, then prints
"During handling of the above exception, another exception occurred:",
then prints the real error).
Use the same heuristic that is applied in gen_esp32_part, instead.
Also, avoid printing the entire backtrace if the error is a gen_esp32_part
InputError, same as gen_esp32part does.
Found while looking into https://github.com/espressif/esp-idf/issues/4474
2019-12-16 18:24:10 +11:00
Mahavir Jain
2e73c2818b
freertos: re-enable mutext test for esp32s2beta
2019-12-16 11:55:32 +05:30
Mahavir Jain
8b05cf41ad
i2s: enable tests for esp32s2beta
2019-12-16 11:53:33 +05:30
Angus Gratton
f7b51c164d
Merge branch 'bufgix/esp_timer_set_alarm' into 'master'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time
Closes WIFI-1511
See merge request espressif/esp-idf!6960
2019-12-16 13:39:44 +08:00
Ivan Grokhotkov
1f6bb6ef4f
Merge branch 'feat/mmc_check_data_switching_freq' into 'master'
...
sdmmc: add communication check for eMMC after frequency switch
See merge request espressif/esp-idf!6893
2019-12-16 13:05:03 +08:00
chenjianqiang
41fca84064
bugfix(ledc): fix crash when use one speed mode and enable ledc fade test case
2019-12-16 02:49:26 +00:00
Angus Gratton
9dbb7526c5
Merge branch 'bugfix/ulp_supported_version' into 'master'
...
ulp: remove 20190801 version, update supported version for Make
See merge request espressif/esp-idf!7014
2019-12-16 10:47:44 +08:00
Ivan Grokhotkov
917889dfdf
ulp: remove 20190801 version, update supported version for Make
2019-12-15 21:39:42 +01:00
lly
31a4738bd4
ble_mesh: Use mutex to protect client list operations
2019-12-14 17:32:47 +08:00
lly
e4223df60f
ble_mesh: Remove useless parameters of lock/unlock
2019-12-14 16:28:22 +08:00
lly
d2bc597e9f
ble_mesh: Client model check timer remaining time
...
Before handling status message, client models need check if the
corresponding timer has expired. And if timeout happens, the
status message will be treated as a publish message.
2019-12-14 15:43:59 +08:00
Michael (XIAO Xufeng)
0ec08ca21b
sdio_slave: support HAL layer
2019-12-13 18:33:15 +08:00
Jiang Jiang Jian
09615245a5
Merge branch 'bugfix/fix_softap_crash_when_assoc_illegal' into 'master'
...
esp_wifi: Fix association request RSN information length too big lead crash.
Closes WIFI-1253
See merge request espressif/esp-idf!6380
2019-12-13 18:12:25 +08:00
Angus Gratton
ecf85555b6
Merge branch 'bugfix/small_unit_test_fixes' into 'master'
...
test: Small unit test fixes
See merge request espressif/esp-idf!6981
2019-12-13 14:00:05 +08:00
KonstantinKondrashov
ada09f8fad
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-13 13:51:47 +08:00
Angus Gratton
4f1d49d8c2
Merge branch 'feature/esp32s2beta_hw_crypto_support' into 'master'
...
hw crypto: activated hardware acceleration for esp32s2beta
Closes IDF-757
See merge request espressif/esp-idf!6615
2019-12-13 13:40:33 +08:00
Ivan Grokhotkov
7bda06f7f4
Merge branch 'bugfix/console_example' into 'master'
...
esp32s2beta: add missing sleep APIs, re-enable console example
Closes IDF-1033
See merge request espressif/esp-idf!6572
2019-12-12 22:44:43 +08:00
Ivan Grokhotkov
792598c04a
esp32s2beta: add APIs added to esp32 target after IDF 3.1
2019-12-12 14:34:15 +01:00
Jiang Jiang Jian
77290ddd07
Merge branch 'demo/hfp-client-demo' into 'master'
...
component_bt/: Add HFP HF Unit Example
Closes BT-459
See merge request espressif/esp-idf!6495
2019-12-12 21:19:04 +08:00
weitianhua
c2e97b1042
Enable mSBC for demo
2019-12-12 17:12:38 +08:00
weitianhua
392eb79704
Format the BTM_WBS_INCLUDED macro
2019-12-12 17:12:38 +08:00
weitianhua
ad4b11a4f1
Fix crash when WBS enabled.
2019-12-12 17:12:38 +08:00
weitianhua
10e5f16974
remove BTM_WBS_INCLUDED for bta_hf_client_version select
2019-12-12 17:12:19 +08:00
weitianhua
742cb8df9e
Update the README.md
...
Fix the m_rb bug in bt_app_hf.c
Change the log level into information.
2019-12-12 17:12:19 +08:00
michael
232d98608a
sdmmc: add communication check for eMMC after frequency switch
2019-12-12 08:11:17 +00:00
lly
1a8199dd41
ble_mesh: Fix using wrong name for PB-GATT
2019-12-12 15:59:37 +08:00
lly
c354b0993d
ble_mesh: Fix adv buf unref and link_id in exceptional list
2019-12-12 15:58:43 +08:00
Geng Yu Chao
6c923cf330
Fix some typo in idf
2019-12-12 15:55:42 +08:00
Jiang Jiang Jian
767917bcf7
Merge branch 'bugfix/btdm_avrc_metadata_length_error' into 'master'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6879
2019-12-12 15:53:08 +08:00
Angus Gratton
ee7cd4e1d8
driver: test: Ensure UART is fully idle before starting loopback RX/TX test
...
Possible fix for sporadic failures of this test in CI, may be due to a byte already
being queued in one of the FIFOs
2019-12-12 17:21:46 +11:00
Angus Gratton
b79a6c2576
driver: test: Use more detailed macros than TEST_ASSERT() to get better errors
2019-12-12 17:21:40 +11:00
KonstantinKondrashov
e6223440b3
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-12 14:02:26 +08:00
Marius Vikhammer
c63684cf6c
hw crypto: activated hardware acceleration for esp32s2beta
...
Activated AES, RSA and SHA hardware acceleration for esp32s2 and enabled related unit tests.
Updated with changes made for ESP32 from 0a04034
, 961f59f
and caea288
.
Added performance targets for esp32s2beta
Closes IDF-757
2019-12-12 12:37:29 +08:00
Angus Gratton
50aad77f3a
driver: Rename "local" tests to "single board" tests, add some description to the names
2019-12-12 11:05:04 +11:00
Angus Gratton
3b52eddf6b
Merge branch 'bugfix/optimize_some_build_system_tests' into 'master'
...
cmake: some optimizations to build system tests
See merge request espressif/esp-idf!6972
2019-12-12 06:34:54 +08:00
Angus Gratton
b3eb4395c9
Merge branch 'feature/wifi_prov_ext_httpd' into 'master'
...
wifi_provisioning_softap: Allow applications to start webserver externally
See merge request espressif/esp-idf!6860
2019-12-12 06:32:26 +08:00
Ivan Grokhotkov
87a41fabfa
esp-tls: check return value of fcntl
2019-12-11 14:53:27 +01:00
Ivan Grokhotkov
23848fd1b9
newlib: define fcntl as strong symbol
...
Closes https://github.com/espressif/esp-idf/issues/3694
Closes https://github.com/espressif/esp-idf/issues/4407
2019-12-11 14:53:26 +01:00
Ivan Grokhotkov
08286ac20f
newlib: add definitions of system, raise
...
Closes IDF-1220
Closes IDFGH-1811
Closes https://github.com/espressif/esp-idf/pull/4020
2019-12-11 14:52:51 +01:00
xiehang
3eaf86fbf1
esp_wifi: Fix association req RSN info lengeh too big lead crash
2019-12-11 10:59:18 +00:00
Renz Christian Bagaporo
f766866167
cmake: remove intermediary libraries for some component
2019-12-11 16:43:47 +08:00
Angus Gratton
c03642ff89
Merge branch 'bugfix/mdns_send_sdptr_answer' into 'master'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
Closes IDFGH-2219
See merge request espressif/esp-idf!6868
2019-12-11 12:45:30 +08:00
Hrudaynath Dhabe
04e024bfd2
wifi: fix eapol frames encryption during reauth
2019-12-11 11:29:30 +08:00
Jiang Jiang Jian
4100f2e84f
Merge branch 'optimize_tcp_random_close' into 'master'
...
optimize tcp random close
Closes WIFI-1433
See merge request espressif/esp-idf!6907
2019-12-10 16:47:34 +08:00
Angus Gratton
882f5d0b56
Merge branch 'bugfix/fix_s2_cpp_exceptions' into 'master'
...
C++: enable exceptions ESP32S2-beta
Closes IDF-1039
See merge request espressif/esp-idf!6579
2019-12-10 15:13:15 +08:00
Alex Lisitsyn
ba1ee4092a
freemodbus: fix merge issues
2019-12-10 14:30:25 +08:00
Alex Lisitsyn
44444208b7
freemodbus: update poll event processing
...
update modbus poll event loop processing to process multiple events
2019-12-10 14:27:09 +08:00
Angus Gratton
f50df36ebf
Merge branch 'feature/external_github_prs' into 'master'
...
Include external github PRs
Closes IDFGH-2291, IDFGH-2306, IDFGH-2315, and IDFGH-2307
See merge request espressif/esp-idf!6931
2019-12-10 12:33:32 +08:00
xueyunfei
fdea4b54c6
optimize tcp random close
2019-12-10 11:55:07 +08:00
Ryan Kurte
4ee78f8496
added KConfig option to allow loading CA certs with unsupported extensions
...
Close https://github.com/espressif/esp-idf/pull/4445
2019-12-10 08:47:26 +05:30
Jakob Hasse
78e4b0ff96
CXX: enable exceptions ESP32S2-beta
...
Closes IDF-1039
* Enabled test cases for -fno-exceptions to S2-beta again
* Added different reset tag for S2-beta
2019-12-10 10:23:00 +08:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
Ivan Grokhotkov
9e73a038a6
Merge branch 'feature/freertos_authentic_includes' into 'master'
...
Added freertos property allowing use "authentic" include path
See merge request espressif/esp-idf!6808
2019-12-09 22:39:27 +08:00
Mahavir Jain
8e28226935
Disable few test cases for ESP32S2BETA
...
These test cases will be fixed in subsequent MR
2019-12-09 16:30:55 +05:30
Mahavir Jain
a737fd4865
Fix issue with timer usage in FreeRTOS tests
2019-12-09 13:33:45 +05:30
Axel Lin
489c815eb8
esp_http_client: add esp_http_client_set_authtype function
...
Since currently there are APIs to set url/username/password, it would be
good to also allow setting authtype.
Link: https://github.com/espressif/esp-idf/issues/4444
Closes https://github.com/espressif/esp-idf/pull/4454
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2019-12-09 13:33:44 +05:30
Axel Lin
6fdc8d7f92
esp_http_client: fix memory leak in esp_http_client_set_username/password
...
Fix memory in case username/password was set before calling
esp_http_client_set_username/password.
Closes https://github.com/espressif/esp-idf/issues/4444
Fixes: 9fd16c6a5f
("fixes : set_url discards username and password")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2019-12-09 13:33:44 +05:30
Aidan Cyr
5f6fd238b6
fix: esp_http_client and esp_https_ota can follow 307 Redirects
...
Closes https://github.com/espressif/esp-idf/pull/4431
2019-12-09 13:33:44 +05:30
Mathias Bredholt
594cec54bd
Removed relative path for lwip/arpa/inet.h
...
The relative path breaks compatibility with arduino-esp32 as the path doesn't exist in arduino-esp32.
https://github.com/espressif/arduino-esp32/pull/3425
Closes https://github.com/espressif/esp-idf/pull/4308
2019-12-09 13:33:44 +05:30
Geng Yu Chao
46c53ab8c8
btdm:fix the problem that Not getting complete Identity Address (Public Address) of the Privacy-enabled Bonded Device after bonding. beacuse of the wrong memcpy in LE_KEY callback handler.
2019-12-09 15:21:49 +08:00
chenyudong
66f6d8c3ef
esp_netif: store netif before register wifi rxcb
2019-12-09 15:16:00 +08:00
Angus Gratton
58355f7e21
Merge branch 'refactor/update_xtensa_header_file' into 'master'
...
update xtensa header file
Closes IDF-1197
See merge request espressif/esp-idf!6872
2019-12-09 13:08:52 +08:00
Jiang Jiang Jian
f830f66876
Merge branch 'bugfix/mesh_stop_recv_crash' into 'master'
...
mesh: fix mesh stop recv crash
See merge request espressif/esp-idf!6919
2019-12-09 13:05:36 +08:00
chenyudong
e48efd8a4d
mesh: fix mesh stop recv crash
...
Add a mutex.
2019-12-09 03:56:10 +00:00
xueyunfei
2fcdbb74f7
fix bug for improve performance
2019-12-09 03:16:12 +00:00
morris
01ca687caa
esp32s2beta: only support unicore
2019-12-09 09:48:37 +08:00
morris
a86d741fc9
esp_rom: remove esp_rom.c
2019-12-09 09:48:31 +08:00
morris
5efb1140ac
esptool: add chip and stub option
2019-12-09 09:48:16 +08:00
morris
13cb9f8718
xtensa: update header file
2019-12-09 09:44:56 +08:00
Jiang Jiang Jian
3224f24ef6
Merge branch 'Bugfix/add_netif_assert_master' into 'master'
...
fix bug for netif add crash
Closes WIFI-1219
See merge request espressif/esp-idf!6937
2019-12-07 17:33:32 +08:00
Xu Jun Jun
e20e47809d
For BT device restore security info from NV to SRAM, should set the ble_hci_handle to a invalid value, otherwise BLE devices may have pairing problem
2019-12-07 16:19:57 +08:00
xueyunfei
9894691e11
fix bug for netif add crash
2019-12-07 16:11:30 +08:00
Andrei Gramakov
6cd17c1e8c
freertos: added a FreeRTOS property returning "original" include path
2019-12-06 12:16:54 +01:00
Wang Jia Lin
f5e60524ac
Merge branch 'bugfix/fix_i2c_driver_breakingchange_issue' into 'master'
...
bugfix(i2c): fix I2C driver breaking change issue
See merge request espressif/esp-idf!6809
2019-12-06 16:50:16 +08:00
Wang Jia Lin
d0034f5a12
Merge branch 'bugfix/fix_uart_driver_spinlock_misused_bug' into 'master'
...
bugfix(UART): fix uart driver spinlock misused bug
See merge request espressif/esp-idf!6870
2019-12-06 11:12:54 +08:00
Hrishikesh Dhayagude
a2adcea802
Enable characteristic 0x2A04 in GAP service
...
Add support to enable Peripheral Preferred Connection Parameters in GAP service and update it correctly
2019-12-05 12:17:14 +08:00
Angus Gratton
a7aea56977
Merge branch 'feature/interrupt_overhead_improvement' into 'master'
...
feature/interrupt overhead improvement
Closes IDF-248
See merge request espressif/esp-idf!6328
2019-12-05 10:21:46 +08:00
Angus Gratton
02bf3fbfcc
Merge branch 'bugfix/update_libexpat' into 'master'
...
expat: Update library from 2.2.5 to 2.2.9
See merge request espressif/esp-idf!6782
2019-12-05 07:38:23 +08:00
Alexey Gerenkov
884717fb2f
apptrace: Adds support for converting SystemView traces to JSON format
2019-12-04 18:04:07 +03:00
Felipe Neves
57522059aa
freertos/tests: fixed wrong header file on isr latency test
2019-12-04 10:41:00 -03:00
Felipe Neves
0ea6453b1c
freertos: changed isr time test case variables to static
2019-12-04 10:41:00 -03:00
Felipe Neves
3882d986bd
components/unity: reverted the inclusion of test protect based on setjmp
2019-12-04 10:40:27 -03:00
Felipe Neves
8cd2831ec1
components/unity: re-enabled setjmp longjmp block on unity
2019-12-04 10:40:27 -03:00
Felipe Neves
55cbc213f3
components/freertos: create the test task with highest priority to ensure peer-to-peer ISR to task sync
2019-12-04 10:40:27 -03:00
Felipe Neves
64a50f0423
components/freertos: fixed isr test failling when run multiple times
2019-12-04 10:40:27 -03:00
Felipe Neves
f119cc58cf
components/freertos: tuned performance value for ISR exit cycles to pass in test in -Og
2019-12-04 10:39:22 -03:00
Felipe Neves
c64e108a1d
components/freertos: removed CONFIG_FREERTOS_ISR_STATS the ISR test is now self contained
2019-12-04 10:39:22 -03:00
Felipe Neves
bcdc35be59
components/freertos: refactor of isr_latency tests to perform full measurement
2019-12-04 10:39:22 -03:00
Felipe Neves
8b6b97ec57
freertos/xtensa_context: fixed small typo
2019-12-04 10:39:22 -03:00
Felipe Neves
e480435879
components/freertos: removed some dead ifdefs
2019-12-04 10:39:22 -03:00
Felipe Neves
c14fc39b0a
components/freertos: fixed typos and licence placement on external code
2019-12-04 10:39:22 -03:00
Felipe Neves
64f918bd70
freertos/xtensa_context: added conditional compiling option around isr cycle measurement
...
It is possible to enable and disable the isr time measurement on context save and
it related test via menuconfig by the new option: FREERTOS_ISR_STATS
2019-12-04 10:39:22 -03:00
Felipe Neves
346b12e29a
freertos/test: added spill register timer measurement test
2019-12-04 10:39:22 -03:00
Felipe Neves
5ce7a33c87
freertos/xtensa_context.S: fix some dread tabs
2019-12-04 10:39:22 -03:00
Felipe Neves
d7d8b47b89
unity/unity_config.h: changed configuration for setjmp usage
...
For some reason after use modified context save routine, the local unit test
app were crashed, the reason behind this resides on setjmp usage of test_runner,
since this feature seems to not be used for nothing special (just was a default config),
I changed the unity_config to replace the setjmp macros, this sounds less hacky.
2019-12-04 10:39:22 -03:00
Felipe Neves
cd11787153
freertos/xt_asm_utils: added documentation of current windows spill solution
2019-12-04 10:39:22 -03:00
Felipe Neves
768d115e85
freertos/Kconfig: removed isr optimization option from menuconfig
2019-12-04 10:39:22 -03:00
Felipe Neves
eb740ca8e4
freertos/xtensa_context: modification of interrupt handler is workin, needs stabilization
2019-12-04 10:39:22 -03:00
Felipe Neves
d185625162
freertos/xtensa_context: added infrastructure to receive the spill register optimized code
2019-12-04 10:39:22 -03:00
David Cermak
de17a1487f
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2019-12-04 12:57:09 +00:00
Jiang Jiang Jian
d24fe09356
Merge branch 'feature/reorganise_bluetooth-bluedroid-hci' into 'master'
...
Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci.
See merge request espressif/esp-idf!6686
2019-12-04 20:28:20 +08:00
Jiang Jiang Jian
0c0430a169
Merge branch 'bugfix/btdm_allow_start_adv_again' into 'master'
...
component/bt: allow to send stop adv again and fix tx prog crash
See merge request espressif/esp-idf!6573
2019-12-04 20:23:36 +08:00
houwenxiang
aac935ec81
bugfix(i2c): fix I2C driver breaking change issue.
...
1. Fixed I2C driver breaking change issue.
2. Add I2C UT test case.
2019-12-04 15:51:36 +08:00
Angus Gratton
70cfd7e24c
Merge branch 'bugfix/ethernet_pm_lock' into 'master'
...
ethernet: add pm lock
Closes IDF-1053
See merge request espressif/esp-idf!6881
2019-12-04 15:06:12 +08:00
Jiang Jiang Jian
3a54047c66
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_master' into 'master'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
See merge request espressif/esp-idf!6840
2019-12-04 14:56:39 +08:00
Jiang Jiang Jian
71ae2956cd
Merge branch 'bugfix/phy_critical' into 'master'
...
Bugfix/phy critical
See merge request espressif/esp-idf!6890
2019-12-04 11:26:58 +08:00
Michael (XIAO Xufeng)
d158fa3f5c
sdio: add unit test between host and slave
2019-12-03 22:58:42 +08:00
Michael (XIAO Xufeng)
e91c7bcc3a
sdspi: revert pin configs when deinit
2019-12-03 22:58:42 +08:00
Michael (XIAO Xufeng)
e2b20f2e4b
sdio_slave: fix deinit pin and memory leak issues
2019-12-03 22:58:41 +08:00
Michael (XIAO Xufeng)
087c8f6065
essl: new component to communicate with esp serial slave devices
2019-12-03 22:58:41 +08:00
morris
cf161b1c83
ethernet: add start/stop stress test
2019-12-03 17:58:03 +08:00
Roland Dobai
b7f16594de
expat: Update library from 2.2.5 to 2.2.9
2019-12-03 09:57:29 +00:00
morris
ac11545e0a
ethernet: warning when double start/stop
2019-12-03 16:10:20 +08:00
morris
57ef88a91f
ethernet: add pm lock
2019-12-03 16:10:20 +08:00
houwenxiang
e4230d11ca
bugfix(UART): fix uart driver spinlock misused bug
...
1. fix uart driver spinlock misused bug
2. add uart driver ut test case
3. undo the change in light_sleep_example_main.c
2019-12-03 16:06:31 +08:00
Wang Jia Lin
1ffcb54444
Merge branch 'bugfix/fix_esp32-s2_rtc_io_issue' into 'master'
...
bugfix(gpio): fix esp32 s2 rtc io issue and gpio testcase issues
See merge request espressif/esp-idf!6832
2019-12-03 11:17:41 +08:00
baohongde
e94c2a04c1
components/bt: Fix AVRC metadata length error
2019-12-03 02:44:49 +00:00
Angus Gratton
78891a9571
Merge branch 'feature/add_kconfig_for_jsmn' into 'master'
...
jsmn configuration added
Closes IDFGH-2274
See merge request espressif/esp-idf!6873
2019-12-03 10:43:06 +08:00
Jack
134a627ad8
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-02 18:20:40 +08:00
Jiang Jiang Jian
f9335a1785
Merge branch 'bugfix/invalid_mmie_issue' into 'master'
...
esp_wifi: fix invalid mmie issue
See merge request espressif/esp-idf!6887
2019-12-02 16:44:15 +08:00
Tian Hao
bcce4e3052
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing
critical sections, such like operating on I2C, but it may not effect
when both the CPU core call it. It may cause accessing I2C blocking
and cannot recover by esp_restart(), until do HW reboot.
2019-12-02 14:56:18 +08:00
Jiang Jiang Jian
f696a29664
Merge branch 'bugfix/hfp_hci_sco' into 'master'
...
component bt/ Bugfix for HFP hci audio crash
See merge request espressif/esp-idf!6864
2019-12-02 13:55:57 +08:00
Prasad Alatkar
656005ef3d
NimBLE: Fix erroneous behaviour of NimBLE porting layer when controller is not ready to receive
2019-12-01 15:22:51 +08:00
morris
68dc6b2158
jsmn: define macros in build system
2019-11-29 18:05:24 +08:00
Nachiket Kukade
460b1d6bb5
esp_wifi: Update wifi lib
...
Add fix to "Invalid MMIE" issue.
2019-11-29 14:47:36 +05:30
weitianhua
adf8a96602
fix hci sco crash bug for HFP
2019-11-29 06:51:18 +00:00
Alexey Lapshin
1263a38038
jsmn configuration added
2019-11-28 16:44:16 +03:00
Jiang Jiang Jian
c8f483034d
Merge branch 'bugfix/fix_nullptr_ref_esp_event_possibility' into 'master'
...
esp_event: fix possibility of null ptr dereference
See merge request espressif/esp-idf!6839
2019-11-28 17:22:55 +08:00
Jiang Jiang Jian
e2e2de95b4
Merge branch 'feature/check_wifi_lib_md5_on_host' into 'master'
...
esp_wifi: check header files MD5 on host
See merge request espressif/esp-idf!6656
2019-11-28 16:48:53 +08:00
Jiang Jiang Jian
d6ddae3693
Merge branch 'bugfix/ramdom_tcp_crash' into 'master'
...
fix bug for random tcp crash
Closes WIFI-1433
See merge request espressif/esp-idf!6837
2019-11-28 11:30:02 +08:00
Renz Christian Bagaporo
e6ad330018
ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation
...
Otherwise IRAM usage is too high in this example.
2019-11-28 09:20:00 +08:00
Angus Gratton
ecaf816c0b
Merge branch 'bugfix/freemodbus_fix_clang_warnings' into 'master'
...
freemodbus: fix clang warnings of freemodbus stack
See merge request espressif/esp-idf!5193
2019-11-28 07:06:19 +08:00
Ivan Grokhotkov
a9b7f74f7f
Merge branch 'bugfix/macos_link_toomany_open_files' into 'master'
...
build system: explicitly disable LTO plugin to reduce the number of simultaneously open files
Closes IDF-923 and IDFGH-1764
See merge request espressif/esp-idf!6776
2019-11-28 01:38:53 +08:00
Jack
5d377e5b6e
esp_wifi: update to include MD5 symbols
2019-11-27 23:08:57 +08:00
Ivan Grokhotkov
4872dcea2e
wpa_supplicant: remove header file MD5 unit test
2019-11-27 23:00:11 +08:00
Ivan Grokhotkov
680c48f86f
esp_wifi: remove MD5 related unit tests
2019-11-27 23:00:11 +08:00
Ivan Grokhotkov
568f0af61a
esp_wifi: check header files MD5 on host
2019-11-27 23:00:11 +08:00
Jiang Jiang Jian
1fbeb8c9a4
Merge branch 'bugfix/hfp_ag' into 'master'
...
component bt/ Bugfix for hfp ag
See merge request espressif/esp-idf!6742
2019-11-27 22:48:59 +08:00
xueyunfei
77b23951e7
fix bug for ramdom tcp crash
2019-11-27 13:39:54 +00:00
weitianhua
7c18299571
Add AG component API_REFERENCE
...
Expose esp_hf_indchange_notification to this example.
2019-11-27 13:35:35 +00:00
weitianhua
0c6e1f7ef8
Fix the audio crash bugs
...
Fix voice recognition bugs
Fix audio memory leak bug.
2019-11-27 13:35:35 +00:00
weitianhua
78cbdfa332
HFP AG Example
2019-11-27 13:35:35 +00:00
Piyush Shah
f9ec0a7172
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-11-27 18:42:43 +05:30
Nachiket Kukade
5618cf5100
wpa_supplicant: Fix MD5 mismatch in esp_wifi_driver.h
...
Make cosmetic changes in esp_wifi_driver.h in both IDF
and wifi library to match the md5sum.
2019-11-27 12:43:04 +00:00
Fu Zhi Bo
3a468a1ffd
Refactor the touch sensor driver
2019-11-27 20:08:44 +08:00
zhiweijian
fb369577d9
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 10:03:06 +00:00
Jiang Jiang Jian
c487df288c
Merge branch 'bugfix/hfp_hci_audio_crash' into 'master'
...
component bt/ Bugfix for HFP hci audio crash
See merge request espressif/esp-idf!6739
2019-11-27 17:48:52 +08:00
xiongyu
af4c455417
bugfix(gpio):fix esp32 s2 rtc io issue
...
* Modify the function implementation of ESP32-S2 RTC GPIO
On ESP32 those PADs which have RTC functions must set pullup/down/capability via RTC register.
On ESP32-S2, Digital IOs have their own registers to control pullup/down/capability, independent with RTC registers.
* Add ESP32-S2 support of unit test
* Modify the pull-up test of unit test
* Modify the interrupt test of unit test
* Modify input and output mode test of unit test
2019-11-27 17:18:20 +08:00
Angus Gratton
89f1786754
Merge branch 'bugfix/eth_remove_dep_on_netif' into 'master'
...
ethernet: remove dependency on esp_netif && add reference counter
Closes IDF-1104
See merge request espressif/esp-idf!6711
2019-11-27 16:08:31 +08:00
Jiang Jiang Jian
3a8b346263
Merge branch 'component_bt/osi_fixed_queue' into 'master'
...
component bt/: Bugfix for pointer type in file fixed_queue.c
Closes BT-492
See merge request espressif/esp-idf!6831
2019-11-27 15:56:49 +08:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
Jiang Jiang Jian
e349f86d18
Merge branch 'bugfix/ble_mesh_device_with_wrong_name_on_ios' into 'master'
...
ble_mesh: fix ble mesh device with wrong name on iOS
Closes BLEMESH-54
See merge request espressif/esp-idf!6516
2019-11-27 10:30:25 +08:00
Angus Gratton
91b7a7beaf
Merge branch 'bugfix/timer_intr_status_get' into 'master'
...
bugfix(timer): fix get intr status function
See merge request espressif/esp-idf!6807
2019-11-27 09:13:16 +08:00
Angus Gratton
64c8b640a1
Merge branch 'feature/log_component_noos' into 'master'
...
log: make compatible with non-OS builds
See merge request espressif/esp-idf!6787
2019-11-27 08:34:22 +08:00
Angus Gratton
fd27c0a113
Merge branch 'bugfix/bootloader_unicore_cache_enable' into 'master'
...
bootloader: revert support for booting dual-core apps on single-core bootloader
See merge request espressif/esp-idf!6609
2019-11-27 08:01:59 +08:00
Angus Gratton
b034c52a93
Merge branch 'feature/uart_hal_support' into 'master'
...
Driver(uart): Uart HAL driver refactor
Closes IDF-608
See merge request espressif/esp-idf!4849
2019-11-27 07:57:02 +08:00
Ivan Grokhotkov
f287f59ae3
build system: move -fno-rtti link option next to the compile option
...
Previous commit has added `link_options` to the root CMakeLists.txt,
can use it to collect such global link options now.
2019-11-26 19:12:56 +01:00
weitianhua
f1116be195
bugfix for osi_fixed_queue pointer type
2019-11-26 21:16:47 +08:00
chenjianqiang
bcfe684951
bugfix(timer): add a macro to control making the XTAL related functions
2019-11-26 12:39:46 +00:00
chenjianqiang
856d9f7d89
bugfix(timer): recover get raw interrupt status function
2019-11-26 12:39:46 +00:00
Aditya Patwardhan
320608c85a
bugfix/esp32: add cpp guard headers for app_trace component so that its
...
API's can be can be used in cpp files.
2019-11-26 17:44:15 +05:30
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
Jiang Jiang Jian
899f3decab
Merge branch 'feature/wpa3_SAE_support' into 'master'
...
wpa_supplicant: Add SAE authentication support for WPA3 Personal
Closes IDF-715
See merge request espressif/esp-idf!5903
2019-11-26 18:59:19 +08:00
Wang Jia Lin
7948a9f6f0
Merge branch 'bugfix/fix_i2c_driver_ut_issue_esp32s2' into 'master'
...
bugfix(i2c): fix esp32-s2 i2c driver UT issue
See merge request espressif/esp-idf!6820
2019-11-26 18:52:59 +08:00
aleks
6e14b6265b
freemodbus: fix merge issues
2019-11-26 11:25:12 +01:00
aleks
cf4c95532f
freemodbus: fix clang warnings
2019-11-26 10:37:14 +01:00
Angus Gratton
81c9ca52ed
Merge branch 'feature/ws_config_agent_header' into 'master'
...
ws_client: Add User-Agent and additional headers to esp_websocket_client
See merge request espressif/esp-idf!6777
2019-11-26 14:42:01 +08:00
Nachiket Kukade
f2e37c4ca8
wpa_supplicant: Support WPA3 4-way handshake, add config option
...
1. Add changes in 4-way handshake path to allow SAE key mgmt.
2. Support for configuring WAP3 at init time, added Kconfig option.
3. Handle and propagate error conditions properly.
4. Link changes from WiFi library.
2019-11-26 10:59:55 +05:30
Alex Lisitsyn
67f62a79c1
freemodbus: add modbus master ascii
...
add support of modbus master ascii
rename base dir name of master and slave example to be mb_slave, mb_master to avoid conflict with sdio/slave example test
add Kconfig option to enable ASCII and RTU mode separately
update ASCII options + remove cast for errors
added baudrate for examples into Kconfig
updated magic numbers for timer timeout
put ascii private definitions into one file
2019-11-26 13:16:25 +08:00
Andrew
1669dc40d1
spi_slave.c:fix DMA channel set to zero which might gets conflict with assert
...
close #2740
2019-11-26 13:11:48 +08:00
Nachiket Kukade
da07b2b4a7
wpa_supplicant: Add SAE handshake support for WPA3-PSK
...
Under WPA3-Personal, SAE authentication is used to derive PMK
which is more secure and immune to offline dictionary attacks.
1. Add modules to generate SAE commit/confirm for the handshake
2. Add modules that build and parse SAE data in Auth frames
3. Add WPA3 association and key mgmt definitions
4. Invert y-bit while solving for ECC co-ordinate -
Once an X co-ordinate is obtained, solving for Y co-ordinate
using an elliptical curve equation results in 2 possible values,
Y and (P - Y), where p is the prime number. The co-ordinates are
used for deriving keys in SAE handshake. As par the 802.11 spec
if LSB of X is same as LSB of Y then Y is chosen, (P - Y) otherwise.
This is not what is implemented, so fix this behavior to obtain the
correct Y co-ordinate.
2019-11-26 04:24:57 +00:00
Sagar Bijwe
aceb141d2b
wpa_supplicant: Adding SAE modules with testcase
...
This change ports SAE(Simultaneous Authentication of Equals)
feature from wpa_supplicant and makes it work with mbedtls
crypto APIs. Currently only group 19 is supported. A sample
SAE handshake is included in the testcase. Other minor
changes for DH groups are also included.
2019-11-26 04:24:57 +00:00
Jiang Jiang Jian
54eeb77a56
Merge branch 'feature/support_pmf' into 'master'
...
Feature/support pmf
See merge request espressif/esp-idf!5708
2019-11-26 12:13:43 +08:00
kooho
f0f20e0496
bugfix(i2c): fix esp32-s2 i2c driver UT issue
2019-11-26 12:01:18 +08:00
weitianhua
52c5cc038a
bugfix for HFP hci audio crash
2019-11-26 02:34:09 +00:00
Alexey Gerenkov
e092d6f858
coredump: Makes compatible with legacy binary core dumps
...
Also:
- improves coredump versioning scheme
- Moves some API funtions to respective flash/UART dependent code
2019-11-25 22:44:51 +03:00
kooho
5286c8308c
bugfic(i2c): fix i2c driver ut issue.
2019-11-25 07:03:02 +00:00
Renz Christian Bagaporo
bb139d2b83
esp_event: fix possibility of null ptr dereference
...
Closes https://github.com/espressif/esp-idf/issues/4373
2019-11-25 14:27:10 +08:00
Angus Gratton
f2a1a6105a
Merge branch 'feat/mcpwm_hal'
...
Manual merge of !6626
2019-11-25 17:18:48 +11:00
Angus Gratton
dbae85dde8
Merge branch 'bugfix/timer_driver_ut' into 'master'
...
driver/timer: fix software reset UT (again)
See merge request espressif/esp-idf!6801
2019-11-25 12:54:52 +08:00
Nachiket Kukade
75ea0df916
Add encryption/decryption support for PMF
...
1. Add CCMP, AES crypto modules for unicast protected Mgmt frames
2. Add support for computing SHA256 MIC on Bcast Mgmt frames
3. Add support for storing iGTK during 4-way handshake.
4. Provide APIs to MLME for utilizing the SW crypto modules
5. Link PMF changes from WiFi library submodule
2019-11-25 04:11:09 +00:00
Nachiket Kukade
773e095a65
Add support for PMF configuration and negotiation
...
1. Add APIs for configuring PMF through set config.
2. Map Supplicant and Wifi Cipher types.
3. Add support for PMF negotiation while generating RSN IE.
2019-11-25 04:11:09 +00:00
Jiang Jiang Jian
ddef4f9129
Merge branch 'feature/set_dhcp_timeout' into 'master'
...
Add feature for set dhcp time out
Closes WIFI-797 and IDF-1100
See merge request espressif/esp-idf!6370
2019-11-25 12:04:20 +08:00
Angus Gratton
6dd36fd571
Merge branch 'refactor/hal_gpio_driver'
...
Manual merge of !5597
2019-11-25 10:49:40 +11:00
Angus Gratton
f34edba8f3
Merge branch 'feature/adc_driver_hal_support'
...
Manual merge of !6044
2019-11-25 10:22:06 +11:00
Ivan Grokhotkov
82d89afe1f
driver/timer: fix software reset UT (again)
2019-11-24 21:10:50 +01:00
michael
538540ce21
mcpwm: add HAL layer support
...
Also improved the unit tests a bit.
2019-11-25 00:36:30 +08:00
michael
1fb2fd89de
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2019-11-25 00:36:30 +08:00
michael
0f6dd34971
mcpwm: enable some unit tests again
2019-11-25 00:36:30 +08:00
Angus Gratton
b7b4cd3418
Merge branch 'bugfix/timer_group_reset_ut' into 'master'
...
timer: remove check for POWERON_RESET in the test case, add esp_reset_reason API for s2beta
See merge request espressif/esp-idf!6747
2019-11-23 14:04:41 +08:00
Ivan Grokhotkov
719c8eb627
Merge branch 'bugfix/esp_netif_early_fixes' into 'master'
...
esp-netif: fixed early issues on esp-netif
See merge request espressif/esp-idf!6792
2019-11-22 20:19:20 +08:00
Ivan Grokhotkov
676b5e0deb
log: refactoring to make compatible with no-FreeRTOS builds
2019-11-22 11:41:35 +01:00
Ivan Grokhotkov
6fda3df953
Merge branch 'bugfix/gpio_pin_bit_mask_truncation' into 'master'
...
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
See merge request espressif/esp-idf!6746
2019-11-22 17:41:05 +08:00
Jiang Jiang Jian
0deeae38a9
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback' into 'master'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback,...
Closes WIFI-1214
See merge request espressif/esp-idf!6765
2019-11-22 17:37:51 +08:00
David Cermak
d9433ef692
mdns: fixed forgotten merge conflicts in debug code
2019-11-22 10:31:06 +01:00
David Cermak
c5a6bc9985
esp_netif: added missing C++ guards
...
Closes https://github.com/espressif/esp-idf/issues/4389
2019-11-22 10:31:06 +01:00
xiongyu
a3b79e9202
refactor(gpio): add hal gpio driver
2019-11-22 17:24:53 +08:00
xueyunfei
2eea2dbeb4
Add feature for set dhcp time out
2019-11-22 17:24:16 +08:00
Ivan Grokhotkov
e4f641f5a9
Merge branch 'bugfix/i2s_driver_apll_test_regression' into 'master'
...
i2s: fix regression in retrieval of chip revision causing apll test to fail
See merge request espressif/esp-idf!6786
2019-11-22 17:06:29 +08:00
Angus Gratton
989825908b
Merge branch 'feature/esp32s2beta_ulp_projbuild' into 'master'
...
Support esp32s2beta ULP in build system
See merge request espressif/esp-idf!5412
2019-11-22 15:59:44 +08:00
fuzhibo
f49b192a5e
refactor the adc driver
2019-11-22 15:42:16 +08:00
Mahavir Jain
25c0752682
i2s: fix regression in retrieval of chip revision causing apll test to fail
2019-11-22 11:46:38 +05:30
Dmitry
b38bc2f8f5
s2 support for make build removed.
2019-11-22 09:03:23 +03:00
Dmitry
1518c410bc
A switch between esp32 and esp32s2betta added to the ULP build process.
...
The new bin utils will have extension esp32s2ulp-elf, and they have to be placed to the bin directory.
2019-11-22 09:03:13 +03:00
Wang Jia Lin
a8d3e3ab4a
Merge branch 'feature/dac_driver_hal_support' into 'master'
...
dac: add hal for dac driver
See merge request espressif/esp-idf!5591
2019-11-22 13:59:32 +08:00
Chinmay Chhajed
6a91c8d440
Changes in menuconfig
options to not compile any host when using hci
...
examples as no host is required there.
2019-11-22 11:14:50 +05:30
Alexey Gerenkov
27ce4d13df
coredump: change data format to ELF
2019-11-22 13:25:43 +08:00
fuzhibo
03ac1aaafd
dac: refactor driver add hal
2019-11-22 11:44:46 +08:00
Angus Gratton
0e0994092e
Merge branch 'feature/esp32s2beta_fix_rtc_peripheral_driver' into 'master'
...
Driver: fix touch driver and deep sleep example
See merge request espressif/esp-idf!6476
2019-11-22 11:39:41 +08:00
Angus Gratton
ea29c101cd
Merge branch 'bugfix/fix_iram_intr_alloc_test' into 'master'
...
ccomp_timer: fix broken unit test
See merge request espressif/esp-idf!6779
2019-11-22 08:41:50 +08:00
Angus Gratton
dc00c360ab
Merge branch 'bugfix/esp32s2beta_crtbegin' into 'master'
...
esp32s2beta: fix crash at startup due to toolchain crtbegin being linked
See merge request espressif/esp-idf!6783
2019-11-22 07:01:32 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
David N. Junod
9200250f51
Add User-Agent and additional headers to esp_websocket_client
...
Merges https://github.com/espressif/esp-idf/pull/4345
2019-11-21 21:14:29 +01:00
Ivan Grokhotkov
ad986849a6
timer: remove check for POWERON_RESET in the test case
...
The test case may run after an RTC_WDT_RESET (if we are on rev. 0
ESP32), or software reset (when running test cases locally).
Also moving the test case next to the other timer group driver tests.
2019-11-21 20:03:26 +01:00
Ivan Grokhotkov
ea99137e62
esp32s2beta: implement esp_reset_reason API
2019-11-21 20:03:26 +01:00
Ivan Grokhotkov
38520d3b65
Merge branch 'feature/build_apps_script' into 'master'
...
tools: add build_apps.py, script to build multiple apps
Closes IDF-641
See merge request espressif/esp-idf!6101
2019-11-22 02:54:28 +08:00
Ivan Grokhotkov
951ed739f7
soc/cpu: add non-xtensa-specific replacement of xthal_get_ccount
2019-11-21 19:22:35 +01:00
Ivan Grokhotkov
e1452f5d6c
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
096dc8fc2b
esp32s2beta: rename output linker script
2019-11-21 15:29:00 +01:00
Jack
50fe7e540e
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-21 13:54:50 +00:00
houwenxiang
28286183d1
feature(I2C): Add i2c hal support.
2019-11-21 20:34:07 +08:00
fuzhibo
246242dbd5
driver: fix sens_struct.h
;
...
driver: fix timer wakeup dsleep;
example: fix EXT1 wakeup dsleep;
example: fix touch pad wakeup dsleep;
2019-11-21 20:31:34 +08:00
Mahavir Jain
43411da465
Merge branch 'bugfix/freertos_critical_section_compliance' into 'master'
...
Changes in uart and esp_timer for critical section compliance with vanilla FreeRTOS
See merge request espressif/esp-idf!6733
2019-11-21 19:25:14 +08:00
Ivan Grokhotkov
04324e4c3c
esp32s2beta: re-enable entering the debugger on panic
2019-11-21 11:52:10 +01:00
Ivan Grokhotkov
f21261d39c
esp32s2beta: don't use crtbegin from the toolchain
...
Similar to 22514c1dd9
for esp32
2019-11-21 11:52:10 +01:00
chenjianqiang
857dec108d
feat(ledc): refactor ledc driver
...
1. add hal and low-level layer for ledc driver
2. support esp32s2beta ledc
2019-11-21 16:25:22 +08:00
chenjianqiang
9f9da9ec96
feat(timer): refator timer group driver
...
1. add hal and low-level layer for timer group
2. add callback functions to handle interrupt
3. add timer deinit function
4. add timer spinlock take function
2019-11-21 14:14:19 +08:00
xiongyu
e62b831867
refactor(sigmadelta): add hal sigmadelta driver
2019-11-21 11:53:07 +08:00
fuzhibo
0c2bf7c8bc
rtcio: add hal for driver
2019-11-21 10:40:49 +08:00
Angus Gratton
b30b0e59fa
Merge branch 'feature/add_rmt_hal' into 'master'
...
rmt: add hal layer and new examples
Closes IDF-841, IDF-844, and IDF-857
See merge request espressif/esp-idf!5649
2019-11-21 09:53:54 +08:00
Angus Gratton
bc3233782b
Merge branch 'feature/remove_gcc5_support' into 'master'
...
global: remove gcc 5.2 support
Closes IDF-1131
See merge request espressif/esp-idf!6608
2019-11-21 09:08:41 +08:00
suda-morris
e673817530
ccomp_timer: fix broken unit test
2019-11-21 08:45:11 +08:00
Angus Gratton
e510e1779d
Merge branch 'bugfix/gcov_in_components' into 'master'
...
Fixes libgcov and libapp_trace cross dependency linking issue
Closes IDF-834
See merge request espressif/esp-idf!6250
2019-11-21 07:09:04 +08:00
Angus Gratton
95b9b41258
Merge branch 'bugfix/ethernet_add_reference_counter' into 'master'
...
ethernet: add reference counter for mac and phy && add gpio config outof Kconfig
Closes IDF-1056
See merge request espressif/esp-idf!6682
2019-11-21 06:58:13 +08:00
Ivan Grokhotkov
9a2af7ae33
global: remove gcc 5.2 support
2019-11-20 11:17:27 +01:00
Wang Jia Lin
f9d5b67b81
Merge branch 'refactor/hal_i2s_driver' into 'master'
...
refactor(i2s): add hal i2s driver
Closes IDFGH-2097
See merge request espressif/esp-idf!5601
2019-11-20 17:45:21 +08:00
morris
8fd8695ea1
rmt: add HAL layer
2019-11-20 10:54:21 +08:00
suda-morris
05d71319de
ethernet: add gpio number into config structure
2019-11-20 10:36:45 +08:00
suda-morris
f3d0429a9e
ethernet: add reference counter for mac and phy
2019-11-20 10:36:45 +08:00
Angus Gratton
bc9267aa24
Merge branch 'feature/use_cpu_time_for_tests' into 'master'
...
Cache compensated timer
See merge request espressif/esp-idf!6087
2019-11-20 08:33:27 +08:00
Angus Gratton
412b202741
Merge branch 'bugfix/ws_client_fix_wait_forever_timeout' into 'master'
...
ws_client: fix handling timeouts by websocket client.
Closes IDFGH-2161
See merge request espressif/esp-idf!6683
2019-11-20 07:44:25 +08:00
Anton Maklakov
bd49b3f315
Merge branch 'bugfix/soc_missing_tests' into 'master'
...
soc: fix unit tests not included in the build
See merge request espressif/esp-idf!6723
2019-11-20 00:32:43 +08:00
xiongyu
8c76a3c10d
refactor(i2s): add hal i2s driver
2019-11-19 22:19:19 +08:00
Ivan Grokhotkov
a74988ae3b
Merge branch 'bugfix/cpp_extern' into 'master'
...
Add extern C header guards to some files
Closes IDFGH-2025 and IDFGH-2093
See merge request espressif/esp-idf!6611
2019-11-19 19:01:29 +08:00
Wang Jia Lin
7494877b1c
Merge branch 'refactor/hal_pcnt_driver' into 'master'
...
refactor(pcnt): add hal pcnt driver
See merge request espressif/esp-idf!5600
2019-11-19 17:22:49 +08:00
Jiang Jiang Jian
9e0b9fcf4e
Merge branch 'bugfix/btdm_run_out_of_frame_element' into 'master'
...
components/bt: Fix assert due to no free element from
Closes BT-461
See merge request espressif/esp-idf!6574
2019-11-19 17:01:23 +08:00
Mahavir Jain
62a0659368
Merge branch 'bugfix/warning_fix_latest_freertos' into 'master'
...
Fixed warnings for components driver, esp32 and mbedtls
See merge request espressif/esp-idf!6673
2019-11-19 16:48:54 +08:00
Jiang Jiang Jian
6f633b2d5b
Merge branch 'bugfix/btdm_disable_some_secrity_mask' into 'master'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6724
2019-11-19 12:15:25 +08:00
Angus Gratton
f8476c042d
Merge branch 'feature/transport_ssl_support_alpn' into 'master'
...
tcp_transport: added functionality for using ALPN with SSL
Closes IDF-1160
See merge request espressif/esp-idf!6684
2019-11-19 11:36:09 +08:00
Ivan Grokhotkov
5b6b624e1f
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2019-11-18 13:42:22 +01:00
Ivan Grokhotkov
93a8603c54
Merge branch 'feature/builtin_type_exceptions_test' into 'master'
...
C++: Throw builtin type exception test
See merge request espressif/esp-idf!6570
2019-11-18 19:34:05 +08:00
David Cermak
e1f982921a
ws_client: fix handling timeouts by websocket client.
...
tcp-transport component did not support wait forever. this update uses value of -1 to request this state.
websocket client uses timeouts in RTOS ticks. fixed recalculation to ms (including special value of -1) to use correctly tcp-transport component
Closes https://github.com/espressif/esp-idf/issues/4316
2019-11-18 10:59:41 +00:00
Ivan Grokhotkov
f59170fcb9
Merge branch 'bugfix/fatfs_missing_tests' into 'master'
...
fatfs: fix unit tests not included in the build
See merge request espressif/esp-idf!6720
2019-11-18 17:36:20 +08:00
Anton Maklakov
f04e45b340
soc: remove invalid esp32s2beta tests
...
Need to update them later, ref: IDF-1169
2019-11-18 16:05:37 +07:00
Anton Maklakov
7b0be33a7a
soc: fix unit tests not included in the build
...
Regression from 9eccd7c082
2019-11-18 15:58:49 +07:00
Wang Jia Lin
be43bfe0c1
Merge branch 'bugfix/ledc_ut_esp32s2beta' into 'master'
...
bugfix(LEDC): fix ledc CI issue for esp32s2beta
Closes IDF-1011
See merge request espressif/esp-idf!6530
2019-11-18 16:19:42 +08:00
xiongyu
b1a72866ca
refactor(pcnt): add hal pcnt driver
2019-11-18 14:35:46 +08:00
Jiang Jiang Jian
45944da8ae
Merge branch 'bugfix/esp32s2beta_flash_cache' into 'master'
...
Bugfix/esp32s2beta flash cache
See merge request espressif/esp-idf!6561
2019-11-18 14:16:16 +08:00
Krzysztof Budzynski
1487bd2edd
docs: Replaced 'attenuaton' with 'attenuation'
2019-11-18 12:10:55 +08:00
Renz Christian Bagaporo
550c0ef234
vfs: use ccomp timer in performance test
2019-11-18 10:29:02 +08:00
Renz Christian Bagaporo
df26ab13e2
test_utils: implement performance timer
2019-11-18 10:29:01 +08:00
Jakob Hasse
cd730b94be
C++: added unit tests for builtin type exceptions
2019-11-18 08:53:50 +08:00
baohongde
2e570e78c6
components/bt: Disable some unsupported security mask
2019-11-17 13:42:09 +08:00
wanglei
5e55ffc95a
fix dummy issue in spi mem and make some spiflash api called from idf
2019-11-15 15:59:07 +00:00
wanglei
f3424afaab
bugfix: fix spi flash read when wrap enabled
2019-11-15 15:59:07 +00:00
wanglei
7b2348baad
fix bug that wrap mode not disabled in none-QIO mode
2019-11-15 15:59:07 +00:00
wanglei
8bea8dacbc
esp32s2beta: fix some macro and add flash wrap size condition
2019-11-15 15:59:07 +00:00
Jiang Jiang Jian
a9c162664c
Merge branch 'feature/get_remote_name' into 'master'
...
Feature/ Read Remote Device's Name
See merge request espressif/esp-idf!6562
2019-11-15 23:47:02 +08:00
Ivan Grokhotkov
28b7f11f93
fatfs: fix unit tests not included in the build
...
Regression from 9baa7826
.
2019-11-15 15:04:57 +01:00
Mahavir Jain
f53f450380
nvs_flash: build nvs_encr.cpp only if relevant config option is enabled
2019-11-15 15:58:31 +05:30
Mahavir Jain
ecf09382da
uart: critical section compliant API in ISR context
2019-11-15 15:58:31 +05:30
Mahavir Jain
d0a37704a3
esp_timer: use freertos critical section compliant APIs
...
Some modules use esp_timer from interrupt context and hence
with vanilla FreeRTOS it should use correct critical section
API
2019-11-15 15:57:55 +05:30
Shubham Kulkarni
c741dd0535
Fixed warnings for components driver, esp32 and mbedtls
2019-11-15 08:51:16 +00:00
Ivan Grokhotkov
59d818c387
Merge branch 'bugfix/mdns_task_include' into 'master'
...
mdns: add missing include of esp_task.h
See merge request espressif/esp-idf!6706
2019-11-15 15:50:31 +08:00
Jiang Jiang Jian
a9c1970c03
Merge branch 'bugfix/put_more_rx_code_to_iram' into 'master'
...
wifi: Put some rx code to iram
Closes WIFI-490 and WIFI-1041
See merge request espressif/esp-idf!6490
2019-11-15 10:58:22 +08:00
Ivan Grokhotkov
5884b80908
mdns: add missing include of esp_task.h
2019-11-14 18:02:26 +01:00
Ivan Grokhotkov
503c37e013
Merge branch 'bugfix/mdns_configure_task_params' into 'master'
...
mdns: add configuration values for task priority, affinity and internal service timeouts
See merge request espressif/esp-idf!6580
2019-11-14 21:30:50 +08:00
Ivan Grokhotkov
9e8fa4bb18
Merge branch 'feature/esp_netif_interface_update' into 'master'
...
tcpip_adapter refactor: ready for review
Closes IDF-39
See merge request espressif/esp-idf!5373
2019-11-14 21:27:53 +08:00
lly
093cc494b9
ble_mesh: fix ble mesh device with wrong name on iOS
2019-11-14 17:03:46 +08:00
Jiang Jiang Jian
e380c59c74
Merge branch 'feat/ble_mesh_4_1_new_features' into 'master'
...
ESP BLE Mesh 4.1 new features
Closes BLEMESH-1, BLEMESH-2, BLEMESH-3, BLEMESH-4, BLEMESH-39, and BLEMESH-43
See merge request espressif/esp-idf!6134
2019-11-14 16:47:49 +08:00
xiehang
b7334b0366
esp_wifi: Turn off wifi iram optimization by default, when using both Bluetooth and psram
2019-11-14 15:20:53 +08:00
baohongde
e248a4fe6e
components/bt: Fix assert due to no free element from
2019-11-14 06:59:23 +00:00
houwenxiang
30b2e02088
bugfix(LEDC):fix ledc CI issue for esp32s2beta.
2019-11-14 12:20:29 +08:00
weitianhua
3f0e851a39
Feature/ Read Remote Device's Name
2019-11-14 03:33:37 +00:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
Alexey Gerenkov
5909d3676c
esp32s2: Adds apptrace support
...
Closes IDF-510.
Closes IDF-1032.
2019-11-13 15:24:01 +03:00
xiehang
5e7f43f3d1
esp_wifi: Put some rx code to iram
2019-11-13 11:44:23 +00:00
David Cermak
9f2a45f15f
esp_netif: add dhcp state transition unit tests for default wifi interfaces
2019-11-13 12:36:26 +01:00
David Cermak
f91d69efb2
esp_netif: rename DHCP flags for client and server
2019-11-13 12:36:26 +01:00
David Cermak
064bed710e
esp_netif: fix esp_netif_stop() to stop DHCP client if configured
2019-11-13 12:36:26 +01:00
David Cermak
d0afdaaf24
esp_eth: moved starting link timer to eth driver start
2019-11-13 12:36:26 +01:00
David Cermak
4857e92e2c
esp_mesh: creation of wifi network interfaces for esp-mesh examples moved to used common esp_wifi_default API
2019-11-13 12:36:26 +01:00
David Cermak
7f5cda1b82
tcpip_adapter: updated tcpip_adapter compatablity layer to include all
...
public API and keep 100% backward compatibility
update build of tcpip adapter when ethernet disabled
2019-11-13 12:36:25 +01:00
David Cermak
7ef385963c
esp_netif: minor update of coding style based on clang-tidy
...
guidelines and fix some copyright notices
2019-11-13 12:36:25 +01:00
David Cermak
f839a1328c
esp_netif: added locking for netif list management, unit tests to use unique if_keys, updated comments
2019-11-13 12:36:25 +01:00
David Cermak
20add7da60
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
2019-11-13 12:36:25 +01:00
David Cermak
359f6b3a21
esp_netif: add consistency checks for configs and interface key duplication
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
3f60837de2
esp_eth: make esp_eth_driver_start public API so application could start ethernet when used without esp-netif
2019-11-13 12:36:25 +01:00
David Cermak
549ee87912
esp_netif: moving default netifs to wifi, moved sta_list to a separate header -- note will fail unit tests
2019-11-13 12:36:25 +01:00
David Cermak
d471266b46
esp_netif: documentation udpated and grouped the esp-netif API
...
structure. Updated rst documenentation and diagram of esp-netif
cooperation with other components.
2019-11-13 12:36:25 +01:00
David Cermak
eb94d87935
esp_netif: address failures on tcpip-task ipc call, deinit lwip netif and ip address issues
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
4366347fd4
esp_event: fix petty include dependency issue
2019-11-13 12:36:25 +01:00
David Cermak
ba13275c6b
esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
19e24fe61e
mdns: update mdns to use esp-netif for mdns supported services such as STA, AP, ETH
...
removes also include dependency on lwip to use esp_netif defined address fields and structures
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
Mahavir Jain
4ccac94816
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-11-13 10:44:09 +05:30
Renz Christian Bagaporo
77585bd14e
spiffs: fix build issue on clean project
...
From issue:
I did some poking around in components/spiffs/project_include.cmake and
it looks like what is failing is it isn't getting an offset from
parttool.py. I think what the problem is that the parttool.py cannot
determine the offset of the storage partition as I can't run menuconfig
to set the custom partitions.
I have tested that this problem is solvable by manually setting the
custom partitions in sdkconfig and that is a workaround but there should
be at least a better error message in the configuration when it cannot
find the partition as this would also happen if the partition name was
misspelled.
Closes https://github.com/espressif/esp-idf/issues/4236
2019-11-13 12:31:50 +08:00
Marius Vikhammer
ed85046138
tcp_transport: added functionality for using ALPN with SSL
...
Closes IDF-1160
2019-11-13 11:33:13 +08:00
Alexey Gerenkov
5b83b198c6
gcov: Fixes libgcov and libapp_trace cross dependency linking issue
...
Closes IDF-834
2019-11-12 18:42:08 +03:00
Alex Lisitsyn
cfdd5f0ef7
freemodbus: configure timer handler placement
...
place timer interrupt handler into flash by default;
add default settings for timer and UART interrupts to place them into IRAM into example defaults;
CONFIG_FMB_TIMER_PORT_ENABLED default = n, when enabled, the UART_ISR_IN_IRAM set to y
2019-11-12 22:16:55 +08:00
Ivan Grokhotkov
bfe5662387
Merge branch 'bugfix/common_example_uart_init' into 'master'
...
fix common example connect and stdin/stdout
See merge request espressif/esp-idf!6642
2019-11-12 22:10:50 +08:00
Mahavir Jain
ca4a8a61c4
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into 'master'
...
components/esp_https_ota: Changes in public requirement list for CMake
Closes IDFGH-2066
See merge request espressif/esp-idf!6558
2019-11-12 19:43:26 +08:00
Angus Gratton
12de58bfac
Merge branch 'bugfix/config_assert_thread_safety' into 'master'
...
freertos: Fix configASSERT thread safety
Closes IDFGH-2055
See merge request espressif/esp-idf!6612
2019-11-12 10:59:00 +08:00
David Cermak
2e0d6d0e6a
uart: make uart_driver_install() more backward compatible, so if the interrupt handler configured to be in IRAM and not flagged in intr_alloc_flags argument, then the flag is gracefully updated rather then error return
2019-11-11 15:27:09 +00:00
Hrudaynath Dhabe
e543dbfe79
wpa_supplicant: Set assoc_ie_len based on generated RSN/WPA IE
2019-11-11 23:22:14 +08:00
David Cermak
c6f38f04f8
mdns: add configuration values for task priority, affinity and internal service timeouts
...
closes https://github.com/espressif/esp-idf/issues/4217
2019-11-08 16:29:40 +01:00
Angus Gratton
ae777b026f
Merge branch 'bugfix/cmake_uninit_vars_case_error' into 'master'
...
cmake: Fix some uninitialized variable issues
See merge request espressif/esp-idf!6632
2019-11-08 18:54:33 +08:00
Angus Gratton
83dbf9d6d6
Merge branch 'bugfix/partition_cmake_md5' into 'master'
...
cmake: fix partition_table cmake when using md5 checksum
See merge request espressif/esp-idf!5399
2019-11-08 18:51:59 +08:00
Angus Gratton
932758813a
Merge branch 'bugfix/http_client_buffer_overflow' into 'master'
...
Fix HTTP client buffer overflow
Closes IDF-694
See merge request espressif/esp-idf!6599
2019-11-08 18:02:33 +08:00
Alex Lisitsyn
1ab9e81729
freemodbus: fix nvs access failure
...
place timer handler functions into IRAM
update timer port handlers
fix communication issues
fix offset issue in example
add kconfig option to place handlers into IRAM
2019-11-08 16:55:42 +08:00
Angus Gratton
6f761dd62d
cmake: Fix some uninitialized variable warnings
2019-11-08 12:50:28 +08:00
Angus Gratton
4352265fa0
cmake: Fix case error passing extra CMake args to sub-projects
...
Bug in commit f4ea7c5a
where the wrong variable case was used when passing
through to sub-projects
2019-11-08 11:56:13 +08:00
lly
2bba9d7700
ble_mesh: miscellaneous modifications
...
1. Clean up client_common.c
2. Clean up esp_ble_mesh directory
3. Update Kconfig.in
4. Format esp_ble_mesh files
2019-11-08 11:10:52 +08:00
lly
30aa236219
ble_mesh: adapt ble mesh with nimble host
2019-11-08 11:10:52 +08:00
lly
547081cc3c
ble_mesh: add events for configuration server model
2019-11-08 11:10:52 +08:00
lly
f906b7caf3
ble_mesh: add Generic/Sensor/Time and Scenes/Lighting Server models
2019-11-08 11:10:52 +08:00
lly
287f80ec01
ble_mesh: add proxy client functionality
2019-11-08 11:10:52 +08:00
lly
c6286529eb
ble_mesh: add ble mesh friend node event
2019-11-08 11:10:52 +08:00
lly
fdfe59d369
ble_mesh: add low power node api and event
2019-11-08 11:10:52 +08:00
lly
afc00fb5f5
ble_mesh: add heartbeat message recv callback
2019-11-08 11:10:52 +08:00
lly
2511024e44
ble_mesh: modify health server model callbacks
2019-11-08 11:10:52 +08:00
lly
729af38346
ble_mesh: add separate advertising buffers for relay packets
2019-11-08 11:10:52 +08:00
Angus Gratton
ba72de2099
Merge branch 'bugfix/i2s-bootloader-random-disable' into 'master'
...
bugfix(bootloader): fix bootloader_random_disable bug
Closes IDFGH-1747 and IDFGH-1739
See merge request espressif/esp-idf!6522
2019-11-08 11:04:15 +08:00
Wu Jian Gang
1a29ddbd33
cmake: fix partition_table cmake when using md5 checksum
2019-11-08 02:59:22 +00:00
Angus Gratton
75488f1806
Merge branch 'bugfix/cmake_secure_boot' into 'master'
...
secure boot: CMake bug fixes
See merge request espressif/esp-idf!6523
2019-11-08 10:58:04 +08:00
Jakob Hasse
d8242fe976
nvs: Added nvs tests, minor corrections
...
* closes IDF-1135:
same namespace was used in different tests which
could lead to conflicts when re-running tests
* removes duplicated functions declarations
* correct argument order for test case macros
2019-11-07 10:23:47 +08:00
zhangyanjiao
bf37f8a03c
1. modify esp_wifi.h to support esp_netif feature
...
2. fix the bug for API_CHECK_ENABLE
2019-11-06 12:48:02 +00:00
Anton Maklakov
f8bfa69060
rsa test: fix a warning
2019-11-06 18:21:39 +07:00
Angus Gratton
5b33d6cf94
Merge branch 'feature/mbedtls_add_faster_modexp' into 'master'
...
mbedtls: Add a new (X^Y) mod M implementation (HAC 14.94)
Closes IDF-965
See merge request espressif/esp-idf!6418
2019-11-06 15:51:28 +08:00
Angus Gratton
796dd96757
Merge branch 'feature/hwcrypto_perf_ut' into 'master'
...
mbedtls: enable HW SHA by default, add SHA performance test
See merge request espressif/esp-idf!6320
2019-11-06 12:16:23 +08:00
Angus Gratton
e34bb7460f
secure boot: In Reflashable mode, make sure the bootloader digest updates
...
... whenever the bootloader.bin is updated
2019-11-06 12:13:24 +08:00
Darian Leung
79e74e5d5f
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-11-05 21:58:02 +08:00
Ivan Grokhotkov
2026340752
clk.h: add extern C guards
...
Closes https://github.com/espressif/esp-idf/issues/4215
2019-11-05 14:56:16 +01:00
Gabriel Durante
5f0d257240
Added Cpp compatibility for components/spi_flash/include/esp_flash_spi_init.h
...
Merges https://github.com/espressif/esp-idf/pull/4260
2019-11-05 14:52:57 +01:00
Ivan Grokhotkov
a8e3ad6bd9
bootloader: revert support for booting dual-core apps on single-core bootloader
2019-11-05 14:42:43 +01:00
David Cermak
1d904fdd81
http_client: added comments to http header generation function
2019-11-05 09:53:29 +01:00
David Cermak
9c0844da3f
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-05 09:44:06 +01:00
KonstantinKondrashov
e8d3b80e4b
mbedtls: Add an UT for performance RSA key operations
...
(New) - Montgomery exponentiation: Z = X ^ Y mod M (HAC 14.94)
keysize = 2048 bits
RSA key operation (performance): public [21894 us], private [199119 us]
RSA key operation (performance): public [18768 us], private [189051 us]
RSA key operation (performance): public [16242 us], private [190821 us]
keysize = 3072 bits
RSA key operation (performance): public [39762 us], private [437480 us]
RSA key operation (performance): public [36550 us], private [449422 us]
RSA key operation (performance): public [40536 us], private [443451 us]
keysize = 4096 bits
RSA key operation (performance): public [65671 us], private [885215 us]
RSA key operation (performance): public [60770 us], private [880936 us]
RSA key operation (performance): public [68951 us], private [872027 us]
(Old) - Sliding-window exponentiation: Z = X ^ Y mod M (HAC 14.85)
keysize = 2048 bits
RSA key operation (performance): public [93206 us], private [280189 us]
RSA key operation (performance): public [93060 us], private [278893 us]
RSA key operation (performance): public [97520 us], private [283252 us]
keysize = 3072 bits
RSA key operation (performance): public [293614 us], private [858157 us]
RSA key operation (performance): public [289902 us], private [843701 us]
RSA key operation (performance): public [291495 us], private [845232 us]
keysize = 4096 bits
RSA key operation (performance): public [653192 us], private [1912126 us]
RSA key operation (performance): public [656661 us], private [1901792 us]
RSA key operation (performance): public [641390 us], private [1938911 us]
2019-11-05 16:33:11 +08:00
KonstantinKondrashov
5ed8388f6b
mbedtls: Add Montgomery exponentiation implementation (HAC 14.94)
...
It gave us a better performance of RSA operations. (2~11 times)
The old modexp implementation (Z = X ^ Y mod M) loaded all the data into
the hw registers and was waiting for completion, but due to
the hardware RSA implementation, the calculations always started with 4096 bit,
which took a lot of time.
Measurement results (measurements were made for keys: 2048, 3072 and 4096 bits)
(Old) - Sliding-window exponentiation (HAC 14.85):
keysize = 2048 bits
RSA key operation (performance): public [93206 us], private [280189 us]
keysize = 3072 bits
RSA key operation (performance): public [293614 us], private [858157 us]
keysize = 4096 bits
RSA key operation (performance): public [653192 us], private [1912126 us]
Instead (Old) - Sliding-window exponentiation (HAC 14.85) was implemented
(New) - Montgomery exponentiation (HAC 14.94) which showed
better performance on private and public keys.
keysize = 2048 bits
RSA key operation (performance): public [14504 us], private [149456 us]
keysize = 3072 bits
RSA key operation (performance): public [35073 us], private [392743 us]
keysize = 4096 bits
RSA key operation (performance): public [58650 us], private [787186 us]
For this reason, the old implementation was removed
and the MBEDTLS_HARDWARE_MPI option was turned on by default.
Why the MPI_INTERRUPT option is removed:
the old implementation used calculations on the hardware and
it took a lot of time (10ms - 500ms). And in order not to stand idle
while waiting for completion, an interrupt option was added.
This made it possible to carry out other tasks during the calculation,
and this one to block. The new method is free from such a drawback and
the maximum duration of one RSA HW operation does not exceed 70us (usually 2-70 μs).
This option is no longer needed.
Closes: IDF-965
2019-11-05 16:33:11 +08:00
Angus Gratton
03d07741fd
Merge branch 'bugfix/esp32s2beta_vfs_performance' into 'master'
...
VFS: Fix performance test for esp32s2beta
Closes IDF-1024
See merge request espressif/esp-idf!6549
2019-11-05 12:42:52 +08:00
Angus Gratton
302510cd80
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts' into 'master'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests
See merge request espressif/esp-idf!6555
2019-11-05 12:05:24 +08:00
Angus Gratton
ffdb57e04d
Merge branch 'bugfix/http_client_message_complete_callback_invocation' into 'master'
...
Fix issue in http client regarding `message_complete` callback invocation
Closes IDFGH-2040
See merge request espressif/esp-idf!6413
2019-11-05 12:02:10 +08:00
Chen Zheng Wei
b4a02c57c2
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
closes https://github.com/espressif/esp-idf/issues/3973
2019-11-05 10:36:53 +08:00
Angus Gratton
8b48a8e72e
Merge branch 'feature/efuse_example' into 'master'
...
examples: Add an example efuse API usage and the group writing mode
Closes IDF-773
See merge request espressif/esp-idf!5810
2019-11-05 10:13:21 +08:00
Angus Gratton
13ff57f133
Merge branch 'feature/ipc_runs_with_caller_priority' into 'master'
...
esp_common: IPC works with the priority of the caller's task
Closes IDF-78
See merge request espressif/esp-idf!6191
2019-11-04 18:29:14 +08:00
Angus Gratton
f80004a74e
Merge branch 'feat/spi_flash_verify_encrypted_write' into 'master'
...
spi_flash: support to verify written encrypted data
Closes IDF-142
See merge request espressif/esp-idf!6467
2019-11-04 18:26:07 +08:00
Angus Gratton
c5ef1cae04
Merge branch 'feature/perfmon' into 'master'
...
Performance monitor component
See merge request espressif/esp-idf!4705
2019-11-04 18:25:14 +08:00
Angus Gratton
9ac55b5e55
Merge branch 'fix/ci_ut_psram_wroverb' into 'master'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
See merge request espressif/esp-idf!6553
2019-11-04 18:12:44 +08:00
Ivan Grokhotkov
71b73e61e1
mbedtls: Enable SHA hardware acceleration by default
2019-11-04 10:48:08 +01:00
Ivan Grokhotkov
589a1f216f
mbedtls: add SHA performance test
...
Results with this revision:
SHA256 rate 2.599MB/sec Debug 240MHz SW
SHA256 rate 1.147MB/sec Release 80MHz SW
SHA256 rate 3.469MB/sec Release 240MHz SW
SHA256 rate 2.687MB/sec Release 240MHz SW + PSRAM workaround
SHA256 rate 9.433MB/sec Debug 240MHz HW rev1
SHA256 rate 3.727MB/sec Release 80MHz HW rev1
SHA256 rate 10.961MB/sec Release 240MHz HW rev1
SHA256 rate 9.966MB/sec Release 240MHz HW rev1 + PRAM workaround
SHA256 rate 10.974MB/sec Debug 240MHz HW rev3
SHA256 rate 4.362MB/sec Release 80MHz HW rev3
SHA256 rate 13.207MB/sec Release 240MHz HW rev3
Debug = Og, assertions enabled
Release = O2, assertions disabled
2019-11-04 10:48:08 +01:00
Angus Gratton
49193beb6d
Merge branch 'bugfix/reenable_esp_event_tests' into 'master'
...
esp_event: reenable esp_event tests
See merge request espressif/esp-idf!6371
2019-11-04 15:07:34 +08:00
Angus Gratton
0e9c2cdc93
Merge branch 'bugfix/esp32s2beta_enable_protocol_examples' into 'master'
...
Bugfix/esp32s2beta enable protocol examples
Closes IDF-1027
See merge request espressif/esp-idf!6566
2019-11-04 14:46:57 +08:00
Mahavir Jain
4dcffdb0a9
esp_http_client: fix issue where http parser was not invoking message_complete
callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2019-11-04 12:15:19 +05:30
Mahavir Jain
917a406c0a
Logging improvements in OTA example and component
2019-11-04 12:15:19 +05:30
Angus Gratton
b7c2c93ecc
Merge branch 'bugfix/wifi_internal_memory' into 'master'
...
wifi: Include DMA reserved pool when allocating internal-only memory
Closes WIFI-883
See merge request espressif/esp-idf!6545
2019-11-04 13:55:49 +08:00
Renz Christian Bagaporo
f356d54365
esp_event: revert changes in !5702
2019-11-03 16:19:30 +08:00
Michael (XIAO Xufeng)
748b79e94a
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-03 03:07:37 +00:00
liu zhifu
c9dfdc0566
esp_wifi: fix TKIP/CCMP replay attack detection algorithm
2019-11-02 14:49:21 +00:00
Ivan Grokhotkov
28b10e633d
Merge branch 'bugfix/esp32s2beta_uxTopUsedPriority' into 'master'
...
freertos: fix defining uxTopUsedPriority for esp32s2beta
See merge request espressif/esp-idf!6378
2019-11-01 18:51:00 +08:00
Jiang Jiang Jian
d7e9d87aef
Merge branch 'bugfix/bugs_in_a2dp_task' into 'master'
...
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
Closes BT-436
See merge request espressif/esp-idf!6019
2019-11-01 18:46:21 +08:00
Roland Dobai
84bbafb6a4
VFS: Fix performance test for esp32s2beta
2019-11-01 09:40:16 +00:00
Shubham Kulkarni
0dafdd2984
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2019-11-01 12:50:17 +05:30
Jiang Jiang Jian
cb6e2fc858
Merge branch 'feature/wifi_pmk_caching' into 'master'
...
wifi: Add PMK caching feature for station WPA2-enterprise
Closes IDF-969
See merge request espressif/esp-idf!6156
2019-11-01 15:11:20 +08:00
baohongde
90b18dd4f6
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
2019-11-01 14:12:25 +08:00
KonstantinKondrashov
6071e2f3c7
esp_common: IPC refactor
...
- esp_ipc_call_and_wait() can work simultaneously on two CPUs.
- This will increase the priority for ipc_task
if the current task also wants to use it.
- Added the ESP_IPC_USES_CALLERS_PRIORITY option
to get back the old IPC behaviour.
2019-11-01 13:41:25 +08:00
Angus Gratton
592946a2cd
Merge branch 'bugfix/esp32s2beta_vfs_uart' into 'master'
...
Fix VFS UART unit tests for esp32s2beta
Closes IDF-1018
See merge request espressif/esp-idf!6301
2019-11-01 13:39:16 +08:00
Jiang Jiang Jian
fd4da421e5
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing' into 'master'
...
components/bt: Fix assert when deinit A2DP while playing music
Closes BT-471
See merge request espressif/esp-idf!6533
2019-11-01 11:57:01 +08:00
Marius Vikhammer
845003a1c3
ASIO: fixed undefined ref to atomic functions and enabled examples for CI (esp32s2beta)
...
Implemented the atomic functions needed to compile and link the asio examples on esp32s2beta.
2019-11-01 11:12:47 +08:00
Ivan Grokhotkov
daa9955e4a
Merge branch 'feature/cxx_rtti_preparation_v3' into 'master'
...
C++: re-add provisions for optional RTTI support (v3)
See merge request espressif/esp-idf!6556
2019-10-31 23:26:44 +08:00
Alex Lisitsyn
4bac558ab3
freemodbus: fix a bug with destroy function of modbus controller and fix port destroy functions
...
adds timer interrupt handle and free it in vMBXXXPortTimerClose() in master and slave timer port
assign modbus controller interface pointer to NULL in destroy function after free
2019-10-31 23:23:24 +08:00
Jiang Jiang Jian
02a756015d
Merge branch 'feature/wifi_merge_libs_to_master' into 'master'
...
esp_wifi: merge esp32s2beta WiFi library and fix WiFi deinit memory leak bug
See merge request espressif/esp-idf!6531
2019-10-31 20:56:39 +08:00
Hrudaynath Dhabe
4d3356be52
wifi: Add PMK caching feature for station WPA2-enterprise
...
4. Pmksa cache expiry after dot11RSNAConfigPMKLifetime timeout.
2019-10-31 10:51:30 +00:00
Sagar Bijwe
bd5d086475
wifi: Add PMK caching feature for station WPA2-enterprise
...
1) Added PMK caching module from wpa_supplicant.
2) Modified wpa_sm to
a) Add entry to PMK cache when first time associated to an AP.
b) Maintain entry across the associations.
c) Clear current PMKSA when deauth happens.
d) Search for an entry when re-associating to the same AP and
set it as current PMKSA
e) Wait for msg 1/4 from AP instead of starting EAP authentication.
f) Check PMKID in msg 1 with current PMKSA/cache.
g) Use the cached PMK to complete 4-way handshake.
3) Remove config_bss callback as it was redundant and used to cause
problems for PMK caching flow.
Closes IDF-969
2019-10-31 10:51:30 +00:00
Ivan Grokhotkov
a29d996191
Merge branch 'bugfix/system_api' into 'master'
...
system api: Refactor to esp_common, small fixes
Closes IDFGH-2096
See merge request espressif/esp-idf!6544
2019-10-31 15:40:33 +08:00
Angus Gratton
937e2fac2d
Merge branch 'bugfix/can_critical_section_compliance' into 'master'
...
CAN: Fix critical section compliance
Closes IDF-986
See merge request espressif/esp-idf!6536
2019-10-31 14:00:36 +08:00
KonstantinKondrashov
e3ff160733
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-10-31 13:23:47 +08:00
KonstantinKondrashov
f9e0e3557f
soc/esp32s2beta: Add test_env for 32kHz XTAL unit tests
2019-10-31 13:23:47 +08:00
Anton Maklakov
c45fdf754f
C++: prepare RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
Also, for full RTTI support, libstdc++.a in the toolchain should be built
in both with RTTI and w/o RTTI options. Multilib with -fno-rtti
flag is used for that.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-31 11:20:16 +07:00
Angus Gratton
1768473eb8
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-10-31 15:19:17 +11:00
Anton Maklakov
d86ec0f367
Revert "C++: add provisions for optional RTTI support"
...
This reverts commit 499d087c91
.
2019-10-31 10:12:16 +07:00
Roland Dobai
2a0285fdb4
Fix VFS UART unit tests for esp32s2beta
2019-10-30 13:45:12 +00:00
Krzysztof Budzynski
2c3548b65e
Provide BLE Mesh documentation
2019-10-30 17:01:18 +08:00
KonstantinKondrashov
cf762d91c2
efuse: Add the batch writing mode
...
This mode should be used when burning several efuses at one time.
2019-10-30 15:43:40 +08:00
Jiang Jiang Jian
9d5a7f8df6
Merge branch 'bugfix/btdm_possibly_unable_to_enter_sleep_after_woken_up' into 'master'
...
bugfix/btdm_possibly_unable_to_enter_sleep_after_woken_up
See merge request espressif/esp-idf!6219
2019-10-30 15:38:58 +08:00
Michael (XIAO Xufeng)
2660cb82ae
spi_flash: support to verify written encrypted data
...
Also add unit test for encrypted_read
2019-10-30 05:49:50 +00:00
Angus Gratton
f48285de10
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-10-30 15:57:17 +11:00
Angus Gratton
02f6bc5438
Merge branch 'bugfix/ws_client_sending_race' into 'master'
...
websocket_client: fix locking in ws client task
Closes IDFGH-1973
See merge request espressif/esp-idf!6266
2019-10-30 12:33:59 +08:00
Angus Gratton
045fbd4574
Merge branch 'feature/kconfiglib_package' into 'master'
...
Update kconfiglib to upstream version and replace mconf-idf
Closes IDF-314, IDF-739, IDFGH-1857, and IDF-1050
See merge request espressif/esp-idf!6057
2019-10-30 12:13:56 +08:00
Angus Gratton
fbbcade397
Merge branch 'bugfix/handler_unregister_itself' into 'master'
...
esp_event: fix handler unregistering itself
See merge request espressif/esp-idf!6274
2019-10-30 12:00:49 +08:00
Angus Gratton
d0256a8867
Merge branch 'refactor/lwip_port_layer' into 'master'
...
clean up TCPIP Stack port layer
Closes IDFGH-1990 and IDFGH-2041
See merge request espressif/esp-idf!6230
2019-10-30 11:58:49 +08:00
Jiang Jiang Jian
9a602920bd
Merge branch 'Bugfix/close_nonblocking_tcp_crash' into 'master'
...
fix bug for close nonblocking socket crash
Closes WIFI-1052
See merge request espressif/esp-idf!5963
2019-10-30 11:27:57 +08:00
Angus Gratton
4827723d76
system api: Move common parts into esp_common component
...
Also mark esp_base_mac_addr_set argument as 'const *'
2019-10-30 14:19:22 +11:00
Angus Gratton
912bd03a5c
system api: Check if Base MAC is a unicast MAC before setting
...
Closes https://github.com/espressif/esp-idf/issues/4263
Closes IDFGH-2096
2019-10-30 13:52:41 +11:00
liu zhifu
b09624e89a
esp_wifi: fix WiFi deinit memory leak
2019-10-30 10:12:15 +08:00
Ivan Grokhotkov
d90dd48e48
Merge branch 'fix/flag_attr_static' into 'master'
...
esp_attr: Fix multiple definition linker error for operators for C++ build including FLAG_ATTR'ed enum.
Closes IDF-1091
See merge request espressif/esp-idf!6469
2019-10-30 03:56:14 +08:00
Ivan Grokhotkov
faa219acdb
freertos: fix defining uxTopUsedPriority for esp32s2beta
2019-10-29 16:38:48 +01:00
Darian Leung
d2114d70a0
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-10-29 20:06:39 +08:00
baohongde
a099b6f7e4
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 19:47:50 +08:00
Xia Xiaotian
9afba2abf5
esp_wifi: merge esp32s2beta WiFi library to master branch
2019-10-29 19:41:33 +08:00
xueyunfei
ee57f5d8f3
fix bug for close nonblocking tcp crash
2019-10-29 18:51:55 +08:00
Jiang Jiang Jian
6e00988608
Merge branch 'bugfix/fix_dhcp_timeout_issue' into 'master'
...
Bugfix/fix dhcp timeout issue
Closes WIFI-917
See merge request espressif/esp-idf!6300
2019-10-29 18:20:14 +08:00
Roland Dobai
01887f71e7
Update kconfiglib to upstream version and replace mconf-idf
...
Special thanks to @ulfalizer for the helpful suggestions regarding
kconfiglib.
"rsource" option is available for relative path includes
Closes https://github.com/espressif/esp-idf/issues/4064
2019-10-29 10:40:04 +01:00
Angus Gratton
dc5a7c85ff
Merge branch 'bugfix/child_cmake_uninitialized_vars' into 'master'
...
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
See merge request espressif/esp-idf!6302
2019-10-29 16:00:05 +08:00
Angus Gratton
7637feb6ef
Merge branch 'bugfix/jump_time_54_sec' into 'master'
...
esp_timer: Fix time jumps back ~ 54sec
Closes IDFGH-396
See merge request espressif/esp-idf!5943
2019-10-29 14:38:15 +08:00
Angus Gratton
f4ea7c5a46
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
...
Fixes issue where PYTHON was not being expanded when running ulp_mapgen.py,
causing Windows launch setting to be used - reported here:
https://esp32.com/viewtopic.php?f=13&t=12640&p=50283#p50283
2019-10-29 05:38:39 +00:00
Angus Gratton
8569d51651
Merge branch 'bugfix/fix_i2s_include_head_bug' into 'master'
...
Bugfix(I2S): Fix i2s build error
See merge request espressif/esp-idf!6512
2019-10-29 13:19:00 +08:00
suda-morris
28eae0d467
lwip: cleanup lwip port layer
...
1. add sys_mbox_trypost_fromisr
2. define sys_msleep
3. simpify semaphore take
2019-10-29 13:11:14 +08:00
Josu Goñi
65d18eab93
Add config option for LWIP TCP_TMR_INTERVAL
...
Merges https://github.com/espressif/esp-idf/pull/4213
2019-10-29 13:11:14 +08:00
Thomas Schaub
9e2f44b3c2
lwip: add missing source file
...
Merges https://github.com/espressif/esp-idf/pull/4186
2019-10-29 13:11:14 +08:00
Angus Gratton
055cc251b7
Merge branch 'feature/esp32s2beta_merge' into 'master'
...
esp32s2beta: Merge support to master
Closes IDF-513, IDF-756, IDF-758, IDF-999, IDF-753, IDF-749, IDF-754, IDF-840, and IDF-755
See merge request espressif/esp-idf!6100
2019-10-29 13:02:01 +08:00
Prasad Alatkar
c5339779a7
NimBLE: Update NimBLE submodule to latest nimble-1.2.0-idf
release
2019-10-29 12:52:05 +08:00
Mahavir Jain
67a2f558df
Merge branch 'feature/esp_tls_add_wolfssl_and_segregate_files' into 'master'
...
feature/esp_tls :segregate esp_tls , seperate mbedtls api and add wolfssl support for esp32
See merge request espressif/esp-idf!6095
2019-10-29 12:49:40 +08:00
Angus Gratton
e8881352c5
secure boot: Fix bug where verification key was not embedded in app
2019-10-29 12:46:09 +11:00
Tian Hao
4987a5ad90
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-28 18:43:35 +08:00
Aditya Patwardhan
988f0c8feb
ESP_TLS: Generalizing error messages for esp_tls
...
:Replace mbedtls specific error messages
2019-10-28 16:05:31 +05:30
Aditya Patwardhan
f7eaa5f946
ESP_TLS: Restructuring esp_tls
...
1)Segregating mbedtls API into seperate file and cleaned esp_tls.c
2)Added support for wolfssl for CMake and make
3)Added support for debug_wolfssl (with menuconfig option)
4)Added info on wolfssl in ESP-TLS docs
2019-10-28 16:05:22 +05:30
Angus Gratton
36cd75d7ed
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-10-28 18:58:05 +11:00
Angus Gratton
894a3b4771
spi_flash: Remove duplicate spi_flash_rom_patch in CMakeLists.txt
2019-10-28 18:58:05 +11:00
Angus Gratton
c6d22c9d65
esp32s2beta: Change default version to "A"
...
Fixes CI, and most customers should have version "A".
2019-10-28 18:58:05 +11:00
Angus Gratton
1f62d4be74
esp32s2beta: Updated the beta chip version config to match the markings
2019-10-28 18:58:05 +11:00
Xia Xiaotian
5ffb42b4dd
esp_wifi: support esp32s2beta A, B and marlin3 chip
2019-10-28 18:58:05 +11:00
Romain
5491365874
Fix build error semphr.h:74:3: error: #error "include FreeRTOS.h" must appear in source files before "include semphr.h"
...
FreeRTOS.h must always be included before semphr.h
Merges https://github.com/espressif/esp-idf/pull/4251
2019-10-28 12:21:26 +08:00
Jiang Jiang Jian
758db1e008
Merge branch 'bugfix/fix_mesh_proxy_adv_with_wrong_dev_name' into 'master'
...
ble_mesh: using bt device name in mesh proxy adv
Closes BLEMESH-51
See merge request espressif/esp-idf!6438
2019-10-26 20:45:10 +08:00
Jiang Jiang Jian
ea0f0b1700
Merge branch 'feature/btdm_add_api_to_set_channel_classification' into 'master'
...
Feature/btdm add api to set channel classification
Closes BT-450
See merge request espressif/esp-idf!6229
2019-10-26 20:42:58 +08:00
Jiang Jiang Jian
eef065374e
Merge branch 'bugfix/btdm_disable_bt_gatt' into 'master'
...
components/bt: Disable BR/EDR GATT
Closes BT-456
See merge request espressif/esp-idf!6420
2019-10-26 20:42:37 +08:00
Jiang Jiang Jian
87e1dfa31e
Merge branch 'bugfix/btdm_check_avrc_connected_error' into 'master'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6415
2019-10-26 20:42:04 +08:00
ronghulin
66c0a107c8
lwip: fix DHCP timeout truncation bug
...
Change the DHCP timeout type from u16 to u32 to fix DHCP timeout value
truncation issue.
2019-10-25 21:07:37 +08:00
Renz Christian Bagaporo
1ed77e3a8d
esp_event: remove extra line from source file
2019-10-25 13:14:05 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
Marius Vikhammer
3d1170031b
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-25 03:56:38 +00:00
baohongde
ed984cc9b5
components/bt: Add API and EVT for BLE set channels(BLE)
2019-10-25 11:39:35 +08:00
baohongde
eaf5f6a319
components/bt: Add API and EVT for set AFH channels(BR/EDR)
2019-10-25 11:39:22 +08:00
Renz Christian Bagaporo
521f436315
esp_event: test that handlers can unregister themselves
2019-10-25 11:39:16 +08:00
Renz Christian Bagaporo
3c253295eb
esp_event: iterate loop nodes safely as well
2019-10-25 11:39:16 +08:00
Xentec
4c97906fc8
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2019-10-25 11:38:32 +08:00
Jiang Jiang Jian
f974811150
Merge branch 'feature/hf_ag' into 'master'
...
Feature: BT/HFP AG.
Closes BT-346 and BT-428
See merge request espressif/esp-idf!6306
2019-10-25 10:57:43 +08:00
wangmengyang
11aa4ef1ef
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-25 02:52:12 +00:00
baohongde
d6201066a3
components/bt: Fix error in checking AVRC connected
2019-10-25 02:50:31 +00:00
baohongde
93f86b8a6d
components/bt: Disable BR/EDR GATT
2019-10-25 02:49:51 +00:00
Darian Leung
434d1d29d1
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-25 03:40:43 +08:00
David Cermak
7c5011f411
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
2019-10-24 07:09:31 +00:00
Hrishikesh Dhayagude
a26dfe70aa
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-10-24 14:38:01 +08:00
Angus Gratton
3caa54e546
Merge branch 'feature/add_ping_example' into 'master'
...
add ping example
Closes WIFI-1196 and IDF-1068
See merge request espressif/esp-idf!6340
2019-10-24 11:37:38 +08:00
X-Ryl669
5780ac3207
esp_attr: Fix multiple definition linker error for operators for C++ build including FLAG_ATTR'ed enum.
...
Closes: https://github.com/espressif/esp-idf/pull/4021
Closes: https://github.com/espressif/esp-idf/issues/4016
2019-10-23 17:31:24 +08:00
Angus Gratton
ba74534efb
Merge branch 'bugfix/esp_tls_check_buffer_size' into 'master'
...
esp-tls: Asserting maximum output buffer in tls-write.
See merge request espressif/esp-idf!6317
2019-10-23 14:45:28 +08:00
Angus Gratton
9f93067649
Merge branch 'bugfix/select_with_sdmmc_mount' into 'master'
...
VFS: Fix bug which occurs when driver is installed during a select() call
Closes IDFGH-1259
See merge request espressif/esp-idf!6359
2019-10-23 14:05:49 +08:00
Angus Gratton
04dbe663be
Merge branch 'feature/heap_caps_get_size_free' into 'master'
...
add heap_caps_get_allocated_size
See merge request espressif/esp-idf!6375
2019-10-23 14:02:50 +08:00
Angus Gratton
5bec9fb010
Merge branch 'bugfix/random_en_dis_for_app' into 'master'
...
bootloader_support: Fix using shared CLK_EN and RST_EN regs for random
See merge request espressif/esp-idf!6198
2019-10-23 13:18:01 +08:00
Angus Gratton
b216e3b5c8
Merge branch 'feature/lwip_support_mdns_queries' into 'master'
...
lw-IP: support mdns queries
See merge request espressif/esp-idf!5242
2019-10-23 13:10:41 +08:00
Angus Gratton
bf1d32d008
Merge branch 'feature/esptool_v2.8' into 'master'
...
esptool: Bump to v2.8 release
See merge request espressif/esp-idf!6437
2019-10-23 06:03:00 +08:00
KonstantinKondrashov
b125bb50ea
esp_common: IPC works with the priority of the caller's task
...
Closes: IDF-78
2019-10-22 22:19:34 +08:00
David Cermak
a9e63d947b
esp-tls: Added support for fragmenting outgoing data in tls_write(), for cases of out data being larger than the maximum out buffer of underlying tls-stack.
2019-10-22 08:49:42 +00:00
lly
2350b15451
ble_mesh: using bt device name in mesh proxy adv
2019-10-22 15:04:19 +08:00
Angus Gratton
c60370b67f
esptool: Update esptool version to match master
2019-10-22 16:44:16 +11:00
Angus Gratton
d1b2c490cd
esptool: Bump to v2.8 release
2019-10-22 16:39:54 +11:00
suda-morris
dc6acf0033
icmp: add example and unitest
2019-10-22 04:38:09 +00:00
suda-morris
fa32a4bd93
ping: refactor with new esp_ping_xxx APIs
...
This refactor is only for backwards compatible.
2019-10-22 04:38:09 +00:00
Andro Nooh
a77e69c408
lwip: add icmp echo example
...
It piggybacks on the console example to add ping support and CLI.
Merges https://github.com/espressif/esp-idf/pull/4093
2019-10-22 04:38:09 +00:00
Ivan Grokhotkov
6c3527e2e6
Merge branch 'bugfix/fix_args_to_spiffsgen_in_make_buildsystem' into 'master'
...
spiffs: fix issue with args to spiffsgen in make
See merge request espressif/esp-idf!6434
2019-10-22 12:36:49 +08:00
Renz Christian Bagaporo
746322b7d6
spiffs: fix issue with args to spiffsgen in make
2019-10-22 11:35:19 +08:00
Jiang Jiang Jian
59aa07d5d9
Merge branch 'bugfix/btdm_fix_lmp_sniff_req_timeout' into 'master'
...
components/bt: Fix LMP sniff req timeout
See merge request espressif/esp-idf!6351
2019-10-22 11:20:14 +08:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Hrishikesh Dhayagude
f58d7d14c7
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-10-21 20:18:21 +08:00
Jiang Jiang Jian
5b0d262489
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val' into 'master'
...
ble_mesh: fix not restoring ble mesh cfg value
See merge request espressif/esp-idf!6275
2019-10-21 20:16:45 +08:00
Roland Dobai
8b56496efa
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-21 11:59:38 +02:00
zhanghu
341ef5e8b2
add heap_caps_get_size_free
2019-10-21 16:47:36 +08:00
Angus Gratton
27a4802f92
Merge branch 'bugfix/remove_mbedtls_would_block' into 'master'
...
Remove check for would_block in mbedtls
See merge request espressif/esp-idf!6384
2019-10-21 15:33:59 +08:00
Kewal
d3020b217d
Add api to get total heap size in bytes for given capability
2019-10-21 14:55:58 +08:00
Jiang Jiang Jian
bb38d181a1
Merge branch 'bugfix/vfs_fat_sdmmc_mount' into 'master'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
Closes IDFGH-1969
See merge request espressif/esp-idf!6282
2019-10-21 10:33:37 +08:00
Ivan Grokhotkov
c7d8ef52ca
Merge branch 'fix/esp_flash_no_qe' into 'master'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips
Closes IDF-888
See merge request espressif/esp-idf!5736
2019-10-20 13:59:30 +08:00
Ivan Grokhotkov
6373196a41
Merge branch 'bugfix/mdns_BCT_fix' into 'master'
...
mdns: fixes to have the BCT passing with latest IDF/lw-IP
See merge request espressif/esp-idf!6286
2019-10-19 17:10:02 +08:00
Ajita Chavan
56f73d7720
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 14:56:43 +08:00
Ivan Grokhotkov
1821873a1d
Merge branch 'feature/follow_symlinks_in_spiffsgen' into 'master'
...
spiffs: follow symlinks in spiffsgen
See merge request espressif/esp-idf!6280
2019-10-18 18:49:35 +08:00
Jiang Jiang Jian
fe94e63de3
Merge branch 'bugfix/modify_buffer_number_type_from_u8_to_u16' into 'master'
...
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
See merge request espressif/esp-idf!6355
2019-10-18 14:24:20 +08:00
Kedar Sovani
87c3decc12
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-17 16:36:18 +05:30
Angus Gratton
05180dfb4c
Merge branch 'bugfix/mqtt_reference_latest_version' into 'master'
...
mqtt: updated to latest version to include latest fixes and features
See merge request espressif/esp-idf!6294
2019-10-17 18:01:58 +08:00
Ivan Grokhotkov
e8af0f264c
Merge branch 'feature/cxx_rtti_preparation_v2' into 'master'
...
C++: add provisions for optional RTTI support (v2)
See merge request espressif/esp-idf!6341
2019-10-17 16:22:06 +08:00
Ivan Grokhotkov
42e59c317a
Merge branch 'bugfix/mqtt_example_url_update' into 'master'
...
MQTT: update default broker URL for examples
Closes IDF-1052
See merge request espressif/esp-idf!6214
2019-10-17 16:12:29 +08:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
Angus Gratton
0f1923ab22
Merge branch 'bugfix/o2_build_warnings' into 'master'
...
Fix -O2 build warnings
Closes IDFGH-1945 and IDFGH-1946
See merge request espressif/esp-idf!6311
2019-10-17 13:09:28 +08:00
Angus Gratton
5ee27aeec8
Merge branch 'feature/openeth_driver' into 'master'
...
ethernet: support OpenCores ethernet MAC
Closes IDF-891
See merge request espressif/esp-idf!6252
2019-10-17 13:05:27 +08:00
Hrishikesh Dhayagude
10fd2ae653
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-10-17 12:54:34 +08:00
Angus Gratton
89d2e2a5e3
Merge branch 'feature/example_netbios' into 'master'
...
add netbios support in restful server example
Closes IDF-1070
See merge request espressif/esp-idf!6346
2019-10-17 12:54:01 +08:00
Angus Gratton
b7fd8166d5
Merge branch 'bugfix/ws_opcodes_fix' into 'master'
...
ws_client: fix for not sending ping responses, updated to pass events also for...
See merge request espressif/esp-idf!6111
2019-10-17 12:36:08 +08:00
Darian
820fd6447d
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-10-17 12:33:17 +08:00
Xia Xiaotian
dfdf04644f
Support WiFi both on esp32 and esp32s2beta
2019-10-17 09:12:37 +11:00
KonstantinKondrashov
007d01c10a
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-16 18:33:14 +08:00
KonstantinKondrashov
d80fae2c88
esp32: Add UTs to check the System time does not jump back
2019-10-16 16:06:39 +08:00
Angus Gratton
65940cc0da
Merge branch 'feature/log_system_time' into 'master'
...
log: Add menuconfig option to log system time rather than RTOS time
See merge request espressif/esp-idf!6103
2019-10-16 14:56:14 +08:00
Angus Gratton
633a8376db
Merge branch 'bugfix/ethernet_unitest_crash' into 'master'
...
ethernet: fix crash in unit test
See merge request espressif/esp-idf!6284
2019-10-16 13:05:16 +08:00
Angus Gratton
d767475fd0
Merge branch 'bugfix/ws_buffer_overflow_fix' into 'master'
...
tcp_transport: fix possible buffer overflow in ws transport connect
Closes IDF-692
See merge request espressif/esp-idf!5887
2019-10-16 13:04:39 +08:00
Marius Vikhammer
c6934d6175
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-15 09:35:23 +00:00
David Cermak
07e0254f06
lwip: autoip: used Kconfig parameters instead of constants to be in line with previous esp-lwip port and to have the BCT passed
2019-10-15 07:07:00 +00:00
David Cermak
7f410a0bcb
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
2019-10-15 07:07:00 +00:00
David Cermak
81cd406683
lwip: support mdns queries
2019-10-15 07:02:19 +00:00
Angus Gratton
a89000855e
esptool: Update submodule adding ESP32-S2 beta support
2019-10-15 16:55:39 +11:00
Angus Gratton
f5238d5e42
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_merge
2019-10-15 15:03:45 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Hrudaynath Dhabe
ac0b4c184d
wpa_supplicant: Make hexdump logs more compact
...
When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).
Make these printouts more compact. 16 bytes per line.
2019-10-14 23:37:51 +08:00
Jiang Jiang Jian
93bca1dc2b
Merge branch 'hfp_bugfix' into 'master'
...
component/bt: Fix bugs in HFP feature
Closes BT-427
See merge request espressif/esp-idf!6197
2019-10-14 21:47:56 +08:00
Jiang Jiang Jian
bf87d0949b
Merge branch 'bugfix/btdm_osi_queue_gycfix_master' into 'master'
...
Component/bt : Added handling of osi memory calloc failure
See merge request espressif/esp-idf!6140
2019-10-14 21:35:41 +08:00
liu zhifu
d56e7ec037
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
...
Modify WiFi receiving buffer number type from uint8_t to uint16_t to support
configuring more than 255 buffers.
2019-10-14 21:30:45 +08:00
Jiang Jiang Jian
b6a7b35b61
Merge branch 'bugfix/fix_sta_wpa2_enterprise_issue' into 'master'
...
esp_wifi: fix a station wpa2 enterprise issue
Closes WIFI-1042
See merge request espressif/esp-idf!6287
2019-10-14 21:27:05 +08:00
Michael (XIAO Xufeng)
eb104aa16f
esp_flash: fix the quad issue for some GD flash chips
...
The GD flash with product ID 40H, is already used in Wrover-nosufix modules.
2019-10-14 17:25:59 +08:00
Michael (XIAO Xufeng)
1e1d50376b
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-10-14 17:25:58 +08:00
Michael (XIAO Xufeng)
15d311bb80
esp_flash: rename internal variables for better readability
...
chip_drv in HAL are renamed as host
2019-10-14 17:25:58 +08:00
Michael (XIAO Xufeng)
571864e8ae
esp_flash: fix set qe bit and write command issues
...
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.
The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.
This commit:
1. Cancel the dummy phase
2. Set and clear the QE bit according to chip settings, allowing tests
for QE bits. However for some chips (Winbond for example), it's not
forced to clear the QE bit if not able to.
3. Also refactor to allow chip_generic and other chips to share the same
code to read and write qe bit; let common command and read command share
configure_host_io_mode.
4. Rename read mode to io mode since maybe we will write data with quad
mode one day.
2019-10-14 17:25:58 +08:00
David Cermak
abf9345b85
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-10-14 11:05:27 +02:00
weitianhua
26b69f1363
New Clean Commit for AG.
...
Only Support single AG control block.
2019-10-14 07:54:09 +00:00
Angus Gratton
5ce95f2bfd
Merge branch 'bugfix/ci_weekend_test_update' into 'master'
...
CI: weekend test fixes
See merge request espressif/esp-idf!6235
2019-10-14 15:30:33 +08:00
Angus Gratton
92a507c0aa
Merge branch 'bugfix/ws_client_fix_event_blocking' into 'master'
...
ws_client: fixed posting to event loop with websocket timeout
See merge request espressif/esp-idf!5901
2019-10-14 15:17:34 +08:00
Angus Gratton
5d59895067
Merge branch 'bugfix/ws_client_fixed_path_query_uri' into 'master'
...
websocket_client: fix URI parsing to include also query part in websocket connection path
See merge request espressif/esp-idf!6201
2019-10-14 15:01:59 +08:00
Angus Gratton
d4edc6a40a
Merge branch 'bugfix/mdns_answer_ip6_size' into 'master'
...
mdns: use constant size of AAAA answer instead of lw_IP struct size
Closes WIFI-771
See merge request espressif/esp-idf!6188
2019-10-14 14:59:16 +08:00
baohongde
e1d61d03de
components/bt: Fix LMP sniff req timeout
2019-10-14 14:56:07 +08:00
David Cermak
555cc11a25
tcp_transport: fix possible buffer overflow in ws transport connect
...
closes IDF-692
2019-10-14 06:50:22 +00:00
suda-morris
84c72863e1
add netbios support in restful server example
2019-10-14 14:26:43 +08:00
David Cermak
640eac84fa
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
https://github.com/espressif/esp-mqtt/issues/135
2019-10-14 06:26:14 +00:00
Ivan Grokhotkov
31dac92e5f
ethernet: support OpenCores ethernet MAC
...
OpenCores Ethernet MAC has a relatively simple interface, and is
already supported in QEMU. This makes it a good candidate for enabling
network support when running IDF apps in QEMU, compared to the
relatively more complex task of writing a QEMU model of ESP32 EMAC.
This driver is written with QEMU in mind: it does not implement or
handle things that aren't implemented or handled in the QEMU model:
error flags, error interrupts. The transmit part of the driver also
assumes that the TX operation is done immediately when the TX
descriptor is written (which is the case with QEMU), hence waiting for
the TX operation to complete is not necessary.
For simplicity, the driver assumes that the peripheral register
occupy the same memory range as the ESP32 EMAC registers, and the
same interrupt source number is used.
2019-10-13 17:05:26 +02:00
Ivan Grokhotkov
6e423d5cf6
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-13 15:37:19 +02:00
Ivan Grokhotkov
0be585179e
spiffs: fix warning when building at release optimization level
...
Closes https://github.com/espressif/esp-idf/issues/4144
2019-10-13 15:37:19 +02:00
Ivan Grokhotkov
499d087c91
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-13 14:46:44 +02:00
Mahavir Jain
99659091fb
bootloader_support: fix logging prints around chip revision
2019-10-11 14:35:22 +05:30
Angus Gratton
420ee45279
Merge branch 'feature/handle_icy_uris' into 'master'
...
Modified http_parser to handle ICY uris.
See merge request espressif/esp-idf!6207
2019-10-11 14:06:16 +08:00
Angus Gratton
9f9cc717e3
Merge branch 'refactor/ethernet_remove_blocking_in_timer_callback' into 'master'
...
Ethernet: optimize and bugfix
Closes IDF-1051
See merge request espressif/esp-idf!6213
2019-10-11 13:07:38 +08:00
Vikram Dattu
742d4689dd
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-10-11 05:04:08 +00:00
Hu Chao Ru
fc018987eb
add wifi init unit test cases
2019-10-11 13:00:57 +08:00
Angus Gratton
51b4e97e42
Merge branch 'fix/cmake_req_private_comp' into 'master'
...
cmake: Fix cmakelists to add required private components
See merge request espressif/esp-idf!5428
2019-10-11 12:58:45 +08:00
suda-morris
13c128fd31
Ethernet: optimize and bugfix
...
1. simplify deallocate in esp_eth_mac_new_esp32, esp_eth_mac_new_dm9051
2. remove blocking operation in os timer callback
3. check buffer size in ethernet receive function
2019-10-11 12:15:17 +08:00
suda-morris
f0bfd33a10
ethernet: fix crash in unit test
2019-10-11 02:14:12 +00:00
lly
35353de137
ble_mesh: fix not callback net_key when device is provisioned
2019-10-11 09:51:02 +08:00
liu zhifu
0e3cdce8f7
esp_wifi: fix the bug that wpa2 enterprise sta can connect open AP
2019-10-11 09:39:35 +08:00
Roland Dobai
19c644f7fd
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-10 14:28:43 +00:00
Jiang Jiang Jian
25c55405d4
Merge branch 'bugfix/wifi_lib_ci' into 'master'
...
ci: fix ci issues of wifi lib
See merge request espressif/esp-idf!6288
2019-10-10 22:25:36 +08:00
Prasad Alatkar
19375a674e
NimBLE: Misc changes in NimBLE porting layer and menuconfig option
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
2019-10-10 17:20:15 +08:00
Angus Gratton
ae236c33a2
Merge branch 'bugfix/ut_adjtime' into 'master'
...
newlib: Fix UT - test time adjustment happens linearly
See merge request espressif/esp-idf!6245
2019-10-10 11:08:46 +08:00
Angus Gratton
6df8658b5b
Merge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes
See merge request espressif/esp-idf!6255
2019-10-10 11:06:29 +08:00
Ivan Grokhotkov
751b60b171
Merge branch 'feature/add_psram_workaround_option' into 'master'
...
make psram workaround depend on chip revison
Closes IDF-1004
See merge request espressif/esp-idf!6113
2019-10-09 23:41:09 +08:00
Aditya Patwardhan
3e9a054626
ESP32/coap_mbedtls:add macro checks
...
Closes https://github.com/espressif/esp-idf/issues/4156
2019-10-09 16:46:46 +08:00
chenyudong
c6129b81f2
ci: fix ci issues of wifi lib
...
sync esp_wifi.h to wifi lib
2019-10-09 15:07:19 +08:00
Renz Christian Bagaporo
a986283997
spiffs: follow symlinks in host test
2019-10-08 17:55:59 +08:00
Marcin Borowicz
6153a0ab62
spiffs: follow symlinks feature during partition in spiffsgen
2019-10-08 17:55:59 +08:00
lly
673f58fe03
ble_mesh: fix not restoring ble mesh cfg value
2019-10-08 16:34:05 +08:00
Ivan Grokhotkov
46a65a35d6
Merge branch 'bugfix/missing_build_targets_cmake' into 'master'
...
esptool_py: add missing phony build targets for CMake
Closes IDFGH-370
See merge request espressif/esp-idf!5838
2019-10-08 16:24:40 +08:00
Ivan Grokhotkov
416d14ca6b
Merge branch 'feat/spi_internal_header' into 'master'
...
spi: move deprecated functions into internal header
See merge request espressif/esp-idf!5985
2019-10-08 16:19:46 +08:00
Ivan Grokhotkov
b61c3d5d0f
Merge branch 'bugfix/examples_disconnect_before_restart' into 'master'
...
examples: disconnect from Wi-Fi before restart (and don't try to reconnect!)
See merge request espressif/esp-idf!6267
2019-10-08 16:16:25 +08:00
Roland Dobai
d3ed17acd7
Cosmetic Kconfig fixes
2019-10-08 08:11:53 +00:00
KonstantinKondrashov
267ca19ae8
bootloader: Fix dram_seg
2019-10-08 16:07:53 +08:00
weitianhua
9f0a44f5c0
component/bt: Fix bugs in HFP feature
2019-10-08 07:07:45 +00:00
Angus Gratton
8c1f3cb6b2
Merge branch 'feature/esp32s2beta_isr_table' into 'feature/esp32s2beta'
...
soc: Add interrupt numbers mapping for esp32s2beta
See merge request espressif/esp-idf!6204
2019-10-08 12:45:26 +08:00
Angus Gratton
1fb461a24c
Merge branch 'feature/esp32s2beta_fix_test_posix_timers_clock' into 'feature/esp32s2beta'
...
newlib: Fix test_posix_timers_clock for esp32s2beta
See merge request espressif/esp-idf!6170
2019-10-08 12:43:20 +08:00
Angus Gratton
4d7c955041
Merge branch 'bugfix/freertos_xTaskNotifyGive' into 'master'
...
freertos: remove semicolon in xTaskNotifyGive
See merge request espressif/esp-idf!6208
2019-10-08 12:21:40 +08:00
Michael (XIAO Xufeng)
afbe1ba878
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-10-08 11:51:39 +08:00
GOPTIONS\pfrost
23e9224be6
log: Add menuconfig option to log system time rather than RTOS time
...
Merges https://github.com/espressif/esp-idf/pull/3958
2019-10-08 12:03:45 +11:00
Ivan Grokhotkov
5768102d4e
esp_wifi: fix typo in comments (ESP_ERR_WIFI_NOT_STARTED)
2019-10-07 16:48:32 +02:00
David Cermak
271e6c4c9c
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
2019-10-07 16:40:38 +02:00
Ivan Grokhotkov
f0563b3844
system_api: call shutdown handlers in reverse order
...
Similar to how destructors should be called in reverse order to the
constructors.
2019-10-07 16:36:18 +02:00
David Cermak
50505068c4
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
2019-10-07 16:34:51 +02:00
Ivan Grokhotkov
d77a7c23da
Merge branch 'bugfix/ws_client_fixes' into 'master'
...
ws_client: various fixes
See merge request espressif/esp-idf!5879
2019-10-07 20:05:41 +08:00
Aditya Patwardhan
9f86f969b2
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 19:47:32 +08:00
KonstantinKondrashov
0c44f8ccbd
esp32: Using periph_module_enable instead of the shared regs.
2019-10-07 06:47:00 +00:00
KonstantinKondrashov
807826f796
bootloader_support: Fix using shared CLK_EN and RST_EN regs for random
...
bootloader_random_enable() and bootloader_random_disable() functions
can be used in app.
This MR added the protection for shared CLK_EN and RST_EN registers.
2019-10-07 06:47:00 +00:00
Mahavir Jain
2f38a1a362
Merge branch 'bugfix/set_url_discards_username_password' into 'master'
...
fixes : set_url discards username and password
Closes IDFGH-1586
See merge request espressif/esp-idf!5694
2019-10-04 13:48:55 +08:00
ganeshlandge
9fd16c6a5f
fixes : set_url discards username and password
2019-10-04 10:42:43 +05:30
Ivan Grokhotkov
569ad7545c
esp_event, mdns: fixes for CONFIG_ETH_ENABLED=n
2019-10-03 10:52:53 +02:00
Ivan Grokhotkov
6bddcdac67
bootloader: move esp32 specific code from bootloader_common
...
Also implements bootloader_clock_get_rated_freq_mhz for esp32s2beta.
Closes IDF-758
2019-10-03 09:38:13 +02:00
David Cermak
de6ea396f1
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
2019-10-03 07:33:32 +02:00
David Cermak
c0ba9e19fc
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
2019-10-03 07:33:32 +02:00
David Cermak
adee25d90e
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
2019-10-03 07:33:32 +02:00
David Cermak
ea955e1efc
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING
...
Closes https://github.com/espressif/esp-idf/issues/3890
Closes https://github.com/espressif/esp-idf/issues/4138
2019-10-03 07:32:17 +02:00
Ivan Grokhotkov
e4fda32726
Merge branch 'feature/uart_isr_iram' into 'master'
...
uart: add option to put ISR in IRAM
Closes IDF-893
See merge request espressif/esp-idf!5905
2019-10-03 01:21:56 +08:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
suda-morris
f94711c316
uart: add option to put ISR in IRAM
2019-10-02 16:43:02 +00:00
Roland Dobai
15857d9cbb
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-02 16:29:25 +00:00
Ivan Grokhotkov
adbf0bff53
Merge branch 'bugfix/ext_flash_load_partitions' into 'master'
...
spi_flash: ensure partition table loaded when esp_partition_register_external is called
Closes IDFGH-1916
See merge request espressif/esp-idf!6244
2019-10-02 18:50:54 +08:00
Mahavir Jain
3f9b0d8c2a
nghttp: move config.h to private_include dirs
2019-10-01 11:19:44 +00:00
KonstantinKondrashov
737ab91742
newlib: Fix UT - test time adjustment happens linearly
2019-10-01 03:09:22 +08:00
Ivan Grokhotkov
ccde8c7d2f
spi_flash: load partition table before adding an external partition
...
esp_partition_register_external did not call load_partitions, so if
it was called before any call to esp_partition_find, then the main
partition table would never be loaded. Introduce new function,
ensure_partitions_loaded, and call it both from esp_partition_find and
esp_partition_register_external.
Closes https://github.com/espressif/esp-idf/issues/4116
2019-09-30 16:11:09 +02:00
Jiang Jiang Jian
1c1108d47b
Merge branch 'bugfix/coex_fix_some_bugs' into 'master'
...
fix some coexist bugs
See merge request espressif/esp-idf!5200
2019-09-30 16:59:19 +08:00
David Cermak
d735f1d58d
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2019-09-30 09:51:41 +02:00
Prasad Alatkar
fe08f435dc
NimBLE: Add optional mbedTLS support to NimBLE
...
- Additional menuconfig option to select either mbedTLS or Tinycrypt from NimBLE.
- Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Changes NimBLE `component.mk` and `CMakeLists.txt` to support mbedTLS option.
- Minor changes to `app_mesh.c` application.
2019-09-30 14:15:43 +08:00
Xia Xiaotian
63019689d6
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
2019-09-30 11:49:16 +08:00
Jiang Jiang Jian
ef5c3f3564
Merge branch 'bugfix/fix_wifi_stop_leads_to_watchdog' into 'master'
...
esp_wifi: fix the bug that WiFi stop leads task watchdog
Closes WIFI-526 and WIFI-746
See merge request espressif/esp-idf!5830
2019-09-30 10:53:37 +08:00
zhangyanjiao
53d57dd736
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
2019-09-29 10:44:49 +08:00
Jiang Jiang Jian
9ef656fafd
Merge branch 'bugfix/ble_mesh_client_invalid_addr_access' into 'master'
...
ble_mesh: fix client model invalid address access
See merge request espressif/esp-idf!6212
2019-09-29 10:23:51 +08:00
Jiang Jiang Jian
f44b4911ad
Merge branch 'bugfix/fix_cache_disable_access_psram' into 'master'
...
esp_wifi: Put g_promis_buf to IRAM
See merge request espressif/esp-idf!6142
2019-09-29 10:08:17 +08:00
Ivan Grokhotkov
4dac7c7df8
Merge branch 'refactor/shrink_bootloader_bin_size' into 'master'
...
bootloader: shrink bin size
Closes IDF-1043
See merge request espressif/esp-idf!6194
2019-09-28 01:40:46 +08:00
Ivan Grokhotkov
c496268b10
Merge branch 'feature/load_elf' into 'master'
...
Support ELF files loadable with gdb
Closes IDF-335
See merge request espressif/esp-idf!5779
2019-09-27 19:36:25 +08:00
suda-morris
cbab3c34f8
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-09-27 10:58:30 +08:00
Ivan Grokhotkov
9c4b4aec62
Merge branch 'feature/enable_ethernet_unit_test' into 'master'
...
enable Ethernet unit test
Closes IDF-959
See merge request espressif/esp-idf!6144
2019-09-26 21:28:13 +08:00
lly
7a450222f5
ble_mesh: fix client model invalid address access
2019-09-26 20:11:22 +08:00
suda-morris
e381cec35a
freertos: remove semicolon in xTaskNotifyGive
2019-09-26 15:27:48 +08:00
xiehang
6fde73cdc4
esp_wifi: Put g_promis_buf to IRAM
2019-09-26 02:26:10 +00:00
KonstantinKondrashov
3e18681555
app_trace: Adds general support esp32s2beta chip
2019-09-26 01:03:06 +08:00
KonstantinKondrashov
c5c41eab46
soc: Add interrupt numbers mapping for esp32s2beta
...
Closes: IDF-999
2019-09-26 00:22:36 +08:00
Jiang Jiang Jian
3d8798f745
Merge branch 'bugfix/kconfig_corrections' into 'master'
...
Fix Kconfig issues discovered by upstream Kconfiglib
See merge request espressif/esp-idf!6183
2019-09-25 16:26:18 +08:00
Jiang Jiang Jian
ac0d2dc534
Merge branch 'bugfix/ble_mesh_queue_task_init_check' into 'master'
...
ble_mesh: check ble mesh queue and task init status
See merge request espressif/esp-idf!6192
2019-09-25 15:08:05 +08:00
suda-morris
7c8c9cbb68
ethernet: enable unit test
2019-09-25 11:58:16 +08:00
Prasad Alatkar
2c3648b619
BT/Bluedroid : Add support to set min encryption key requirement
...
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:56:47 +08:00
Jiang Jiang Jian
a2b65e1649
Merge branch 'bugfix/btdm_loop_in_feature_req_ext' into 'master'
...
components/bt: Fix sending LMP_features_req_ext in a loop
See merge request espressif/esp-idf!6022
2019-09-25 11:51:53 +08:00
lly
0792a2fde8
ble_mesh: check ble mesh queue and task init status
2019-09-25 11:09:40 +08:00
David Cermak
e5e31c5d01
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
2019-09-24 12:12:58 +02:00
Roland Dobai
5a916ce126
Support ELF files loadable with gdb
2019-09-24 07:19:50 +00:00
Shivani Tipnis
38ccf5f28b
cmake: Fix cmakelists to add required private components
...
Fixes: https://github.com/espressif/esp-idf/issues/3710
2019-09-24 10:46:26 +05:30
Roland Dobai
833822c10b
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-23 16:10:57 +02:00
KonstantinKondrashov
c4da959fa7
soc: Fix setting timeout for RTC_WDT
2019-09-23 14:57:26 +08:00
Ivan Grokhotkov
363e41eadf
Merge branch 'bugfix/make_cxx_depend_on_pthread' into 'master'
...
cxx: force pthread to appear later in link line
See merge request espressif/esp-idf!6124
2019-09-23 12:42:50 +08:00
Angus Gratton
b0bd4d0f14
Merge branch 'fix/esp_flash_adapter_in_iram' into 'master'
...
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
See merge request espressif/esp-idf!6135
2019-09-20 18:21:58 +08:00
Angus Gratton
a68b400b9a
Merge branch 'refactor/update_spi_ethernet_api' into 'master'
...
ethernet: update spi ethernet api
See merge request espressif/esp-idf!6123
2019-09-20 18:15:25 +08:00
Angus Gratton
f7d80ed9da
Hello world example: Print ESP32-S2 Beta for esp32s2beta target
2019-09-20 17:07:34 +10:00
KonstantinKondrashov
db84ba868c
efuse: Add support for esp32s2beta
...
Updated:
- CI test_esp32s2beta_efuse_table_on_host.
- efuse_table_gen.py.
- esp_efuse_table.csv file and generated headers files.
- splitted esp32 and esp32s2beta parts.
- unit tests and api efuse.
2019-09-20 16:59:46 +10:00
KonstantinKondrashov
6257828348
app_update: Add support esp32s2beta
2019-09-20 16:57:33 +10:00
KonstantinKondrashov
6f102125b4
bootloader: Add support esp32s2beta
2019-09-20 16:57:33 +10:00
KonstantinKondrashov
d06b2a3598
esp32s2beta: Add support esp32s2beta
...
Added reading MAC address
Closes: IDF-756
2019-09-20 16:57:27 +10:00
Jiang Jiang Jian
a469c179f8
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone' into 'master'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
Closes WIFI-1115
See merge request espressif/esp-idf!6071
2019-09-20 14:01:59 +08:00
KonstantinKondrashov
a25841bc9a
newlib: Fix test_posix_timers_clock for esp32s2beta
2019-09-20 14:01:22 +08:00
Wang Fang
32adfdc307
Add Chinese translation for the 2nd batch of the files in storage folder in api-reference.
...
1. The translation should be first reviewed by technical reviewers;
2. and then by language reviewers.
For the translation for the first batch of files, please see !MR5620 and !MR5613
2019-09-20 12:32:55 +08:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
Angus Gratton
83680bd96b
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_merge
2019-09-19 21:08:20 +10:00
suda-morris
546ac64a9e
ethernet: update spi-ethernet api
2019-09-19 09:41:21 +00:00
Jiang Jiang Jian
d78831ab2b
Merge branch 'bugfix/remove_v40_deprecations' into 'master'
...
Remove features deprecated before ESP-IDF V4.0
Closes IDF-507
See merge request espressif/esp-idf!5841
2019-09-19 16:07:01 +08:00
suda-morris
77eb32b710
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:20:34 +08:00
Angus Gratton
bcaaaa1632
Merge branch 'feature/esp32s2beta_wdt' into 'feature/esp32s2beta'
...
esp32s2beta: Re-enable interrupt WDT, RTC_WDT, Task wdt
See merge request espressif/esp-idf!5786
2019-09-19 11:10:58 +08:00
gengyuchao
87995c5f75
bugfix:btmd fix the problem that fixed_queue_enqueue may give the wrong semaphore if list_append fail to calloc a new node
2019-09-18 17:43:35 +08:00
Jiang Jiang Jian
5051bb906a
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time' into 'master'
...
ble_mesh: fix ble mesh get timer remaining time
See merge request espressif/esp-idf!6060
2019-09-18 16:38:24 +08:00
michael
70d771eb2d
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:07:47 +08:00
xiehang
e1496449b1
esp_wifi: Update wifi lib
2019-09-18 10:16:35 +10:00
Renz Christian Bagaporo
f1b5c326f4
cxx: force pthread to appear later in link line
2019-09-17 20:08:12 +08:00
Ivan Grokhotkov
3cd687b35a
Merge branch 'fix/esp_flash_coredump' into 'master'
...
esp_flash: fix coredump issues
See merge request espressif/esp-idf!5917
2019-09-17 17:40:30 +08:00
Ivan Grokhotkov
bf68285689
Merge branch 'feature/compile_option_O0' into 'master'
...
build_system: add new compiler optimization levels
See merge request espressif/esp-idf!5686
2019-09-17 16:54:55 +08:00
Angus Gratton
d10107a50e
idf_test: Disable tests for Wi-Fi auto reconnect
...
Disable one, remove IDF tag from the other
2019-09-17 18:41:09 +10:00
suda-morris
dd248ffc32
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-09-16 18:13:53 +08:00
lly
9ee5e3d8ed
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:34:08 +08:00
lly
e1b04df763
ble_mesh: make unicast elem lookup O(1)
2019-09-16 14:55:41 +08:00
Angus Gratton
6b7da96d5b
ulp: Add header for common ULP definitions
...
Fixes problems with duplicate error codes in the two chip-specific ulp headers
2019-09-16 16:18:53 +10:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Angus Gratton
0efdeb202e
Merge branch 'fix/elf_sha256_esp32s2beta' into 'feature/esp32s2beta'
...
build_system/app_update: fix the linker script and re-enable elf-sha256
See merge request espressif/esp-idf!5972
2019-09-16 08:25:20 +08:00
Angus Gratton
66b0b8951f
Merge branch 'bugfix/esp32s2beta_docs' into 'feature/esp32s2beta'
...
esp32s2beta: Fix docs build
See merge request espressif/esp-idf!6096
2019-09-16 08:19:59 +08:00
Michael (XIAO Xufeng)
9d30b04f68
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-14 17:02:08 +08:00
Michael (XIAO Xufeng)
511820820e
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-14 17:01:36 +08:00
Michael (XIAO Xufeng)
6139864a4c
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-14 16:56:31 +08:00
Angus Gratton
c27fd32fbe
Merge branch 'feat/esp_flash_support_encrypt' into 'master'
...
esp_flash: add support for encrypted read and write
See merge request espressif/esp-idf!6008
2019-09-13 14:52:01 +08:00
Angus Gratton
9d19f4fc8e
driver docs: Fix some doxygen warnings
2019-09-13 14:30:06 +10:00
Angus Gratton
14730f049e
Merge branch 'bugfix/do_not_use_absolute_paths_to_other_components' into 'master'
...
app_update: use build system api to get partition_table dir
See merge request espressif/esp-idf!6039
2019-09-13 07:51:22 +08:00
Jack
b0c893a20c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-13 09:44:07 +10:00
Jack
95ec36afd4
dport: remove clock_en and reset bitname which is not suitable
2019-09-13 09:44:07 +10:00
Angus Gratton
33a186f630
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
...
Deprecated since ESP-IDF V3.0
2019-09-13 09:44:07 +10:00
Angus Gratton
6195c69701
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros
...
Deprecated before ESP-IDF V1.0!
2019-09-13 09:44:07 +10:00
Angus Gratton
c41b2b0415
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-13 09:44:07 +10:00
Angus Gratton
b022527da7
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
fb748bae7f
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
ba54a552c1
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
d63181b5e9
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
2e067f5b57
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
dc7d6d592e
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
480bd0360f
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
bdeaf138c4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
a9a29b1f1e
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
fbc1d1c319
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-13 09:44:07 +10:00
Ivan Grokhotkov
88548a9b4d
esp32/test: fix usage of deprecated fields
2019-09-13 09:44:07 +10:00
Angus Gratton
11c1da5276
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-13 09:44:07 +10:00
Angus Gratton
f406d020d8
driver: Remove features deprecated pre-IDF V4.0
2019-09-13 09:44:07 +10:00
Angus Gratton
f44d99b509
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-13 09:44:07 +10:00
Angus Gratton
62c06047da
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-13 09:44:07 +10:00
Angus Gratton
596ccc6793
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-13 09:44:07 +10:00
KonstantinKondrashov
e0f7fbc5fa
bootloader: expand the space for iram_loader_seg
...
Fixed ld issue: overflowed iram_loader_seg
2019-09-13 00:39:37 +08:00
KonstantinKondrashov
d1173c8f09
esp32s2beta: task_wdt
...
Closes: IDF-753
2019-09-13 00:06:22 +08:00
KonstantinKondrashov
2644ddc3e1
esp32s2beta: Using rtc_wdt API
2019-09-13 00:06:22 +08:00
KonstantinKondrashov
d3637cd06b
rtc_wdt: re-enable RTC_WDT
2019-09-13 00:03:52 +08:00
KonstantinKondrashov
3ffa33c84d
esp32s2beta: re-enable int_wdt
2019-09-13 00:03:52 +08:00
Michael (XIAO Xufeng)
d7d5aebdee
soc: fix memory map for esp32 and esp32s2beta
2019-09-12 16:17:52 +08:00
Liu Han
3ca07b3e70
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2019-09-12 13:55:47 +08:00
Jiang Jiang Jian
850893b25b
Merge branch 'bugfix/uart_select_free' into 'master'
...
VFS: Fix memory access after free() in UART select()
Closes IDFGH-1820
See merge request espressif/esp-idf!6045
2019-09-12 13:38:43 +08:00
Jiang Jiang Jian
9f145ff165
Merge branch 'feature/btdm_add_hf_nvrc_command' into 'master'
...
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
See merge request espressif/esp-idf!5974
2019-09-12 13:25:18 +08:00
Jiang Jiang Jian
d1e5d9c8c9
Merge branch 'bugfix/btdm_config_msbc' into 'master'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5978
2019-09-12 13:23:41 +08:00
Michael (XIAO Xufeng)
d008c47dac
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-12 12:41:50 +08:00
Michael (XIAO Xufeng)
df27a50866
app_update: re-enable elf-sha256
2019-09-11 18:29:11 +08:00
Jiang Jiang Jian
32f216441f
Merge branch 'bugfix/esp32s2beta_cache_interrupt_panic' into 'feature/esp32s2beta'
...
cache_err_int: Add cache error interrupt panic
See merge request espressif/esp-idf!5559
2019-09-11 12:48:12 +08:00
jiangguangming
1b31191753
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-11 11:00:19 +08:00
zhangyanjiao
d885df946a
fix the bug that ESP32 sends broadcast to phone after smartconfig done
2019-09-11 10:42:16 +08:00
michael
213f8cf7ef
ci: forbid esp32s2beta tests from being built in make
2019-09-11 09:31:47 +08:00
Angus Gratton
2402d0952d
Merge branch 'bugfix/flash_encryption_disable_plaintext' into 'master'
...
flash encryption: Always disable plaintext reflashes in Release mode
See merge request espressif/esp-idf!6051
2019-09-11 07:59:33 +08:00
Li Shuai
d48aac96a1
util-test: Fix the conflict target of esp32_test_logo between esp32s2beta and esp32
2019-09-10 20:49:36 +08:00
Jiang Jiang Jian
3b606aa21f
Merge branch 'bugfix/wpa2_ent_eap_reauth_fail' into 'master'
...
wpa_supplicant: Fix EAP Re-authentication issue
See merge request espressif/esp-idf!5588
2019-09-10 20:14:22 +08:00
lly
5d1f84f69c
ble_mesh: fix ble mesh get timer remaining time
2019-09-10 16:58:41 +08:00
Angus Gratton
49ca39d35c
Merge branch 'bugfix/multi_heap_printf' into 'master'
...
heap: Fix printf usage in heap poisoning
See merge request espressif/esp-idf!6046
2019-09-10 13:26:27 +08:00
Roland Dobai
7cc225c85b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-10 04:59:03 +00:00
Angus Gratton
c052a38e2a
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-10 11:28:17 +10:00
Angus Gratton
b547aef2a0
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-10 11:28:11 +10:00
Darian Leung
e52c0d0da2
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-09-09 21:56:39 +08:00
lly
1a8f37b383
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 17:15:16 +08:00
lly
d48c89b56a
ble_mesh: fix ble mesh btc may caused memory leak
2019-09-09 17:15:16 +08:00
lly
8a41132507
ble_mesh: fix publication period timestamp initialization
2019-09-09 17:15:16 +08:00
lly
715cf7d578
ble_mesh: remove useless mesh_opcode
2019-09-09 17:15:16 +08:00
lly
8580a3211b
ble_mesh: fix bt_mesh_net_resend() caused compiling error
2019-09-09 17:15:16 +08:00
lly
8a7ab6cb3d
ble_mesh: fix adhering to the configured Friend Queue size
2019-09-09 17:15:16 +08:00
lly
29de1a9acf
ble_mesh: remove useless code bt_mesh_trans_resend()
2019-09-09 17:15:16 +08:00
lly
386a5d649c
ble_mesh: lpn remove msg from cache on rejection
2019-09-09 17:15:16 +08:00
lly
9a672caa7e
ble_mesh: introduce a helper for send callback function
2019-09-09 17:15:16 +08:00
lly
05128c98ec
ble_mesh: fix heartbeat sending on friendship established/lost
2019-09-09 17:15:16 +08:00
lly
9f80c24b74
ble_mesh: fix checking for active heartbeat publication
2019-09-09 17:15:16 +08:00
lly
b9c43cec19
ble_mesh: fix starting iv update when not on primary subnet
2019-09-09 17:15:16 +08:00
lly
3f6968e31b
ble_mesh: fix canceling publication retransmit timer
2019-09-09 17:15:16 +08:00
lly
10bffaebf1
ble_mesh: fix resending segments on correct bearer
2019-09-09 17:15:16 +08:00
lly
e152df43f1
ble_mesh: fix not sending all segments through the Friend Queue
2019-09-09 17:15:16 +08:00
lly
f449cb7843
ble_mesh: fix canceled buffer memory leak
2019-09-09 17:15:16 +08:00
lly
2afc9b820d
ble_mesh: remove some useless copy during ecdh calculation
2019-09-09 17:15:16 +08:00
lly
75b0f50aa0
ble_mesh: move heartbeat sending to transport layer
2019-09-09 17:15:16 +08:00
lly
edf0b9ee02
ble_mesh: fix provisioning send error handling
2019-09-09 17:15:16 +08:00
lly
1c06494293
ble_mesh: fix rejecting invalid remote public key
2019-09-09 17:15:16 +08:00
lly
3e47f3ec87
ble_mesh: add error checks for scan start/stop
2019-09-09 17:15:16 +08:00
lly
3e489d40ff
ble_mesh: rename reset_link() to reset_adv_link()
2019-09-09 17:15:16 +08:00
lly
f2b0b00020
ble_mesh: fix public key mismatch error handling
2019-09-09 17:15:16 +08:00
lly
630e911958
ble_mesh: update protocol error timeout from zephyr
2019-09-09 17:15:16 +08:00
lly
716db01a7f
ble_mesh: fix segmented message RPL behavior
2019-09-09 17:15:16 +08:00
lly
5f5f5cf305
ble_mesh: clear LPN sent_req on failure
2019-09-09 17:15:16 +08:00
lly
4bf4094e40
ble_mesh: update proxy sar operation from zephyr
2019-09-09 17:15:16 +08:00
lly
9c98a8d645
ble_mesh: fix postponing storage deadline indefinitely
2019-09-09 17:15:16 +08:00
lly
c44a3f1209
ble_mesh: fix RPL storage timeout handling
2019-09-09 17:15:16 +08:00
lly
9a7efd30ef
ble_mesh: fix output MIC with additional data
2019-09-09 17:15:16 +08:00
lly
f3e7656c06
ble_mesh: remove non-standard relay opearation
2019-09-09 17:15:16 +08:00
lly
0c82a32524
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
2019-09-09 17:15:16 +08:00
lly
b8cb769ce3
ble_mesh: fix failed to set device role caused mem leak
2019-09-09 17:15:16 +08:00
lly
624bf7e3a0
ble_mesh: ble mesh btc miscellaneous modifications
2019-09-09 17:15:16 +08:00
lly
1f96bf5906
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:15:16 +08:00
lly
f25640e9e5
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:15:16 +08:00
lly
014a35c1df
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:15:16 +08:00
lly
b3bc60183d
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:15:16 +08:00
lly
5f6259a625
ble_mesh: reorganize ble mesh model files
2019-09-09 17:15:16 +08:00
lly
a788e7cd3d
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:15:16 +08:00
lly
c648054e08
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:15:16 +08:00
Li Shuai
d5a9b1a240
util-test: The cache and spi_flash tests passed
2019-09-09 16:59:29 +08:00
Li Shuai
fd15fd3da4
util-test: Copy the test in the esp32 directory to the esp32s2beta directory
2019-09-09 16:57:28 +08:00
Li Shuai
eb4c0ef8b2
cache_err_int: Modify cache error interrupt panic code format
2019-09-09 14:35:42 +08:00
Li Shuai
ce6c86672b
cache_err_int: Add cache error interrupt panic
2019-09-09 14:35:42 +08:00
Angus Gratton
35147119f1
Merge branch 'feature/support_ut_esp32s2beta' into 'feature/esp32s2beta'
...
ci: support build and run UT for esp32s2beta
See merge request espressif/esp-idf!5702
2019-09-09 08:34:16 +08:00
Mahavir Jain
f2eadc9378
Merge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'
...
Fix build issues in coap library with mbedtls client only config
See merge request espressif/esp-idf!5955
2019-09-06 21:12:04 +08:00
Wang Fang
bea507378e
Add Chinese translation for README files in components and tools folders, including:
...
1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst
2019-09-06 20:18:19 +08:00
Jon Shallow
430b737760
Fix libcoap building with various MbedTLS compile time options
...
components/coap/port/coap_mbedtls.c:
Add in additional compile time check wrappers for different MbedTLS
configurations.
components/coap/CMakeLists.txt:
components/coap/component.mk:
components/coap/port/coap_notls.c:
components/coap/port/include/coap_config_posix.h:
Add in the ability to compile and run if MbedTLS does not have any TLS
mode enabled.
examples/protocols/coap_client/main/coap_client_example_main.c:
Inform user that MbedTLS Client Mode is required for DTLS if not enabled,
and coaps:// has been requested.
[Lower libcoap library will still error and report this condition]
examples/protocols/coap_server/main/coap_server_example_main.c:
Inform user that MbedTLS Server Mode is required for DTLS if not enabled.
[Lower libcoap library will still error and report this condition]
Closes https://github.com/espressif/esp-idf/issues/3961
Closes https://github.com/espressif/esp-idf/issues/3971
Closes https://github.com/espressif/esp-idf/pull/3977
2019-09-06 16:13:52 +05:30
Andrew
4fdaeb6b6e
cmake: Add new compiler optimization levels definitions
...
Rename and add multiple kconfig compiler options. New compiler options
COMPILER_OPTIMIZATION_PERF and COMPILER_OPTIMIZATION_NONE have been added.
Optimize "Debug" and "Release" options to "Default" and "Size" respectively.
This commit also does the following:
- The COMPILER_OPTIMIZATION_PERF option introduced multiple bug.
This commit fixes those bugs.
- build.yml also updated to test for the new optimization options.
2019-09-06 17:37:19 +08:00
Nachiket Kukade
5df2e6b19c
wpa_supplicant: Fix EAP Re-authentication issue
...
EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.
The full fix for the change includes a fix from wifi library
(commit - 36f99df849214fbf9b0d15e58554632a568e05aa).
2019-09-06 14:59:05 +05:30
jiangguangming
4ef4b29c74
Reorganize the memory to maximize contiguous DRAM
...
1. Fix bug for variable sdkconfig_header in CMakeLists.txt
2. Modify the load address of bootloader
3. Modify the load address of application program
2019-09-06 16:18:42 +08:00
Angus Gratton
8b3e8f10cb
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'
...
spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses
See merge request espressif/esp-idf!5982
2019-09-06 16:04:56 +08:00
Angus Gratton
cd68972e32
Merge branch 'bugfix/ethernet_rx_length_check' into 'master'
...
ethernet: bugfix and optimize
Closes IDF-864, IDF-865, IDF-866, and IDF-867
See merge request espressif/esp-idf!5944
2019-09-06 15:39:20 +08:00
Alex Lisitsyn
7ff9538c48
espcoredump: fix issue with spi_flash access
...
spi_flash has been updated and its functions work from flash by default instead of IRAM that cause issue
add Kconfig value into espcoredump to enable spi_flash legacy mode (CONFIG_SPI_FLASH_USE_LEGACY_IMPL) when core dump is selected
fix spi_flash issues to work correctly with legacy mode when CONFIG_SPI_FLASH_USE_LEGACY_IMPL is used
2019-09-06 15:37:55 +08:00
Jiang Jiang Jian
fc62542e18
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'
...
fix the bug for WPA_WPA2_PSK connection fail
See merge request espressif/esp-idf!6009
2019-09-06 14:34:47 +08:00
Jiang Jiang Jian
84daad38c3
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack
See merge request espressif/esp-idf!5937
2019-09-06 14:29:45 +08:00
Jiang Jiang Jian
35874254b9
Merge branch 'bugfix/rom_miniz_notes' into 'master'
...
rom: Add warnings for miniz functions that won't work due to missing malloc
Closes IDFGH-1814
See merge request espressif/esp-idf!6012
2019-09-06 14:18:57 +08:00
baohongde
cb2e1f93d1
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:00:54 +08:00
Chinmay Chhajed
a6cc964a26
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-06 11:02:36 +08:00
Angus Gratton
f23b3fdbe4
rom: Add warnings for miniz functions that won't work due to missing malloc
...
Closes https://github.com/espressif/esp-idf/issues/4024
2019-09-06 11:01:34 +10:00
zhangyanjiao
45c72dd372
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2019-09-05 20:20:42 +08:00
jiangguangming
c057c141eb
Fix bug for reserved memory regions
...
1. Release 16KB memory of reserved regions to heap
2. Modify the dram_seg address of bootloader to 0x3FFF8000, size is 16K
2019-09-05 19:00:14 +08:00
Li Shuai
bd29202520
1. Fix backtrace is incomplete
...
2. Optimization code style
2019-09-05 18:40:33 +08:00
wanglei
653d8b5bdd
update cache and spiram related files and bug fixes
...
1. remove speed dependency of SPIRAM
2. support wrap mode of cache, flash and SPIRAM
3. fix some bugs on cache modes support
2019-09-05 14:14:49 +08:00
Jiang Jiang Jian
8d85792acc
Merge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5946
2019-09-05 12:01:35 +08:00
Jiang Jiang Jian
07bd6d49ca
Merge branch 'bugfix/btdm_config_but_task_size_fail' into 'master'
...
Use CONFIG value instead of hard-coded value.
See merge request espressif/esp-idf!5961
2019-09-05 11:26:50 +08:00
Xia Xiaotian
f9aaaa6c3a
esp_wifi: synchronize WiFi header file with WiFi library
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
KonstantinKondrashov
7f270d4299
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
76a3a5fb48
ci: disable unavailable tests for esp32s2beta
2019-09-04 10:53:25 +10:00
Angus Gratton
e44df658d5
spiram: Fix ESP32 SPIRAM when using SPIRAM_TYPE_AUTO, disable "AUTO" for ESP32-S2
...
Requirement to enable for ESP32-S2 captured in IDF-912.
2019-09-04 10:53:25 +10:00
Angus Gratton
0c88ef3232
driver: Fix UART interrupt handle read bug
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
eb158e9a22
ci: disable UTs for esp32s2beta without runners
2019-09-04 10:53:25 +10:00
Angus Gratton
c22965b22c
freertos: Restore uxPortCompareSet() in ESP32 unicore & make compatible code for ESP32S2Beta
...
This macro is used in places which expect it to work even without dual core being on.
Still make "mux" functions in FreeRTOS into no-ops as the mux is not needed.
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
e9901d15a1
rtc: fix memory map
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
053f419ced
stdatomic: support gcc built-in functions for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
55859f59cb
support for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
43135dc348
spi: convenient LL macro
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9f1c8f0c76
spi_flash: support esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
b76d5d74d9
mbedtls: support esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
3b39e60f97
driver: remove unused drivers for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
05739798c3
soc: s2beta support
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9baa7826be
fix unit test and examples for s2beta
2019-09-04 10:53:25 +10:00
Renz Christian Bagaporo
a4ee680bbf
app_update: use build system api to get partition_table dir
2019-09-03 19:47:53 +08:00
Martin Thierer
3bb42d0736
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-03 15:21:23 +08:00
Angus Gratton
c5747027b4
Merge branch 'bugfix/cmake_bootloader_python' into 'master'
...
build system: Pass Python executable through to bootloader build
See merge request espressif/esp-idf!5956
2019-09-03 12:55:58 +08:00
suda-morris
14ffd355e6
ethernet: bugfix and optimize
...
1. check frame length before pass to stack
2. replace semaphore with task notify
2019-09-03 11:01:16 +08:00
baohongde
019067b6ac
components/bt: Rename some macros
2019-09-03 10:23:05 +08:00
Zac Bond
f8212988c4
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:21:45 +08:00
Angus Gratton
002104b262
Merge branch 'bugfix/err_code_collision' into 'master'
...
Fix error code collisions and re-enable CI check
Closes IDF-832
See merge request espressif/esp-idf!5923
2019-09-03 08:30:40 +08:00
Jiang Jiang Jian
9b070666e1
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0' into 'master'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5782
2019-09-02 22:21:59 +08:00
Jiang Jiang Jian
81cf2cf130
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig' into 'master'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5950
2019-09-02 22:20:49 +08:00
baohongde
185f47ab7e
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:50:09 +08:00
nif
75578300f1
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
2019-09-02 09:28:38 +00:00
Jiang Jiang Jian
a4a95e6c67
Merge branch 'bugfix/coex_bb_reset_lock' into 'master'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!5968
2019-09-02 14:25:50 +08:00
Jiang Jiang Jian
6fa20a4d33
Merge branch 'test/use_correct_config_for_nvs_compatible_case' into 'master'
...
test: fix nvs compatible case error:
See merge request espressif/esp-idf!5890
2019-09-02 12:40:38 +08:00
Jiang Jiang Jian
a2e0c6b1ab
Merge branch 'test/fix_mesh_test_case' into 'master'
...
test: fix test case MESH_EST_2403
See merge request espressif/esp-idf!5813
2019-09-02 12:38:38 +08:00
Angus Gratton
eca4b855d9
Merge branch 'bugfix/secure_boot_ecdsa_config' into 'master'
...
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
See merge request espressif/esp-idf!5960
2019-09-02 08:31:18 +08:00
Tian Hao
3af18c0422
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-08-30 22:06:29 +08:00
Angus Gratton
d1f2ea7cdf
Merge branch 'bugfix/make_build_issue_if_build_dir_symlink' into 'master'
...
ldgen: fix build issue on make when build dir is a symlink
Closes IDFGH-1340
See merge request espressif/esp-idf!5915
2019-08-30 16:27:21 +08:00
Angus Gratton
879778a677
Merge branch 'refactor/move_smartconfig_ack_to_wifi' into 'master'
...
smartconfig: move smartconfig_ack to esp_wifi conponent
Closes IDFGH-1758
See merge request espressif/esp-idf!5881
2019-08-30 16:27:11 +08:00
Angus Gratton
ff5cb217fe
Merge branch 'bugfix/unicore_config_prevent_ipc_code' into 'master'
...
ipc: prevent code getting pulled in for unicore configuration
See merge request espressif/esp-idf!5795
2019-08-30 16:26:47 +08:00
Angus Gratton
6123f78897
mbedtls: Make ECDHE-PSK config item depend on ECDHE
2019-08-30 15:01:53 +10:00
Angus Gratton
abd6d40796
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
...
and all ECDSA to be disabled if secure boot is not enabled
Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).
To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.
Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
2019-08-30 14:56:11 +10:00
baohongde
d12503eb55
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:05 +08:00
Mahavir Jain
d6982e0401
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length' into 'master'
...
mbedtls: keep asymmetric tls buffer length option enabled by default
See merge request espressif/esp-idf!5678
2019-08-29 19:45:06 +08:00
Angus Gratton
e3e21b7954
build system: Pass Python executable through to bootloader build
...
Fixes failures if the PYTHON cache setting doesn't match the
default of "python" on the PATH.
2019-08-29 18:53:18 +10:00
Roland Dobai
612db28b6f
Fix error code collision and CI check
2019-08-29 08:14:08 +00:00
baohongde
b6fe44b520
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:27:57 +08:00
Jon Shallow
e7033716db
LwIP: Make IP_PKTINFO support configurable
...
LwIP has support for IP_PKTINFO, but it cannot be activated as it is
not configurable. This fix adds in the ability to configure it.
Merges https://github.com/espressif/esp-idf/pull/3983
2019-08-29 11:20:56 +08:00
suda-morris
a36cc962a3
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-08-29 10:39:30 +08:00
Angus Gratton
1cd54d34f6
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep' into 'master'
...
bootloader: Blocking the Factory reset during wake up from deep sleep
Closes IDFGH-1536
See merge request espressif/esp-idf!5673
2019-08-29 09:35:08 +08:00
Angus Gratton
06898325e6
Merge branch 'bugfix/bootloader_efuse_build_regression' into 'master'
...
bootloader: add definition of esp_clk_apb_freq
Closes IDFGH-1734
See merge request espressif/esp-idf!5913
2019-08-29 08:35:48 +08:00
Jiang Jiang Jian
17dc04183a
Merge branch 'bugfix/fix_the_bug_for_softap_set_authmode' into 'master'
...
wifi: fix the bug for softAP set authmode
Closes WIFI-449
See merge request espressif/esp-idf!5823
2019-08-28 19:05:00 +08:00
Mahavir Jain
ebe53416ad
ipc: prevent code getting pulled in for unicore configuration
2019-08-28 12:47:08 +05:30
wangmengyang
30bc5953f2
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
...
# Conflicts:
# components/bootloader/subproject/components/micro-ecc/micro-ecc
2019-08-28 15:16:10 +08:00
Mahavir Jain
5582878f8e
mbedtls: keep asymmetric tls buffer length option enabled by default
2019-08-28 06:23:33 +00:00
Angus Gratton
a21ca2270a
Merge branch 'feature/deep_sleep_fast_wake' into 'master'
...
bootloader: Reduce the time spent in image validation when waking from deep sleep
See merge request espressif/esp-idf!5140
2019-08-28 08:54:28 +08:00
Jiang Jiang Jian
039f9d0a20
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice' into 'master'
...
Component/bt: fix some BLE bugs
See merge request espressif/esp-idf!5896
2019-08-27 18:48:45 +08:00
Ivan Grokhotkov
fb72a6f629
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-08-27 12:01:11 +02:00
Renz Christian Bagaporo
c50a67567a
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2019-08-27 13:53:31 +08:00
Ivan Grokhotkov
1b24b3663e
fatfs: handle FR_INT_ERR as "filesystem corrupted"
...
FatFS library can sometimes return FR_INT_ERR if the filesystem is
corrupted. Propagate the error from VFS functions instead of
asserting, so that the application can handle the error. Also handle
the error during initialization of FatFS and format the filesystem if
it occurs.
2019-08-27 00:11:45 +02:00
Angus Gratton
8d8d4a57e1
Merge branch 'bugfix/reset_periph_modules' into 'master'
...
driver: Add a reset before enabling if a module is off
Closes IDF-188
See merge request espressif/esp-idf!4843
2019-08-26 16:38:23 +08:00
zhiweijian
f002d1c6aa
Component/bt: fix dome BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 14:17:46 +08:00
Jiang Jiang Jian
f68cd62abd
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size' into 'master'
...
bugfix/btdm_security_vulnerability_on_encryption_key_size
See merge request espressif/esp-idf!5868
2019-08-26 14:08:22 +08:00
He Yin Ling
954a23be37
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-25 20:35:49 +08:00
KonstantinKondrashov
30953ba9c4
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-08-23 10:21:06 +00:00
KonstantinKondrashov
69f45c3674
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-08-23 10:21:06 +00:00
Jiang Jiang Jian
8db44f67d7
Merge branch 'bugfix/wps_workaround_for_Telstra_AP' into 'master'
...
wps: Relax the check on older config methods in case of WPS2.0
See merge request espressif/esp-idf!5781
2019-08-23 17:32:46 +08:00
Dmitry
a0730fec2a
Performance monitor component. The component contains APIs, example and
...
documentation.
2019-08-23 11:20:12 +03:00
zhangyanjiao
ff96965a91
wifi: fix the bug for softAP set authmode
2019-08-23 14:37:08 +08:00
Ivan Grokhotkov
12c9d9a564
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-08-23 12:37:55 +08:00
wangmengyang
76b6902e96
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:26:15 +08:00
suda-morris
5a09de8245
cbor: add tinycbor library and example
2019-08-22 17:44:29 +08:00
fuzhibo
c9a911e4aa
rtc: update from bringup branch
2019-08-22 15:03:18 +08:00
Jiang Jiang Jian
0a30468945
Merge branch 'feature/wifi_use_new_event_api' into 'master'
...
esp_wifi/event: wifi use new event api
Closes WIFI-696
See merge request espressif/esp-idf!5454
2019-08-21 21:12:28 +08:00
KonstantinKondrashov
c543aac91e
bootloader: API for the fast wakeup and custom using RTC mem
...
Added "Reserve RTC FAST memory for custom purposes" option.
Added a boot counter.
2019-08-21 11:44:37 +00:00
Tim Nordell
43393cf4d1
bootloader: Support for skipping validation upon wake from deep sleep
...
This saves time when waking up from deep sleep, but potentially decreases
the security of the system. If the application able to modify itself
(especially areas that are loaded into RAM) in flash while running
without crashing or is modifies the cached bits of information about
what was last booted from the bootloader, this could cause security
issues if the user does a "deep sleep reset" since the full validation
is skipped.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Tim Nordell
82984f0539
bootloader: Do not obfuscate RAM if we are not doing image validation
...
No need to take this step if we are not doing image validation. The
obfuscation only buys us a tiny bit of "security" anyways since the
main parts of flash are memory mapped, too. This saves a little bit of
wake-up time when waking up from deep sleep when the
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is set.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Tim Nordell
1e32fa2cf7
bootloader: Remove extraneous newlines from some debug statements
...
ESP_LOGD(...) provides its own new lines so remove these from these
debug strings.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Prasad Alatkar
393eb1700d
NimBLE: Add misc menuconfig options
...
- Add option to configure stack size of NimBLE host task, update NimBLE
submodule for the same.
- Change max concurrent connections supported to 9 inline with controller.
2019-08-21 19:28:47 +08:00
Jiang Jiang Jian
14608cc0fb
Merge branch 'Bugfix/nonblocking_udp_is_zero' into 'master'
...
fix bug for nonblocking udp is zero
Closes WIFI-756
See merge request espressif/esp-idf!5792
2019-08-21 16:44:11 +08:00
Angus Gratton
3aef62527a
Merge branch 'update/cjson_v1_7_12' into 'master'
...
Update cJSON to v1.7.12
See merge request espressif/esp-idf!5776
2019-08-21 16:40:35 +08:00
Angus Gratton
319d44b1a6
Merge branch 'bugfix/esp_timer_null_checks' into 'master'
...
esp_timer: Add parameter NULL checks to public API
See merge request espressif/esp-idf!5804
2019-08-21 16:17:15 +08:00
Angus Gratton
38d61f83db
Merge branch 'feature/esp32s2beta_update' into 'feature/esp32s2beta'
...
esp32s2beta: Merge master into esp32s2beta branch
See merge request espressif/esp-idf!5724
2019-08-21 15:20:28 +08:00
xueyunfei
36920b4062
fix bug for nonblocking udp is zero
2019-08-21 11:25:17 +08:00
Renz Christian Bagaporo
a1a2f33459
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-08-21 10:01:00 +08:00
Xia Xiaotian
80f1c13fd7
esp_wifi: update WiFi library to support esp32s2beta
2019-08-21 10:45:07 +10:00
Ivan Grokhotkov
636c6a9a30
Merge branch 'feature/ulp_macro_updates' into 'master'
...
ulp: updates for ULP macros (PRs from Github)
Closes IDFGH-1492
See merge request espressif/esp-idf!5801
2019-08-20 20:40:09 +08:00
Nachiket Kukade
19a1af88a5
wps: Relax the check on older config methods in case of WPS2.0
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-20 09:58:41 +00:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Ivan Grokhotkov
5944f575cf
Merge branch 'bugfix/newlib_time_test' into 'master'
...
newlib: Fix UT - test time adjustment happens linearly
See merge request espressif/esp-idf!5712
2019-08-20 16:24:30 +08:00
Angus Gratton
9d8c21d8fb
Merge branch 'feature/esp32s2beta_rtc_vddsdio_get_config' into 'feature/esp32s2beta'
...
soc: Update rtc_vddsdio_get_config for esp32s2beta
See merge request espressif/esp-idf!5759
2019-08-20 13:14:07 +08:00
Angus Gratton
0a0bb09585
Merge 'master' into feature/esp32s2beta_update
2019-08-20 13:55:23 +10:00
Jiang Jiang Jian
23aef7d8d8
Merge branch 'cleanup/make_supp_headers_private' into 'master'
...
wpa_supplicant: Make internally used crypto headers private
Closes IDF-476
See merge request espressif/esp-idf!5666
2019-08-19 17:11:34 +08:00
Angus Gratton
2085845c80
freertos: Have ESP32S2-Beta target select FREERTOS_UNICORE directly
2019-08-19 15:03:48 +10:00
Angus Gratton
685c9cc867
esp32sbeta: Add timer_ll.h
2019-08-19 15:03:48 +10:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Angus Gratton
b1d67ad344
Merge branch 'bugfix/remove_transport_strcasestr' into 'master'
...
tcp_transport: replace transport_strcasestr with strcasestr
Closes IDF-548
See merge request espressif/esp-idf!5802
2019-08-19 10:36:32 +08:00
Nachiket Kukade
9ec363a25d
wpa_supplicant: Make internally used crypto headers private
...
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-08-17 11:48:37 +00:00
baohongde
38ae31ebc4
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-16 09:54:18 +00:00
Angus Gratton
76453ccfa5
Merge branch 'bugfix/ledc_clock_mode' into 'master'
...
driver: ledc: Fix clock mode selection
See merge request espressif/esp-idf!5747
2019-08-16 17:39:16 +08:00
chenyudong
2116968d78
test: fix test case MESH_EST_2403
2019-08-16 09:15:31 +00:00
Angus Gratton
727ffbe908
esp_timer: Add parameter NULL checks to public API
...
Return ESP_ERR_INVALID_ARG if the handle is NULL, instead of crashing.
As reported via forum https://esp32.com/viewtopic.php?f=13&t=11721&p=47926#p47926
2019-08-16 13:00:21 +10:00
Angus Gratton
74c2eb3aff
Merge branch 'fix/esp_flash_set_get_wp' into 'master'
...
esp_flash: fix the set/get write protection functions
See merge request espressif/esp-idf!5682
2019-08-16 06:14:48 +08:00
Ivan Grokhotkov
61a1a468bb
tcp_transport: replace transport_strcasestr with strcasestr
...
esp32-2019r1 toolchain version includes 'strcasestr', so the version
provided in tcp_transport component is no longer needed.
2019-08-15 17:51:54 +02:00
Saket Dandawate
ccc95191ea
ulp: Add aditional uint32_t object to ulp_insn_t
...
Used to get the encoded instruction from bit-field structs.
Merges https://github.com/espressif/esp-idf/pull/3759
2019-08-15 17:34:26 +02:00
boarchuz
28ca2d72b8
ulp: Correct misleading corrections of i2c comments
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:19 +02:00
boarchuz
68b3677daa
ulp: Correct misleading i2c write mask comments
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:11 +02:00
boarchuz
88a69823cf
ulp: Expand ULP macro functionality
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:11 +02:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Ivan Grokhotkov
5863509804
Merge branch 'bugfix/vfs_concurrent_select' into 'master'
...
VFS: Support concurrent VFS select calls & improve the documentation
Closes IDFGH-1072
See merge request espressif/esp-idf!5538
2019-08-15 19:57:30 +08:00
Angus Gratton
848465da90
driver: Check ledc config result in PCNT tests
2019-08-15 06:53:46 +00:00
Angus Gratton
1dd2f3e07b
driver: ledc: Fix low/high speed parameter setting
...
Fix regression introduced in 2e8c85d8ff
2019-08-15 06:53:46 +00:00
Angus Gratton
a50ae86707
Merge branch 'bugfix/mbedtls_add_source_files_to_appropriate_library' into 'master'
...
mbedtls: add source files to appropriate library
See merge request espressif/esp-idf!5761
2019-08-15 13:32:20 +08:00
Renz Christian Bagaporo
6875080b9b
mbedtls: add source files to appropriate library
2019-08-15 12:43:45 +08:00
Angus Gratton
b6b7ea4f10
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode' into 'master'
...
bugfix(flash): add spi dio address bitlen configure in psram init
See merge request espressif/esp-idf!5783
2019-08-15 11:28:19 +08:00
Prasad Alatkar
4c7b83defc
NimBLE: Fix bug in protocomm_nimble
chararcteristic access callback
...
Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.
2019-08-15 10:50:30 +08:00
Angus Gratton
0781868c36
Merge branch 'bugfix/mdns_send_bye_service_instance' into 'master'
...
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()
See merge request espressif/esp-idf!5308
2019-08-15 10:50:17 +08:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
chenjianqiang
74e2e46402
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-14 20:57:30 +08:00
Angus Gratton
367ecc2d60
Merge branch 'refactor/timerg_in_test' into 'master'
...
timer_group: refactoring to avoid direct register access in the ISR
See merge request espressif/esp-idf!5656
2019-08-14 15:32:16 +08:00
Angus Gratton
2fcbc6aaa5
esp_eth: KConfig formatting fix
2019-08-14 16:50:30 +10:00
David Cermak
a001998d52
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()
...
Closes https://github.com/espressif/esp-idf/issues/3660
2019-08-14 05:54:54 +00:00
Angus Gratton
f72dc5b271
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-14 10:03:27 +10:00
KonstantinKondrashov
62ee29250e
soc: Update rtc_vddsdio_get_config for esp32s2beta
...
Closes: IDF-749
2019-08-13 20:04:49 +08:00
Ivan Grokhotkov
0a74227cfa
bump version to 4.1
2019-08-13 10:09:52 +02:00
Angus Gratton
278c2f1aea
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_update
2019-08-13 17:16:44 +10:00
Angus Gratton
a3a67a4452
nvs_flash: Include xtensa component when building NVS tests on hosts
...
esp_attr.h moved to xtensa component in 61ce868396
2019-08-13 17:16:12 +10:00
Angus Gratton
e32d27e7e8
esp_eth: Add CONFIG_ETH_ENABLED flag to enable/disable ethernet at build time
...
Always enabled by default, as SPI/Ethernet support is enabled by default.
2019-08-13 17:14:16 +10:00
Xia Xiaotian
bcff8afbba
esp_wifi: update esp32s2beta WiFi library
2019-08-13 17:14:16 +10:00
Angus Gratton
9a2e29e068
esp32s2beta: Invert RSA_CONSTANT_TIME_DISABLE_REG to RSA_CONSTANT_TIME_REG
2019-08-13 17:14:16 +10:00
Angus Gratton
8111b222c8
bt: Update to match master
2019-08-13 17:14:16 +10:00
Angus Gratton
18c5cfadae
Fix function prototypes
2019-08-13 17:14:16 +10:00
Angus Gratton
c47e1756f8
examples: Rename deprecate CONFIG_CONSOLE_UART_NUM macro
2019-08-13 17:14:16 +10:00
Angus Gratton
4002c6060a
lwip: Enable ethernet for both ESP32 & ESP32-S2Beta (SPI ethernet)
2019-08-13 17:14:16 +10:00
Angus Gratton
eb7ad6ca17
bootloader: Fix SPI dummy clock settings for ESP32S2-beta
2019-08-13 17:14:16 +10:00
Angus Gratton
d5f5fadbee
bootloader: Include FreeRTOS component for the FREERTOS_UNICORE header, only
2019-08-13 17:14:16 +10:00
Angus Gratton
309376f51a
spi_flash: Force legacy mode for ESP32-S2
...
Can be removed once IDF-763 is merged
2019-08-13 17:14:16 +10:00
Angus Gratton
dc9170966b
freertos: Force UNICORE mode on ESP32S2
2019-08-13 17:14:16 +10:00
Angus Gratton
80a4a11808
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling' into 'master'
...
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors
See merge request espressif/esp-idf!5727
2019-08-13 14:38:28 +08:00
Angus Gratton
aa2a972261
Merge branch 'bugfix/fix_encrypted_project_flash_arg_file_gen' into 'master'
...
CMake: fix encrypted project flash arg file generation
See merge request espressif/esp-idf!5741
2019-08-13 13:45:57 +08:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
suda-morris
f86e82cb63
efuse: update the scheme of getting chip revision
2019-08-13 10:59:02 +08:00
Jiang Jiang Jian
65b9032dba
Merge branch 'bugfix/reuse_pmk_without_set_config' into 'master'
...
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called
Closes IDFGH-1520
See merge request espressif/esp-idf!5745
2019-08-12 23:33:45 +08:00
Angus Gratton
872ba98cc9
Merge branch 'feature/esp32s2beta_crosscore_int' into 'feature/esp32s2beta'
...
esp32s2beta: crosscore_int simplify for esp32s2beta
See merge request espressif/esp-idf!5668
2019-08-12 15:23:56 +08:00
Angus Gratton
212e7be28c
Merge branch 'bugfix/core_id_arg' into 'master'
...
doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different
Closes IDFGH-407
See merge request espressif/esp-idf!5661
2019-08-12 15:16:51 +08:00
Angus Gratton
8f74271d5d
esp_rom: Fail immediately if the wrong SoC's header file is included
2019-08-12 16:57:40 +10:00
Angus Gratton
2f56116db2
Cleanup of previous merge commit
2019-08-12 16:57:40 +10:00
Angus Gratton
e8bdfe07ae
Merge branch 'feature/tls_psk_authentication' into 'master'
...
esp_tls: add psk verification mode
Closes IDFGH-992
See merge request espressif/esp-idf!5095
2019-08-12 12:45:34 +08:00
Angus Gratton
b0ef3cdc9f
Merge branch 'bugfix/check_include_dirs' into 'master'
...
CMake: Check if component include dirs are directories
See merge request espressif/esp-idf!5701
2019-08-12 12:45:11 +08:00
Angus Gratton
4fe74b8f64
freertos: Rename CORE_ID_PRO/CORE_ID_APP macros to CORE_ID_REGVAL_xxx
...
Old values remain for compatibility.
As suggested in https://github.com/espressif/esp-idf/issues/2567
2019-08-12 11:12:34 +10:00
Angus Gratton
a40e164988
doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different
...
Closes https://github.com/espressif/esp-idf/issues/2567
2019-08-12 11:11:28 +10:00
Angus Gratton
aa3c988c17
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 11:16:33 +10:00
Angus Gratton
caea2889c8
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 11:16:33 +10:00
Sagar Bijwe
b1f657fc65
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called
...
Scenarios where this fix is applicable.
1) Every time the system is powered-on/restarted without calling
esp_wifi_set_config.
2) esp_wifi_init()/connect()/stop()/deinit() is called multiple
times without esp_wifi_set_config.
Closes IDFGH-1520
2019-08-09 16:28:33 +05:30
Konstantin Kondrashov
9a669bfbb9
rmt/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
a418b603d0
pcnt/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
5c560e0cd1
sdmmc_host/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
437228e947
i2s/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
d064cd485c
can/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
c082d13075
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-08-09 17:09:56 +08:00
Renz Christian Bagaporo
e3c236d2fe
cmake: fix encrypted project flash arg file generation
2019-08-09 16:35:31 +08:00
Jiang Jiang Jian
2b71eff25f
Merge branch 'bugfix/efuse_write_config' into 'master'
...
efuse: set timing configuration before writing
See merge request espressif/esp-idf!4750
2019-08-09 14:25:45 +08:00
Angus Gratton
d6b641949c
Merge branch 'bugfix/httpd_sess_close' into 'master'
...
httpd_sess_close: Check for session validity before closing
See merge request espressif/esp-idf!5705
2019-08-09 14:20:51 +08:00
Michael (XIAO Xufeng)
d850a0bd1c
esp_attr: add flag_attr to support enums used as flags
2019-08-09 13:46:32 +08:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Michael (XIAO Xufeng)
feea477023
timer_group: add LL functions for WDT
2019-08-09 13:46:30 +08:00
Michael (XIAO Xufeng)
c02981a99b
timer_group: support interrupt LL and some utility functions in ISR
2019-08-09 13:46:30 +08:00
chenjianqiang
a97fe5615f
feat(timer): refator timer group driver (partly pick)
2019-08-09 13:46:29 +08:00
Michael (XIAO Xufeng)
b413a240cb
esp_attr: support force_inline
2019-08-09 13:46:28 +08:00
Angus Gratton
cb0f724e39
Merge branch 'feature/repl_suppl_crypto_by_mbedtls' into 'master'
...
wpa_supplicant: Port more crypto functions to use mbedtls
Closes WIFI-1590
See merge request espressif/esp-idf!5684
2019-08-09 12:52:03 +08:00
Renz Christian Bagaporo
4dd2b9edb1
components: fix incorrect include dir args
2019-08-09 08:40:17 +08:00
Michael (XIAO Xufeng)
e947522f38
esp_flash: improve the comments a bit
2019-08-08 23:18:01 +08:00
Michael (XIAO Xufeng)
e5704ab1a8
esp_flash: fix the set/get write protection functions
...
Add support for get write protection support, fixed the duplicated
set_write_protection link.
All the write_protection check in the top layer are removed. The lower
levels (chip) should ensure to disable write protection before the
operation start.
2019-08-08 23:18:00 +08:00
Mahavir Jain
ab6ad844b1
mbedtls: use errno
instead of SO_ERROR
for getting socket errors
...
As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html
Fixes https://github.com/espressif/esp-azure/issues/51
2019-08-08 12:17:32 +00:00
Angus Gratton
77bd32a503
Merge branch 'bugfix/libsodium_test_timeouts' into 'master'
...
test: Set timeout of libsodium ed25519_convert test to 60s
See merge request espressif/esp-idf!5552
2019-08-08 15:02:51 +08:00
Angus Gratton
c1e3e1cd9a
Merge branch 'bugfix/fix_ledc_clock_select_bug' into 'master'
...
driver(ledc): fixed ledc clock selection bug
See merge request espressif/esp-idf!3612
2019-08-08 13:56:21 +08:00
Angus Gratton
cbb45b4559
Merge branch 'bugfix/config_panic_gdbstub_build_issue' into 'master'
...
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
See merge request espressif/esp-idf!5709
2019-08-08 13:53:40 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
KonstantinKondrashov
24bd75955f
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-08-08 12:38:33 +08:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
14b8ea3b87
Merge branch 'feat/sdio_slave_efuse_default_3v3' into 'master'
...
sdio_slave: updates the document about DAT2 pin, also the version value read from CCCR registers
See merge request espressif/esp-idf!4733
2019-08-08 10:41:14 +08:00
Jiang Jiang Jian
562218d4db
Merge branch 'feature/lwip_prefer_allocate_memory_in_psram' into 'master'
...
Try to allocate some memories in SPIRAM first. If failed, try to allocate in internal RAM then
See merge request espressif/esp-idf!5695
2019-08-07 21:00:14 +08:00
Michael (XIAO Xufeng)
3fd896fe64
sdio_slave: update version read from CCCR to 2.0
2019-08-07 17:10:34 +08:00
Sagar Bijwe
80a5bd8e54
wpa_supplicant: Port more crypto functions to use mbedtls
...
Use mbedtls PBKDF2 and SHA1 for faster calculations during four-way
handshake.
Closes WIFI-1590
2019-08-07 07:23:28 +00:00
morris
1877a9fcd8
Merge branch 'feature/esp32s2beta_rtc_driver' into 'feature/esp32s2beta'
...
Feature/esp32s2beta rtc driver
See merge request espressif/esp-idf!5243
2019-08-07 14:43:17 +08:00
Mahavir Jain
5203a15439
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
...
Fixes https://github.com/espressif/esp-idf/issues/3866
2019-08-07 11:56:13 +05:30
David Cermak
f3d6a34e7d
esp_tls: enable psk verification mode, added mqtt example using psk authentication
2019-08-07 14:27:40 +10:00
fuzhibo
572084821b
add Comment for touchpad
2019-08-07 11:39:17 +08:00
Piyush Shah
c93cab858e
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-08-06 19:31:57 +05:30
kooho
2e8c85d8ff
driver(ledc): fixed ledc clock selection bug.
2019-08-06 16:11:18 +08:00
Mahavir Jain
10c3b42f71
coap: kconfig cleanup, have component specific configuration for common options
2019-08-06 10:37:40 +05:30
Mahavir Jain
852c176a40
coap: add mbedtls in depedency list for CMake build
2019-08-06 10:37:40 +05:30
Jon Shallow
1aaec808da
Add DTLS support to libcoap using MbedTLS
...
This update supports DTLS, TLS is a future TODO
components/coap/CMakeLists.txt:
components/coap/component.mk:
Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c
components/coap/libcoap:
Update the version to include the current version for supporting MbedTLS
components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:
New port files for DTLS
components/coap/port/include/coap_config_posix.h:
Include building with MbedTLS
examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:
Update CoAP client to support DTLS
examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key
New PKI Certs for CoAP client (copied from wpa2_enterprise example)
examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:
Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion
examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key
New PKI Certs for CoAP server (copied from wpa2_enterprise example)
Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379
2019-08-06 10:37:40 +05:30
Angus Gratton
39f090a4f1
Merge branch 'deprecate/spi_common_claim_macros' into 'master'
...
spi_common: remove deprecated spi_common_periph_claim macros
See merge request espressif/esp-idf!5677
2019-08-06 11:16:17 +08:00
xueyunfei
40e808c63b
Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then
2019-08-06 10:23:27 +08:00
Jiang Jiang Jian
2d36e42b5f
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master'
...
wifi: fix wifi bugs for authmode and multi ssid
Closes WIFI-558, WIFI-560, WIFI-449, WIFI-567, and WIFI-597
See merge request espressif/esp-idf!5387
2019-08-05 21:18:27 +08:00
Michael (XIAO Xufeng)
26fc858ea4
spi_common: remove deprecated spi_common_periph_claim macros
2019-08-05 09:26:47 +00:00
Roland Dobai
2211039b6d
docs: Correct and extend the documentation about VFS select()
2019-08-05 11:17:43 +02:00
Roland Dobai
91ce5db172
VFS: Support concurrent VFS select calls
...
Closes https://github.com/espressif/esp-idf/issues/3392
2019-08-05 11:17:41 +02:00
fuzhibo
fbb0687b97
1.update touch driver; 2.update adc/dac driver; 3.add temp sensor driver;
2019-08-05 16:21:18 +08:00
fuzhibo
bf79e9d70a
Driver: gpio and rtcio dirver update
2019-08-05 16:21:18 +08:00
fuzhibo
b055bff580
1.update touch driver; 2.update adc/dac driver; 3.add temp sensor driver;
2019-08-05 16:21:18 +08:00
fuzhibo
83e00cf643
Driver: gpio and rtcio dirver update
2019-08-05 16:21:18 +08:00
kooho
2139ca668d
Update I2S driver for esp32s2beta.
2019-08-05 16:05:16 +08:00
morris
60db9e1a34
Merge branch 'feature/esp32s2beta_pcnt_timer_group_driver' into 'feature/esp32s2beta'
...
Driver(LEDC,PCNT, TIMER_GROUP): Update PCNT,Timer_Group driver for esp32s2beta
See merge request espressif/esp-idf!5239
2019-08-05 15:51:27 +08:00
Angus Gratton
7ef5fa8a0a
Merge branch 'feature/transport_support_der_certs' into 'master'
...
tcp transport ssl DER-support
See merge request espressif/esp-idf!5627
2019-08-05 09:52:08 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Tian Hao
a9dfae66ea
bugfix btdm sleep twice after wakeup request
...
This problem may cause HCI send command timeout.
When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
2019-08-04 07:17:13 +00:00
KonstantinKondrashov
b3575ad012
esp32s2beta: crosscore_int simplify for esp32s2beta
...
Closes: IDF-754
2019-08-03 15:29:02 +08:00
KonstantinKondrashov
f9068a10a9
esp32s2beta: Simplify cpu_start.c remove code linked with CPU1
...
Closes: IDF-840
2019-08-03 15:06:39 +08:00
Hrudaynath Dhabe
d4091f7cda
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2019-08-02 19:18:44 +08:00
David Cermak
25dd5e39af
esp-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats
2019-08-02 09:25:16 +02:00
Henning Fleddermann
546b625433
add _der variants for esp_transport_ssl_set_(client_cert|client_key|cert_data)
...
Signed-off-by: David Cermak <cermak@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3783
2019-08-02 09:25:16 +02:00
Henning Fleddermann
73624e8560
modify comments on esp_tls_cfg, to clarify that other formats besides PEM (such as DER) might be used as well depending on mbedtls-support
...
Signed-off-by: David Cermak <cermak@espressif.com>
2019-08-02 09:25:16 +02:00
zhangyanjiao
02e5266778
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-02 10:22:46 +08:00
zhangyanjiao
9f9d876799
wifi: fix wifi bugs for authmode and multi ssid
2019-08-02 10:22:20 +08:00
zhangyanjiao
017a60a69d
fix the wrong comment in esp_wifi_types.h
2019-08-01 12:24:08 +00:00
Anton Maklakov
ec94ee80f7
Fix a build issue with replacing init_spi_flash() in the host tests
2019-08-01 16:28:56 +07:00
Anton Maklakov
75c0066f93
Fix remaining -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
1beb0869e1
NimBLE: Update submodule to fix -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Michael Zimmermann
c2764f6fe8
mdns: mdns_service_remove_all doesn't take an argument
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Michael Zimmermann
d4c098f5a9
brownout: fix rtc_brownout_isr_handler signature
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Michael Zimmermann
74a459dd3d
make code conform to Wstrict-prototypes
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Angus Gratton
4d97dacf56
Merge branch 'bugfix/fix_i2s_channels_swapped_issue' into 'master'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue
Closes IDFGH-1447
See merge request espressif/esp-idf!5669
2019-08-01 16:53:37 +08:00
redchenjs
ff325e84b6
Bugfix(i2s): fixed i2s left/right channels swapped issue.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
Merges https://github.com/espressif/esp-idf/pull/3717
closes https://github.com/espressif/esp-idf/issues/3399
2019-07-31 17:58:23 +08:00
kooho
f98e7bbccf
Update LEDC, PCNT,Timer_Group driver for esp32s2beta.
2019-07-31 16:03:22 +08:00
Mahavir Jain
15e0a32786
lwip: remove duplicate (and stale) changelog and version files
2019-07-30 16:49:53 +05:30
Angus Gratton
eae6f5a1d6
Merge branch 'feature/esp32s2beta_rmt_driver' into 'feature/esp32s2beta'
...
Driver(RMT): Update RMT driver for esp32s2beta
See merge request espressif/esp-idf!5227
2019-07-30 18:21:59 +08:00
Angus Gratton
aea5561941
Merge branch 'feature/esp32s2beta_update_uart_driver' into 'feature/esp32s2beta'
...
feat(uart): update uart driver for esp32s2beta
See merge request espressif/esp-idf!5257
2019-07-30 18:05:54 +08:00
Ivan Grokhotkov
16b300bd7a
Merge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'
...
docs: fix the bug in wifi doc
Closes IDFGH-1590
See merge request espressif/esp-idf!5647
2019-07-30 09:42:23 +08:00
Angus Gratton
b071fbdd81
Merge branch 'test/rtc_noinit_wdt_test' into 'master'
...
esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset
See merge request espressif/esp-idf!4936
2019-07-30 09:42:15 +08:00
Angus Gratton
8dbe1f024e
Merge branch 'bugfix/pthread_fixes' into 'master'
...
pthread fixes
Closes IDFGH-1437
See merge request espressif/esp-idf!5646
2019-07-30 09:41:31 +08:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Angus Gratton
d005d95119
Merge branch 'bugfix/gpio_intr_enable_bug' into 'master'
...
bugfix(GPIO): Fixed the GPIO interrupt enable bug
Closes IDFGH-495
See merge request espressif/esp-idf!5571
2019-07-30 09:35:42 +08:00
Angus Gratton
6fe853a2c7
Merge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'
...
ws_client: fix double delete issue in ws client initialization
See merge request espressif/esp-idf!5309
2019-07-29 19:25:30 +08:00
Angus Gratton
e9b77d3a69
Merge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'
...
newlib: Move _gettimeofday_r call in clock_gettime
Closes IDFGH-1525
See merge request espressif/esp-idf!5562
2019-07-29 19:25:11 +08:00
Angus Gratton
f0442e744d
Merge branch 'fix/esp_flash_compatible_with_rom' into 'master'
...
esp_flash: fix a compatibility issue working with the ROM
See merge request espressif/esp-idf!5462
2019-07-29 19:18:20 +08:00
kooho
64f81aefae
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core
closes https://github.com/espressif/esp-idf/issues/2808
closes https://github.com/espressif/esp-idf/issues/2845
2019-07-29 11:09:07 +00:00
Ivan Grokhotkov
022223f570
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'
...
sdmmc_io: support to print CIS information
See merge request espressif/esp-idf!5515
2019-07-29 19:05:30 +08:00