Angus Gratton
61f4be45ec
fatfs: Make host sdkconfig compatible
2020-11-17 22:51:07 +00:00
Angus Gratton
a4fb6c0173
mbedtls: Add missing sha_caps includes
2020-11-17 22:51:07 +00:00
Angus Gratton
6a19590132
esp_wifi: Remove redundant comment
2020-11-17 22:51:07 +00:00
Angus Gratton
b8ebb86352
esp_common: Add JIRA link to esp_efuse_mac_get_custom()
2020-11-17 22:51:07 +00:00
Angus Gratton
c842b7e5d9
Merge branch 'bugfix/add_dma_caps_to_memroy_used_by_async_mcp' into 'master'
...
async_mcp: add DMA capability to allocated memory
Closes IDFCI-234
See merge request espressif/esp-idf!11254
2020-11-18 06:49:50 +08:00
Angus Gratton
bed20c84d7
Merge branch 'bugfix/esp32s2_embedded_flash' into 'master'
...
esp32s2: Fix embedded flash feature flag for ESP32-S2FH16, ESP32-S2FH32
Closes IDFGH-3872
See merge request espressif/esp-idf!11237
2020-11-18 06:27:14 +08:00
fuzhibo
9162f23c2e
bugfix(dac): fix testcase fail for dac
2020-11-17 12:23:12 +00:00
morris
115069386b
async_mcp: add DMA capability to allocated memory
2020-11-17 20:09:14 +08:00
lly
2e13e618b5
ble_mesh: stack: Update connection interval to 15ms
2020-11-17 11:58:23 +00:00
lly
6169636769
ble_mesh: stack: Update connection parameters used by Central
2020-11-17 11:58:23 +00:00
kapil.gupta
27101f9454
wpa_supplicant: Add initial roaming support
...
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.
Followings are added as part of this.
1. Support for sending neighbor report request and provide
the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
(triggered by the APP).
5. Support for bss transition management request and move
to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Angus Gratton
19bf4aea74
esp32s2: Fix embedded flash feature flag for ESP32-S2FH16, ESP32-S2FH32
...
Corrects the output printed by the hello_world example.
Closes https://github.com/espressif/esp-idf/issues/5774
2020-11-17 18:16:25 +11:00
Angus Gratton
202e6c8984
Merge branch 'bugfix/fix_pthread_priority_inheritance' into 'master'
...
pthread: fix the priority inheritance
See merge request espressif/esp-idf!10094
2020-11-17 09:01:58 +08:00
Angus Gratton
6ce34a227e
Merge branch 'feature/fatfs_fast_seek' into 'master'
...
feature/fatfs: enable the usage of fast-seek algorithm
See merge request espressif/esp-idf!9916
2020-11-17 07:17:31 +08:00
Angus Gratton
42a6b61132
Merge branch 'feature/console_repl_on_usb_cdc' into 'master'
...
console repl over usb cdc
Closes IDF-1644
See merge request espressif/esp-idf!8969
2020-11-17 07:14:16 +08:00
David Čermák
ac477ad6b9
Merge branch 'feature/support_w5500_raw_mac' into 'master'
...
eth: support W5500 MAC RAW mode
Closes IDF-1749
See merge request espressif/esp-idf!11050
2020-11-16 19:35:00 +08:00
Jiang Jiang Jian
7abb2f0cbd
Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data' into 'master'
...
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'
Closes IDFGH-1315
See merge request espressif/esp-idf!11072
2020-11-16 19:13:10 +08:00
morris
b7ecccd901
test: fix several test build error
2020-11-16 13:30:49 +08:00
morris
1e905acacf
eth: support W5500 MAC RAW mode
...
W5500 features an Ethernet MAC+PHY, plus a HW SOCKET implementation.
But in IDF, we only use software TCP/IP stack, which means we have
to bypass the HW TCP/IP stack in W5500.
So we enables the MAC RAW mode in W5500.
2020-11-16 13:30:49 +08:00
morris
c5fe158929
doc: fix wrong register description regarding to ethernet SMI
2020-11-16 13:30:49 +08:00
Anton Maklakov
5475a19e13
Merge branch 'bugfix/component_ut_binary_file_path_invalid' into 'master'
...
CI: component_ut: fix esp_netif test path unmatch issue
Closes IDFCI-229
See merge request espressif/esp-idf!11213
2020-11-16 12:08:31 +08:00
Michael (XIAO Xufeng)
14944b181e
Merge branch 'fix/soc_caps_spi_dummy_output_esp32' into 'master'
...
soc_caps.h: remove spi cap that is defined to 0
See merge request espressif/esp-idf!11203
2020-11-16 10:39:27 +08:00
Marius Vikhammer
dcb09bac6a
http_server: adds support for setting websocket subprotocol
...
Adds support for setting support subprotocol per websocket URI
2020-11-13 06:40:51 +00:00
xutao
28ca70cce5
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-13 06:30:11 +00:00
Michael (XIAO Xufeng)
db0fec51e8
Merge branch 'feat/esp_flash_freq_using_divider' into 'master'
...
esp_flash: use divider rather than hard-coded freq in init code
See merge request espressif/esp-idf!10993
2020-11-13 11:43:22 +08:00
Michael (XIAO Xufeng)
7df8e06aff
Merge branch 'bugfix/esp_flash_clear_WLE' into 'master'
...
esp_flash:fix bug about clearing WEL automatically after actions
Closes IDF-2187 and IDF-2188
See merge request espressif/esp-idf!10511
2020-11-13 11:19:44 +08:00
Michael (XIAO Xufeng)
099fca515d
Merge branch 'bugfix/move_crypto_caps' into 'master'
...
SHA/RSA: moved all caps to soc_caps.h
Closes IDF-2300
See merge request espressif/esp-idf!11032
2020-11-13 11:06:44 +08:00
morris
e039a28821
console: support create REPL over USB CDC
2020-11-13 10:51:40 +08:00
Angus Gratton
935e4b4d62
Merge branch 'feature/riscv_arch' into 'master'
...
Add RISC-V support
Closes IDF-2359
See merge request espressif/esp-idf!11140
2020-11-13 07:50:31 +08:00
Angus Gratton
8472f0a6bf
Merge branch 'bugfix/heap_tlsf_overhead_tune' into 'master'
...
heap: reduce the per-pool overhead by tunning TLSF control structure
Closes IDF-2282
See merge request espressif/esp-idf!10907
2020-11-13 04:51:05 +08:00
Renz Bagaporo
4cc6b5571b
esp_system: support riscv panic
2020-11-13 07:49:11 +11:00
Angus Gratton
420aef1ffe
Updates for riscv support
...
* Target components pull in xtensa component directly
* Use CPU HAL where applicable
* Remove unnecessary xtensa headers
* Compilation changes necessary to support non-xtensa gcc types (ie int32_t/uint32_t is no
longer signed/unsigned int).
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Angus Gratton
87e13baaf1
freertos: Add RISC-V port
...
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
David Čermák
d9ee120860
Merge branch 'feature/tcp_transport_error_handle' into 'master'
...
tcp transport: Added error handle to capture common errno
See merge request espressif/esp-idf!9737
2020-11-13 04:36:57 +08:00
Michael (XIAO Xufeng)
caf83b88ba
Merge branch 'feature/bringup_i2c_for_s3' into 'master'
...
I2C: Add support for esp32s3 and add source clock allocator
Closes IDF-2011
See merge request espressif/esp-idf!10923
2020-11-12 22:12:58 +08:00
Michael (XIAO Xufeng)
e7b97fe086
Merge branch 'bugfix/fix_wrong_rmt_channel_signal' into 'master'
...
Bugfix/fix wrong rmt channel signal
See merge request espressif/esp-idf!11194
2020-11-12 21:56:56 +08:00
David Cermak
ce519ee783
tcp_transport: Extend transport error storage for socket error
...
Everytime we report error and log errno, we also capture the actual
errno to an internal storage so that user application can retrieve
its value.
2020-11-12 12:46:22 +00:00
Cao Sen Miao
11188d2143
esp_flash:fix bug about clearing WLE automatically after actions
2020-11-12 16:44:29 +08:00
Angus Gratton
1a35b5ac9b
Merge branch 'feat/esp_flash_yield_refactor' into 'master'
...
esp_flash: refactor to support various type of yield
See merge request espressif/esp-idf!10425
2020-11-12 16:23:02 +08:00
Fu Hanxi
ed6a30a9de
CI: component_ut: fix esp_netif test path unmatch issue
2020-11-12 15:12:56 +08:00
Cao Sen Miao
6eee601cf6
i2c: Add supports on esp32s3
2020-11-12 11:32:45 +08:00
morris
dc227c78e1
rmt: fix wrong signal assign on esp32
2020-11-12 10:31:38 +08:00
morris
deea402cf4
timer: pooling update bit before reading count value
2020-11-12 10:31:38 +08:00
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