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
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