Commit Graph

7023 Commits

Author SHA1 Message Date
Tian Hao
84fccb592d 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-09 12:55:05 +08:00
He Yin Ling
015021d57e CI: try to use the correct branch of other projects used in CI:
1. revision defined in bot message
2. branch name (or tag name) of current IDF
3. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
4. branch name parsed from `git describe`
5. default branch
2019-12-03 17:04:39 +11:00
weitianhua
a760a14e2a adaptation for nano-format 2019-11-29 18:00:36 +08:00
baohongde
10fd8a09c7 components/bt: Fix AVRC metadata length error 2019-11-29 16:04:20 +08:00
weitianhua
d8339602d9 component_bt/:bugfix_hfp_client_indication_define_and_cnum_error 2019-11-27 17:09:36 +08:00
weitianhua
6cb0dbe54a component_bt/: Fix pointer type in fixed_queue 3.1 2019-11-27 16:22:47 +08:00
Jiang Jiang Jian
efa1d4d133 Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.1' into 'release/v3.1'
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.1)

See merge request espressif/esp-idf!6766
2019-11-25 10:47:59 +08:00
Angus Gratton
07fa97b94c Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.1' into 'release/v3.1'
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.1)

See merge request espressif/esp-idf!6606
2019-11-21 11:58:57 +08:00
Angus Gratton
462c49d646 Merge branch 'bugfix/rtc_wdt_feed' into 'release/v3.1'
esp32: Fix a wrong reset of the wdt feed bit

See merge request espressif/esp-idf!6751
2019-11-21 11:49:40 +08:00
KonstantinKondrashov
caea2e34a4 ci: Add test configs for 32kHz crystals 2019-11-20 16:19:57 +08:00
KonstantinKondrashov
cffeb16104 soc/esp32: Add test_env for 32kHz XTAL unit tests 2019-11-20 16:19:57 +08:00
Jack
4de860ec89 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-19 23:00:15 +08:00
KonstantinKondrashov
be24e32da9 esp32: Fix a wrong reset of the wdt feed bit
There was an error with wrong using FEED:
WRITE_PERI_REG(RTC_CNTL_WDTFEED_REG, 1) - wrong [0 bit]
REG_SET_BIT(RTC_CNTL_WDTFEED_REG, RTC_CNTL_WDT_FEED) - right. [31 bit]

Closes: https://github.com/espressif/esp-idf/issues/4295
2019-11-19 12:59:41 +08:00
baohongde
26550d1cf2 components/bt: Disable some unsupported security mask 2019-11-17 13:57:46 +08:00
Jiang Jiang Jian
a87e533ba8 Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.1' into 'release/v3.1'
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.1)

See merge request espressif/esp-idf!6695
2019-11-14 19:26:41 +08:00
zhangyanjiao
4943500058 espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled. 2019-11-13 18:01:41 +08:00
baohongde
83a9fd42e0 backport release/v3.1 1028
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2019-11-04 10:32:28 +08:00
Jiang Jiang Jian
8cbe713ab8 Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.1' into 'release/v3.1'
components/bt: Fix assert when deinit A2DP while playing music

See merge request espressif/esp-idf!6538
2019-11-01 11:57:27 +08:00
Jiang Jiang Jian
dbdde2ec8c Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.1' into 'release/v3.1'
mdns: fix crash for hostname queries (backport v3.1)

See merge request espressif/esp-idf!6500
2019-10-30 00:52:04 +08:00
baohongde
1aed045de7 components/bt: Fix assert when deinit A2DP while playing music 2019-10-29 20:13:17 +08:00
Jiang Jiang Jian
11f15798f9 Merge branch 'bugfix/btdm_disable_bt_gatt_v3.1' into 'release/v3.1'
components/bt: Disable BR/EDR GATT

See merge request espressif/esp-idf!6509
2019-10-29 18:16:31 +08:00
baohongde
171489153d components/bt: Disable BR/EDR GATT 2019-10-28 11:41:45 +08:00
Marius Vikhammer
f786a25b36 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-28 10:52:39 +08:00
Jiang Jiang Jian
23f45235de Merge branch 'feature/esptool_v2.8_v3.1' into 'release/v3.1'
esptool: Bump to v2.8 release (v3.1)

See merge request espressif/esp-idf!6463
2019-10-25 11:35:22 +08:00
Angus Gratton
a302c3fc68 Merge branch 'bugfix/select_with_sdmmc_mount_v3.1' into 'release/v3.1'
VFS: Fix bug which occurs when driver is installed during a select() call (v3.1)

