Jiang Jiang Jian
63a9054e5b
Merge branch 'bugfix/sha_ownership_v3.1' into 'release/v3.1'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.1)
See merge request idf/esp-idf!4144
2019-01-24 14:08:35 +08:00
Jiang Jiang Jian
9699ec9277
Merge branch 'bugfix/rom_export_functions_v3.1' into 'release/v3.1'
...
esp32, bootloader: fix issues related to linking order (backport v3.1)
See merge request idf/esp-idf!4135
2019-01-23 21:58:58 +08:00
Jiang Jiang Jian
15ac1d40fa
Merge branch 'bugfix/vfs_unregister_nested_v3.1' into 'release/v3.1'
...
vfs: fix unregister removing top level VFS instead of nested (backport v3.1)
See merge request idf/esp-idf!4136
2019-01-23 21:54:04 +08:00
Jiang Jiang Jian
8f4ec72a0f
Merge branch 'bugfix/init_memctl_v3.1' into 'release/v3.1'
...
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.1)
See merge request idf/esp-idf!4133
2019-01-23 21:44:11 +08:00
Angus Gratton
02668b62e8
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 18:18:38 +08:00
Angus Gratton
36b65c8498
hwcrypto sha: Allow SHA contexts to be shared between tasks
...
Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.
Replace with binary semaphore which can be shared between tasks.
Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).
2019-01-23 18:18:38 +08:00
Ivan Grokhotkov
1d0df04579
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2019-01-23 16:28:09 +08:00
Ivan Grokhotkov
50d4ffd22e
esp32: remove ROM functions redefined in IDF from LD script
...
In some cases, linker could choose to use ROM functions instead of the
ones defined in IDF.
For functions used in ROM stub table, this would lead to infinite
recursion when the corresponding function was called from ROM.
For crypto functions, some of these were modified in IDF, and
incompatible with ROM counterparts.
2019-01-23 16:26:14 +08:00
Ivan Grokhotkov
9845219a5f
bootloader_support: exclude bootloader_init.c when building app
...
Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.
2019-01-23 16:26:14 +08:00
Ivan Grokhotkov
b4939b1121
bootloader, esp32: add workaround for Tensilica erratum 572
...
If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.
2019-01-23 16:23:08 +08:00
Jiang Jiang Jian
8c1d9e70b5
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.1' into 'release/v3.1'
...
esp32: fix invalid channel state information(CSI) data index (backport v3.1)
See merge request idf/esp-idf!4130
2019-01-23 16:08:02 +08:00
XiaXiaotian
e444a31e79
esp32: fix invalid channel state information(CSI) data index
...
Due to a hardware limitation in ESP32, the first four bytes of some
CSI data is invalid, not the last four bytes.
Correct a mistake of CSI sub-carrier index in documentation.
2019-01-22 20:43:36 +08:00
Jiang Jiang Jian
570e32915a
Merge branch 'bugfix/phy_rtc_cache_disabled_v3.1' into 'release/v3.1'
...
Fix PHY/RTC functions called in ISR, but stored in flash
See merge request idf/esp-idf!4113
2019-01-18 10:54:11 +08:00
Tian Hao
8ad6ba2436
Fix some bugs in phy
...
1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. fix task watchdog bug when wifi change channel
4. disable/enable agc to mac deinit/init
5. add UnitTest Job
2019-01-16 22:23:04 +08:00
Jiang Jiang Jian
7fe18ef334
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.1' into 'release/v3.1'
...
esp32: fix the incorrect tx complete state issue (backport v3.1)
See merge request idf/esp-idf!4106
2019-01-12 19:57:40 +08:00
jack
126ade78d4
esp32: fix the incorrect tx complete state issue
2019-01-12 15:38:30 +08:00
Jiang Jiang Jian
608986cd4f
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.1' into 'release/v3.1'
...
esp32: fix wrongly deleting hardware BA index bug (backport v3.1)
See merge request idf/esp-idf!4103
2019-01-12 13:56:40 +08:00
Liu Zhi Fu
fe05db83f1
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 16:48:58 +08:00
Ivan Grokhotkov
d1936acf43
Merge branch 'bugfix/idf_monitor_without_toolchain_v3.1' into 'release/v3.1'
...
tools: Print useful error message from idf_monitor when toolchain isn't available (backport v3.1)
See merge request idf/esp-idf!3948
2019-01-11 15:43:18 +08:00
Ivan Grokhotkov
7ce22b11bf
Merge branch 'bugfix/mdns_udp_send_protected_backport3.1' into 'release/v3.1'
...
mdns networking udp send protected (Backport 3.1)
See merge request idf/esp-idf!4021
2019-01-11 15:36:57 +08:00
Ivan Grokhotkov
b917fbe914
Merge branch 'bugfix/mdns_query_failed_after_init_v3.1' into 'release/v3.1'
...
Fixed: mdns query failed after init (Backport v3.1)
See merge request idf/esp-idf!3730
2019-01-11 11:26:28 +08:00
Ivan Grokhotkov
beb80ffeeb
Merge branch 'bugfix/mdns_crash_when_query_backport3.1' into 'release/v3.1'
...
mdns crash when query (backport 3.1)
See merge request idf/esp-idf!4019
2019-01-11 11:26:02 +08:00
Jiang Jiang Jian
fc6235c190
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.1' into 'release/v3.1'
...
esp32: do defragmentation only for data and management frame (backport v3.1)
See merge request idf/esp-idf!4091
2019-01-11 10:36:22 +08:00
XiaXiaotian
92a27d642b
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-10 14:07:11 +08:00
Jiang Jiang Jian
9bc10d9eda
Merge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.1' into 'release/v3.1'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream (backport v3.1)
See merge request idf/esp-idf!4035
2019-01-09 17:06:11 +08:00
Jiang Jiang Jian
357239a20c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1)
See merge request idf/esp-idf!3956
2019-01-09 13:57:07 +08:00
Jiang Jiang Jian
014b3c639f
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.1' into 'release/v3.1'
...
Component/bt: fix save keys when auth mode without bond (backport v3.1)
See merge request idf/esp-idf!3958
2019-01-09 13:56:28 +08:00
Jiang Jiang Jian
505663cd6b
Merge branch 'feature/illegal_instruction_panic_info_v3.1' into 'release/v3.1'
...
panic: dump some instruction memory on IllegalInstruction exception (backport v3.1)
See merge request idf/esp-idf!3959
2019-01-09 13:55:48 +08:00
Jiang Jiang Jian
2dc384198d
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.1' into 'release/v3.1'
...
Bugfix/btdm modem sleep cowork with dfs for v3.1(backport v3.1)
See merge request idf/esp-idf!3964
2019-01-09 13:53:28 +08:00
Jiang Jiang Jian
e1dcd81c18
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.1' into 'release/v3.1'
...
components/bt: Fix two bugs about pairing(backport 3.1)
See merge request idf/esp-idf!3996
2019-01-09 13:51:07 +08:00
Jiang Jiang Jian
9f653a9d9f
Merge branch 'bugfix/ota_magic_byte_issue_v3.1' into 'release/v3.1'
...
Bugfix/ota magic byte issue v3.1 (backport v3.1)
See merge request idf/esp-idf!4003
2019-01-09 12:00:57 +08:00
Jiang Jiang Jian
b0c389c450
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.1' into 'release/v3.1'
...
fix mbox thread-safe issue (backport v3.1)
See merge request idf/esp-idf!4006
2019-01-09 11:23:21 +08:00
Jiang Jiang Jian
faeb15e1ec
Merge branch 'bugfix/ignore_windows_conf_tools_v31' into 'release/v3.1'
...
gitignore: Add mconf-idf.exe and conf-idf.exe (v3.1)
See merge request idf/esp-idf!4070
2019-01-09 11:21:39 +08:00
Jiang Jiang Jian
cbd1e9fa35
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.1' into 'release/v3.1'
...
driver(uart): fixed uart read error bug when using dual core (backport v3.1)
See merge request idf/esp-idf!3814
2019-01-09 11:01:27 +08:00
Jiang Jiang Jian
e105d23b51
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.1' into 'release/v3.1'
...
test: add test case to receive ds2ds packet (backport v3.1)
See merge request idf/esp-idf!3850
2019-01-09 10:57:26 +08:00
Jiang Jiang Jian
6cc626ab99
Merge branch 'bugfix/uart_select_buffer_v3.1' into 'release/v3.1'
...
VFS: select() on UART should return immediately when data is buffered (backport v3.1)
See merge request idf/esp-idf!3830
2019-01-09 10:54:16 +08:00
Jiang Jiang Jian
e70fc19384
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.1' into 'release/v3.1'
...
Component/bt: fix accept specified sec auth error(backport V3.1)
See merge request idf/esp-idf!3837
2019-01-09 10:37:19 +08:00
Jiang Jiang Jian
935501896d
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.1' into 'release/v3.1'
...
Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.1)
See merge request idf/esp-idf!3943
2019-01-09 10:35:05 +08:00
Jiang Jiang Jian
e690cfcbd7
Merge branch 'bugfix/bbpll_wakeup_reset_v3.1' into 'release/v3.1'
...
BBPLL reset fixes (backport v3.1)
See merge request idf/esp-idf!4013
2019-01-09 10:31:50 +08:00
XiaXiaotian
6f582fe71d
esp32: unforce wifi if receiving beacon with no data buffered in dream
...
state and reduce force receiving broadcast data time
1. If receiving beacon which indicates that there is no data
buffered, do not force to receive WiFi data.
2. If receiving beacon which indicates that there is broadcast data
buffered, reduce the time to force receiving broadcast data.
2019-01-07 16:44:49 +08:00
Wu Jian Gang
7116547ebf
Merge branch 'bugfix/fix_the_country_code_bug_v3.1' into 'release/v3.1'
...
wifi: fix the bug that STA can scan the channel out of the country regdomain range (backport v3.1)
See merge request idf/esp-idf!4064
2019-01-04 11:57:53 +08:00
Angus Gratton
df53422cad
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2019-01-04 10:08:58 +11:00
zhangyanjiao
014b6ba44a
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-03 18:11:43 +08:00
Liu Zhi Fu
a663c61427
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-02 23:06:24 +08:00
Angus Gratton
ed1304146b
Merge branch 'bugfix/timer_delete_dispatch_race_v3.1' into 'release/v3.1'
...
esp_timer: do not allow deleting timers while callbacks are dispatched (backport v3.1)
See merge request idf/esp-idf!3993
2019-01-02 20:42:45 +08:00
Ivan Grokhotkov
1937bc2bd7
esp_timer: do not allow deleting timers while callbacks are dispatched
...
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.
To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-02 20:01:26 +11:00
Konstantin Kondrashov
1255be4e3e
newlib: Fix UT adjtime
2018-12-28 09:56:15 +08:00
Angus Gratton
3e7a5b144a
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-12-28 09:56:15 +08:00
Ivan Grokhotkov
763c2cc188
spiffs: increase timeout in readdir test
...
Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.
2018-12-28 09:56:15 +08:00
Ivan Grokhotkov
7ca260554f
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-12-28 09:56:15 +08:00