Angus Gratton
27a9cf861e
driver: Add esp32c3 drivers (except ADC/DAC) and update tests
...
Some ESP32-C3 drivers are still pending.
Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Jiang Jiang Jian
fcfb7cea4a
Merge branch 'bugfix/sync_baidu_fix_to_master' into 'master'
...
esp_wifi: Sync baidu fix to master
See merge request espressif/esp-idf!11188
2020-12-22 22:10:41 +08:00
Mahavir Jain
96288d82d4
Merge branch 'bugfix/build_issue_with_rtc_gpio_desc_configuration' into 'master'
...
Fix build issue with rtc gpio desc configuration
Closes IDFGH-4470 and IDFGH-4167
See merge request espressif/esp-idf!11699
2020-12-22 21:04:24 +08:00
Marius Vikhammer
0a95151a75
unit_test: Refactor all performance tests that rely on cache compensated timer
...
There is no ccomp timer on C3, which means our performance tests will start
failing again due to variance caused by cache misses.
This MR adds TEST_PERFORMANCE_CCOMP_ macro that will only fail
performance test if CCOMP timer is supported on the target
2020-12-22 18:56:24 +11:00
xiehang
32dd739da4
esp_wifi: Update wifi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
2020-12-22 15:48:24 +08:00
Michael (XIAO Xufeng)
ad6ed3fd2e
mmap: fixed the issue mmap cannot be called with pointers to psram
2020-12-22 13:42:42 +08:00
Michael (XIAO Xufeng)
7f3e61cf63
esp_flash: add support for external flash on C3
2020-12-22 13:31:04 +08:00
ronghulin
b4e4fd7a67
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2020-12-22 11:51:13 +08:00
Island
7ed95d13b1
Merge branch 'feat/ble_mesh_support_ble_scan' into 'master'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled
Closes BLEMESH-252
See merge request espressif/esp-idf!10918
2020-12-22 10:46:59 +08:00
Jiang Jiang Jian
f13ace5253
Merge branch 'bugfix/wifi_bugs_fixes' into 'master'
...
esp_wifi: Fix some wifi bugs.
Closes WIFI-3105, WIFI-3166, and WIFI-3174
See merge request espressif/esp-idf!11651
2020-12-21 23:41:51 +08:00
Mahavir Jain
953418dbb4
Merge branch 'bugfix/missing_coreinfo_in_vtasklist' into 'master'
...
freertos: Fix missing affinity info in vTaskList
Closes IDFGH-4239 and IDFGH-4241
See merge request espressif/esp-idf!11606
2020-12-21 19:43:40 +08:00
lly
ac93a38990
ble_mesh: stack: Support reporting normal ble adv packets
2020-12-21 09:08:25 +00:00
lly
a6ebe48e6e
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2020-12-21 09:08:25 +00:00
lly
1bb3f693d5
ble_mesh: stack: Move ble scan funcitons to a single file
2020-12-21 09:08:25 +00:00
lly
9be0120d94
ble_mesh: stack: Optimize handling received mesh adv packets
2020-12-21 09:08:25 +00:00
kapil.gupta
903198ad7f
esp_wifi: Fix some wifi bugs.
...
1. Send encrypted mgmt frames in pmf connection
2. Remove dependecy of SHA256 AKM on PMF
3. Fix null pointer dereference
4. Set TTLS default phase2 method as MSCHAPV2.
2020-12-21 14:27:10 +05:30
boarchuz
06d6146445
fix rtc_gpio_desc_t compilation error
...
Closes https://github.com/espressif/esp-idf/pull/6029
Closes https://github.com/espressif/esp-idf/issues/6301
Closes IDFGH-4470
Closes IDFGH-4167
2020-12-21 13:54:52 +05:30
Angus Gratton
778b54bbcb
Merge branch 'bugfix/correct_logging_timestamp_format' into 'master'
...
log: correct timestamp formatting to unsigned integer type
Closes IDFGH-4393
See merge request espressif/esp-idf!11605
2020-12-21 15:08:30 +08:00
Supreet Deshpande
c4cf6d6d26
Secure boot v2: Fixes the issue of passing the flash calculated digest for ota verification.
2020-12-21 11:32:37 +05:30
Supreet Deshpande
e517b4953f
Secure Boot v2: Fix the double padding of the image length during flash encryption
...
Fixes https://github.com/espressif/esp-idf/issues/6236
2020-12-21 11:32:37 +05:30
Mahavir Jain
ec4de5bd38
Merge branch 'feature/upgrade_mbedtls_to_v2.16.9' into 'master'
...
mbedtls: upgrade to v2.16.9 release
See merge request espressif/esp-idf!11596
2020-12-21 13:09:38 +08:00
Jiang Jiang Jian
21e6706e07
Merge branch 'feature/support_esp32c3_wifi' into 'master'
...
esp_wifi: add esp32c3 wifi lib
See merge request espressif/esp-idf!11610
2020-12-21 12:27:33 +08:00
Jiang Jiang Jian
bba4325ce5
Merge branch 'bugfix/btdm_clear_llcp_rsp_timeout_after_reject' into 'master'
...
btdm bugfix: clear the timer after remote reject when respond the parameters update
Closes BCI-101
See merge request espressif/esp-idf!11667
2020-12-21 12:13:32 +08:00
Krzysztof Budzynski
8e4c73b1d1
Merge branch 'bugfix/minor_docs_fixes' into 'master'
...
minor docs fixes
See merge request espressif/esp-idf!11430
2020-12-21 11:31:00 +08:00
Angus Gratton
06bdaba0e8
Merge branch 'tuning/heap_tlsf_sl_tune' into 'master'
...
heap: increase the second level list length to reduce the fragmentation to acceptable level.
See merge request espressif/esp-idf!11668
2020-12-21 08:54:32 +08:00
David Čermák
1b1c42440b
Merge branch 'feature/enable_lwip_checksums' into 'master'
...
lw-IP: Add Kconfig options to enable/disable checksum validation for IP/UDP/ICMP
Closes IDFGH-4349
See merge request espressif/esp-idf!11429
2020-12-19 02:44:47 +08:00
ryan kurte
85083ddc3d
lwip: Added debug config options for DHCP and TCP
2020-12-18 16:38:59 +00:00
ryan kurte
5d91a27a1e
lwip: Added KConfig option to control checksum validation on IP/UDP/ICMP
...
This maintains the current default, but could be swapped if desired
Merges https://github.com/espressif/esp-idf/pull/6187
2020-12-18 16:38:59 +00:00
suren.gabrielyan
f33772c960
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2020-12-18 15:38:30 +00:00
Angus Gratton
c3cc5b17e0
Merge branch 'feature/esp32c3_spi_flash' into 'master'
...
spi_flash: Add esp32c3 support
Closes IDF-2362
See merge request espressif/esp-idf!11639
2020-12-18 14:02:04 +08:00
Krzysztof Budzynski
3474daecb1
Merge branch 'bugfix/doxygen_warnings' into 'master'
...
Docs: fix doxygen warnings
See merge request espressif/esp-idf!11643
2020-12-18 13:44:07 +08:00
Angus Gratton
3b37c87535
Merge branch 'bugfix/delete_gdbstub_h' into 'master'
...
esp_system: remove remaining use of old gdbstub header
Closes IDFGH-4444
See merge request espressif/esp-idf!10717
2020-12-18 13:03:24 +08:00
Renz Bagaporo
32dc37fbe8
esp_system: remove remaining use of old gdbstub header
...
Closes https://github.com/espressif/esp-idf/issues/6274
2020-12-18 09:32:24 +08:00
Felipe Neves
89d461df2a
heap: increase the sl to reduce the fragmentation to acceptable level.
2020-12-17 12:52:56 -03:00
gengyuchao
247484c454
bugfix: clear the timer after remote reject when respond the parameters update
2020-12-17 22:19:44 +08:00
Mahavir Jain
b85c534130
mbedtls: upgrade to v2.16.9 release
...
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2020-12-17 14:15:41 +05:30
Angus Gratton
06ec032c0c
spi_flash: Simplify init-time size check
2020-12-17 15:34:13 +11:00
Cao Sen Miao
0736c91d68
soc: Remove cache constants from soc.h
2020-12-17 15:34:13 +11:00
Angus Gratton
d4c9a45675
spi_flash: Add ESP32-C3 support
...
Based on internal commit 3ef01301fff
2020-12-17 15:34:13 +11:00
wangcheng
386a8e37f1
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-17 10:57:54 +08:00
wangcheng
cc7dbc6177
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-17 10:54:56 +08:00
Jiang Jiang Jian
c2364e133d
Merge branch 'bugfix/free_acl_rx_buf_in_em' into 'master'
...
Free ACL RX Buf in EM when disconnection
Closes BT-1083 and BT-1152
See merge request espressif/esp-idf!11590
2020-12-16 18:02:44 +08:00
Wei Tian Hua
6b7c878581
Free ACL RX Buf in EM when disconnection
2020-12-16 18:02:39 +08:00
Ivan Grokhotkov
792dc6ebb8
Merge branch 'feature/linux_target' into 'master'
...
build system: Add Linux target
Closes IDF-2145
See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
Marius Vikhammer
dc0e80a4c8
Docs: fix doxygen warnings
2020-12-16 14:37:14 +08:00
Jakob Hasse
7b223c3337
NVS: fix string comparison
...
Closes IDF-2476
2020-12-16 13:53:17 +08:00
Ivan Grokhotkov
25a4a61665
Merge branch 'bugfix/nvs_coverage_script' into 'master'
...
NVS: fixed coverage-report target in Makefile
See merge request espressif/esp-idf!11218
2020-12-16 00:30:07 +08:00
Ivan Grokhotkov
632a33cef8
Merge branch 'fix/nvs_flash_api_docs' into 'master'
...
nvs_flash: fix nvs initialization API documentation
See merge request espressif/esp-idf!11621
2020-12-15 19:56:55 +08:00
Ivan Grokhotkov
829d94ad01
Merge branch 'fix/rtc_fast_memory_force_on_in_use_for_heap' into 'master'
...
fix: RTC_FAST_MEM always power on if used for heap
See merge request espressif/esp-idf!11555
2020-12-15 18:45:20 +08:00
ChenJianxing
1ffb12e6fd
esp_wifi: add esp32c3 wifi lib
2020-12-15 17:13:10 +08:00
Anton Maklakov
df544dee30
tools: Redirect some warnings to stderr
2020-12-15 12:41:20 +07:00
Aditya Patwardhan
163d5f314a
nvs_flash: fix nvs initialization API documentation
2020-12-15 08:11:49 +05:30
Axel Lin
29b6b0ce0d
freertos: Fix missing affinity info in vTaskList
...
Show affinity info if CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID is set.
Closes https://github.com/espressif/esp-idf/pull/6099
Closes https://github.com/espressif/esp-idf/issues/6097
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2020-12-14 16:50:07 +05:30
Jakob Hasse
00819a3022
NVS flash: host-based unit test of nvs::Page
...
* General tests like page loading from flash
* Rough test of fixed-size data types
* Rough test of blob read
* Added coverage target in cmake, also accessible
via `idf.py coverage`
* Fixed unsigned comparison in comp. enum table
* introducing temporary LINUX_TARGET define
2020-12-14 18:53:14 +08:00
Jakob Hasse
c233ce0449
spi_flash: mocking should be possible now
...
The following three headers will be mockes:
* esp_flash.h
* esp_spi_flash.h
* esp_partition.h
* counter functions live in own header
* add spi_flash sim dir for esp_err.h to Unity
* modified gen_esp_err_to_name.py to ignore
sim/ dir in spi_flash component
Add cmock .yaml config file
Add spi hal header until soc can mock the hal
layer as well.
2020-12-14 18:53:14 +08:00
Jakob Hasse
52093fa4ef
linux: added linux target
...
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
Mahavir Jain
a46dfd316e
log: correct timestamp formatting to unsigned integer type
...
Closes https://github.com/espressif/esp-idf/issues/6226
Closes IDFGH-4393
2020-12-14 15:03:55 +05:30
Jiang Jiang Jian
a16d1e8f1a
Merge branch 'fixbug/baidu_tcp_recv_assert' into 'master'
...
lw-ip:fixbug/baidu tcp recv assert
Closes WIFI-2802
See merge request espressif/esp-idf!11287
2020-12-14 16:48:24 +08:00
Angus Gratton
7eed079473
Merge branch 'Bugfix/esp_event' into 'master'
...
Bugfix/esp_event fix misuse of recursive semaphore take/give calls for profiling_mutex
Closes IDFGH-4246
See merge request espressif/esp-idf!11454
2020-12-14 16:32:58 +08:00
Ivan Grokhotkov
e0e6194c95
Merge branch 'bugfix/coredump_plain_partition_on_encrypted_flash' into 'master'
...
coredump: Core dump is encrypted if the partition itself is encrypted
Closes IDF-458
See merge request espressif/esp-idf!11424
2020-12-14 15:40:05 +08:00
Michael (XIAO Xufeng)
40b08e33c9
Merge branch 'bugfix/touch_sensor_reading_error_in_light_sleep_process' into 'master'
...
driver(touch): fix touch sensor false trigger in sleep mode
See merge request espressif/esp-idf!10983
2020-12-14 14:51:51 +08:00
Krzysztof Budzynski
dc73031f7f
Merge branch 'doc/esp_partition_documentation' into 'master'
...
SPI Flash: fix doc error in esp_partition.h
See merge request espressif/esp-idf!10506
2020-12-11 16:36:44 +08:00
Angus Gratton
8929a9cdb1
Merge branch 'feature/aes_hal' into 'master'
...
AES: refactor and add HAL layer
See merge request espressif/esp-idf!10979
2020-12-11 15:39:49 +08:00
Angus Gratton
f50dd23872
Merge branch 'feature/merge_esp32c3_bootloader_support' into 'master'
...
esp32c3: add initial bootloader and target component support
Closes IDF-2435 and IDF-2436
See merge request espressif/esp-idf!11433
2020-12-11 15:36:28 +08:00
Angus Gratton
3e6313ffc1
Merge branch 'bugfix/enable_verify_app_test_s2' into 'master'
...
bootloader_support: re-enable S2 unit test
See merge request espressif/esp-idf!11521
2020-12-11 14:36:55 +08:00
morris
c39476d699
esp_rom: added esp_rom_install_uart_printf
2020-12-11 11:45:10 +08:00
morris
3f287800eb
bootloader_support: added esp32-c3 support
2020-12-11 11:45:10 +08:00
morris
8330b2541a
esp32c3: added target component
2020-12-11 11:44:01 +08:00
morris
65aebef596
esp32c3: added 2nd bootloader project linker file
2020-12-11 11:44:01 +08:00
Angus Gratton
7472d76db0
Merge branch 'bugfix/after_ligth_sleep_esp_timer_forms_one_event' into 'master'
...
esp_timer: Add an option skip_unhandled_events
See merge request espressif/esp-idf!10969
2020-12-11 06:04:58 +08:00
fuzhibo
985e94139d
driver(touch): fix touch sensor false trigger in sleep mode
2020-12-10 17:43:14 +08:00
Marius Vikhammer
457ce080ae
AES: refactor and add HAL layer
...
Refactor the AES driver and add HAL, LL and caps.
Add better support for running AES-GCM fully in hardware.
2020-12-10 09:04:47 +00:00
Jakob Hasse
60dfd87e65
SPI Flash: fix doc error in esp_partition.h
2020-12-10 17:03:56 +08:00
Marius Vikhammer
0c3714de1c
bootloader_support: re-enable S2 unit test
...
Re-enable "Verify unit test app image"
2020-12-10 08:04:09 +00:00
fuzhibo
f4aedfd017
fix: RTC_FAST_MEM always power on if used for heap
2020-12-10 14:45:41 +08:00
Michael (XIAO Xufeng)
49022d4d92
Merge branch 'fix/adc_hal_reading_efuse_in_critical' into 'master'
...
adc: fixed efuse called in critical section issue
See merge request espressif/esp-idf!11519
2020-12-10 14:09:09 +08:00
Jakob Hasse
ff03bbce78
NVS: fixed coverage-report target in Makefile
2020-12-10 03:51:16 +00:00
Angus Gratton
e4407468bc
Merge branch 'feature/flash_binary_partition_with_name' into 'master'
...
buildsystem: flash binary to a named partition
Closes IDF-2387
See merge request espressif/esp-idf!11342
2020-12-10 06:24:15 +08:00
Mahavir Jain
1584ccf834
Merge branch 'feature/http_error_code' into 'master'
...
Feature/support 401, 403 response error code for HTTP server
Closes IDFGH-3511
See merge request espressif/esp-idf!11473
2020-12-09 23:45:38 +08:00
liqigan
478cef9b75
fix spp vfs demo crash when use dynamic memory
2020-12-09 19:46:43 +08:00
KonstantinKondrashov
aa96c9a4d8
esp_timer: Add an option to skip unhandled events for periodic timers
...
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08:00
David Čermák
bf294fd1ae
Merge branch 'bugfix/crt_bundle_bad_md' into 'master'
...
esp_crt_bundle: allow weak hash algorithm for trusted certificate
Closes IDFGH-4266
See merge request espressif/esp-idf!11376
2020-12-09 16:16:35 +08:00
Liu Han
669d9820fc
esp_http_server: Add some response error code, such as 401, 403 etc.
...
Closes https://github.com/espressif/esp-idf/issues/5466
2020-12-09 06:22:01 +00:00
Island
4605a8ac80
Merge branch 'optimize/ble_mesh_miscellaneous' into 'master'
...
Optimize/ble mesh miscellaneous
See merge request espressif/esp-idf!11500
2020-12-08 19:35:46 +08:00
Michael (XIAO Xufeng)
04d6b115ae
adc: fixed efuse called in critical section issue
2020-12-08 17:41:49 +08:00
Angus Gratton
c0e0be6ac3
Merge branch 'bugfix/bootloader_dont_trigger_address_decoding' into 'master'
...
bootloader: avoid printing load addresses with '0x'
See merge request espressif/esp-idf!11445
2020-12-08 15:19:58 +08:00
lly
fb531815b0
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2020-12-08 15:13:04 +08:00
lly
19c3f38b36
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2020-12-08 15:13:04 +08:00
lly
b77563abb0
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2020-12-08 15:13:04 +08:00
lly
162e11cff3
ble_mesh: stack: Update ARRAY_SIZE definition
2020-12-08 15:13:04 +08:00
Omar Chebib
02ddecb69f
buildsystem: flash binary to a named partition
...
Changed optional value parameter 'encrypted' to a named parameter
called 'ALWAYS_PLAINTEXT'. This flag can be passed to:
- esptool_py_flash_target
- esptool_py_flash_target_image
Fix wrong identation.
2020-12-08 12:16:02 +08:00
Michael (XIAO Xufeng)
f174cc35a8
Merge branch 'test/disable_sdio_single_core_tests' into 'master'
...
ci: disable some sdio_slave tests on single core config
Closes IDFCI-233 and IDFCI-240
See merge request espressif/esp-idf!11492
2020-12-08 11:48:13 +08:00
Marius Vikhammer
7e0f362149
esp_crt_bundle: add additional unit tests
...
Add unit test for:
* Trusted certificate with weak hash algorithm signature
* Certificate with wrong signature
Merges https://github.com/espressif/esp-idf/pull/6117
2020-12-08 10:11:31 +08:00
Michael (XIAO Xufeng)
85ac572e4a
Merge branch 'bugfix/phy_set_xpd_sar' into 'master'
...
wifi: add set_xpd_sar override
Closes IDFGH-235, IDFGH-1442, IDFGH-1917, IDFGH-2473, and IDFGH-2168
See merge request espressif/esp-idf!7185
2020-12-07 16:09:02 +08:00
Ivan Grokhotkov
4bfa2c937f
Merge branch 'bugfix/nvs_close_nukes_all_handles' into 'master'
...
NVS: fixed deinit other partition's handles
Closes FCS-533
See merge request espressif/esp-idf!10940
2020-12-07 15:57:14 +08:00
Island
4f082154e0
Merge branch 'feat/ble_mesh_multiple_nvs_namespace' into 'master'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces
Closes BLEMESH-260
See merge request espressif/esp-idf!11355
2020-12-07 14:43:04 +08:00
Angus Gratton
3d1d22f1f4
Merge branch 'esp32/include_extram_bss_in_linker_fragment' into 'master'
...
esp32: Provision to redirect .bss to external ram through linker fragments
See merge request espressif/esp-idf!9894
2020-12-07 14:01:21 +08:00
Cao Sen Miao
d6f0b4af6f
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-07 10:45:04 +08:00
Ivan Grokhotkov
d890a516a1
driver: add notes about GPIO36/39 issue (ECO 3.11) workaround
...
Closes IDFGH-1917
Closes https://github.com/espressif/esp-idf/issues/4117
2020-12-07 10:45:04 +08:00
Ivan Grokhotkov
80e7252c13
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2020-12-07 10:45:04 +08:00