See merge request espressif/esp-idf!6432
2019-10-24 11:26:49 +08:00
Angus Gratton
9abba6b1fe esptool: Bump to v2.8 release 2019-10-23 09:09:29 +11:00
Roland Dobai
6e25e6a991 VFS: Fix bug which occurs when driver is installed during a select() call
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 08:23:31 +02:00
Jiang Jiang Jian
0c7e7817cb Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.1' into 'release/v3.1'
esp32: fix some WiFi fixes 1009 (backport v3.1)

See merge request espressif/esp-idf!6297
2019-10-21 20:08:32 +08:00
Jiang Jiang Jian
2981e2e95f Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode_v3.1' into 'release/v3.1'
ethernet: add kconfig help for GPIO0 output mode (v3.1)

See merge request espressif/esp-idf!6344
2019-10-21 10:46:53 +08:00
Jiang Jiang Jian
0fc8a5214f Merge branch 'docs/update_bootloader_chip_revision_print_v3.1' into 'release/v3.1'
bootloader_support: fix logging prints around chip revision (v3.1)

See merge request espressif/esp-idf!6339
2019-10-21 10:46:37 +08:00
Jiang Jiang Jian
15e2bfd250 Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.1' into 'release/v3.1'
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.1)

See merge request espressif/esp-idf!6396
2019-10-21 10:43:10 +08:00
Jiang Jiang Jian
e46b00991d Merge branch 'bugfix/pm_isr_exit_lock_v3.1' into 'release/v3.1'
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.1)

See merge request espressif/esp-idf!6409
2019-10-21 10:43:00 +08:00
Ivan Grokhotkov
84d16f970e pm: prevent interrupt nesting during esp_pm_impl_isr_hook
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.

Closes https://github.com/espressif/esp-idf/issues/3057
2019-10-18 11:33:06 +02:00
Roland Dobai
c934e026b5 Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:28:49 +02:00
Mahavir Jain
0d85e9abbe bootloader_support: fix logging prints around chip revision 2019-10-18 11:18:08 +05:30
Ivan Grokhotkov
d91272f280 Merge branch 'refactor/shrink_bootloader_bin_size_3.1' into 'release/v3.1'
bootloader: shrink bin size (v3.1)

See merge request espressif/esp-idf!6305
2019-10-18 13:40:15 +08:00
Angus Gratton
07bcc8c055 Merge branch 'bugfix/reset_periph_modules_v3.1' into 'release/v3.1'
driver: Add a reset before enabling if a module is off (v3.1)

See merge request espressif/esp-idf!6018
2019-10-18 13:33:17 +08:00
suda-morris
89d71691d6 ethernet: add kconfig help for GPIO0 output mode
1. add kconfig help for GPIO0 output mode
2. fix wrong LAN8720 register index
2019-10-17 08:10:06 +00:00
Jiang Jiang Jian
1c89a6c4db Merge branch 'bugfix/alt_exit_idf_monitor_v3.1' into 'release/v3.1'
idf_monitor: Exit with CTRL+X in menu (v3.1)

See merge request espressif/esp-idf!6293
2019-10-14 21:46:07 +08:00
liu zhifu
907878d606 esp32: fix some WiFi fixes
Fix following wifi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix the bug that WiFi stop leads to task watchdog
7. Fix smartconfig IPC crash
8. Fix 5.5M signal test bug
9. Move wifi library check to esp32-wifi-lib ci
2019-10-12 10:18:13 +08:00
Konstantin Kondrashov
1145b0414f rmt/driver: Add module reset before enabling 2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
2d08f86958 pcnt/driver: Add module reset before enabling 2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
aeda8e0c8f sdmmc_host/driver: Add module reset before enabling 2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
89d549c8a4 i2s/driver: Add module reset before enabling 2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
61be3bd1a5 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-10-11 19:45:08 +08:00
suda-morris
fd9f46a645 bootloader: shrink bin size
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-10 12:28:39 +08:00
Angus Gratton
f09dc866f8 Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.1' into 'release/v3.1'
freertos: remove semicolon in xTaskNotifyGive (v3.1)

See merge request espressif/esp-idf!6272
2019-10-10 11:25:55 +08:00
Angus Gratton
42739580e4 Merge branch 'feature/add_psram_workaround_option_3.1' into 'release/v3.1'
make psram workaround depend on chip revison (v3.1)

See merge request espressif/esp-idf!6210
2019-10-10 11:00:56 +08:00
Per-Olov Jernberg
6a3e623b52 idf_monitor: Exit with CTRL+X in menu
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.

This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.

Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-09 11:01:45 +02:00
Jiang Jiang Jian
35f3554109 Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.1' into 'release/v3.1'
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)

See merge request espressif/esp-idf!6258
2019-10-09 16:15:47 +08:00