Ivan Grokhotkov
e3c8ea00d9
test_apps/panic: apply pre-commit fixes in python scripts
2021-04-22 23:33:46 +02:00
Ivan Grokhotkov
9069f70db3
system: add option to enable undefined behavior sanitizer (UBSAN)
...
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
Ivan Grokhotkov
469c137c83
Merge branch 'bugfix/freertos_linker_lf_fixes' into 'master'
...
freertos: linker.lf rules fixes
See merge request espressif/esp-idf!12130
2021-04-22 21:27:23 +00:00
Darian Leung
2be772af1c
Sphinx uses reredirect extension
...
This commit removes the custom HTML rediiect extension and uses
the sphinx-reredirect extension instead. The sphinx-reredirect
extension allows for redirection to external links as well as
support for wildcards.
2021-04-23 00:02:30 +08:00
Ivan Grokhotkov
cfdfeed973
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-04-22 17:14:46 +02:00
David Cermak
1e674f1d20
esp_eth: Update KSZ8851SNL driver to use global error checkers
...
Also updated KSZ8851SNL per internal code review:
* Removed Link status change interrupt as it's handled with polling
* Added auto negotiation timeout
* Updated typedefs, moved types to appropriate source, updated
components/esp_eth/src/ksz8851.h to use only inherent device types
* Applied IDF code formatting
* Updated header file order to include first the most generic to more
specific
2021-04-22 13:55:51 +00:00
David Cermak
7e6ff47363
Examples: Add basic ethernet example of using ksz8851
2021-04-22 13:55:51 +00:00
Vladimir Chistyakov
c4f131e6ee
esp_eth: Add a KSZ8851SNL SPI Ethernet driver
...
Implement the PHY and MAC layers in the driver similar to
the W5500 driver.
Update Kconfig, CMakeLists.txt, and component.mk to incorporate
the changes.
Resolves : #6542
Merges https://github.com/espressif/esp-idf/pull/6636
Closes https://github.com/espressif/esp-idf/issues/6542
2021-04-22 13:55:51 +00:00
morris
ec898b771e
systimer: strip hal driver
2021-04-22 21:08:39 +08:00
morris
7c1e1c9e2d
systimer: update soc data
2021-04-22 21:07:35 +08:00
morris
7eb9ecb4f6
esp_ds: move timeout mechanism to driver layer
2021-04-22 21:07:35 +08:00
Mahavir Jain
812d61295d
Merge branch 'bugfix/log_arg_in_bootloader_support' into 'master'
...
bootloader_support: Fix min size of OTA partition in error log
See merge request espressif/esp-idf!13288
2021-04-22 12:31:56 +00:00
David Čermák
f14cdd8a31
Merge branch 'test/esp_ssl_example' into 'master'
...
examples: Add esp-ssl example tests server/client
Closes IDF-1156
See merge request espressif/esp-idf!12366
2021-04-22 12:21:20 +00:00
Krzysztof Budzynski
58424ccebf
Merge branch 'bugfix/doc_jtag_c3' into 'master'
...
docs: Update JTAG debugging guides for ESP32-C3
Closes IDF-2133
See merge request espressif/esp-idf!13102
2021-04-22 11:58:34 +00:00
laokaiyao
92670e499c
examples/simple_sniffer: add SPI work mode to SD card to support all chips
2021-04-22 19:52:41 +08:00
Armando
6930d6aa1e
spi_slave_hd: add segment mode example
2021-04-22 19:24:59 +08:00
Darian Leung
2906a25988
Separate USB HAL and common USB types
...
This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
2021-04-22 19:24:48 +08:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
Mahavir Jain
bcc7549802
Merge branch 'bugfix/fix_mbedtls_send_alert_crash' into 'master'
...
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
Closes IDF-2968 and IDFGH-4803
See merge request espressif/esp-idf!12733
2021-04-22 11:00:13 +00:00
yuanjm
93604b1a11
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-22 09:33:59 +00:00
Shubham Patil
c2b0db75e8
bootloader_support: Fix min size of OTA partition in error log
2021-04-22 14:00:42 +05:30
Krzysztof Budzynski
2f8ccd5e3b
Merge branch 'docs/update_CN_trans_buildsystem' into 'master'
...
update CN translation for build-system and linker-script-generation
See merge request espressif/esp-idf!13168
2021-04-22 08:08:38 +00:00
Dai Zi Yan
e91861253f
docs:updated CN tranlation for build-system, ulp, unit-tests, idf-monitor and linker-script-generation
2021-04-22 16:08:31 +08:00
Krzysztof Budzynski
c959335546
Merge branch 'docs/udpate_CN_trans_I2C' into 'master'
...
update CN translation for I2C
See merge request espressif/esp-idf!13194
2021-04-22 08:05:07 +00:00
Dai Zi Yan
4aa52da0c1
update CN translation for I2C
2021-04-22 16:05:01 +08:00
Jiacheng Guo
fd3553b66d
lwip: add config options for Thread IPv6 border routing
2021-04-22 06:13:47 +00:00
Angus Gratton
7cb83c8787
system doc: Re-structure description of MAC addresses, especially on newer chip targets
...
Includes a note about calculating the Ethernet MAC on platforms with no built-in
Ethernet, and removes documentation for esp_efuse_mac_get_custom() on targets
other than ESP32
2021-04-22 16:08:55 +10:00
David Čermák
7f34657013
Merge branch 'feature/ethernet_link_check_esp_timer' into 'master'
...
esp_eth: using esp_timer to check link status
Closes IDFGH-4953
See merge request espressif/esp-idf!13155
2021-04-22 06:08:00 +00:00
Ivan Grokhotkov
08f7ac962c
examples/simple_sniffer: only enable apptrace if JTAG is selected
...
Fixes compilation of this example on esp32c3, where apptrace is not
yet supported.
2021-04-22 11:39:11 +08:00
Angus Gratton
eb38eb670c
system: Return ESP_ERR_NOT_SUPPORTED for esp_read_mac(ESP_MAC_BT, ...) on ESP32-S2
...
Previously this function returned ESP_OK but no MAC was set.
2021-04-22 12:22:46 +10:00
Angus Gratton
c8cb803378
system: Simplify esp_derive_local_mac() function
...
Previously this function included a loop but would never run more
than one iteration of it.
2021-04-22 12:22:46 +10:00
Mahavir Jain
a82466674a
Merge branch 'bugfix/esp_http_client_read' into 'master'
...
Fix esp_http_client_read for file size aligned to 289 bytes
Closes IDFGH-4981
See merge request espressif/esp-idf!13193
2021-04-22 01:48:00 +00:00
wangmengyang
d703424ef7
component/bt: add another bt-lib submodule and refactor the directories
2021-04-22 07:41:46 +08:00
Angus Gratton
f91d6c7a69
Merge branch 'bugfix/tls_threadptr_calculation' into 'master'
...
freertos: fix TLS run-time address calculation
See merge request espressif/esp-idf!13271
2021-04-21 23:13:13 +00:00
David Čermák
10fd0c36a1
Merge branch 'bugfix/spi_eth_example_pin' into 'master'
...
esp_eth: Examples: Extend configurable pins for SPI modules
Closes IDFGH-4372
See merge request espressif/esp-idf!13113
2021-04-21 16:06:13 +00:00
Shubham Kulkarni
691e30e659
advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary
2021-04-21 20:57:58 +05:30
suren.gabrielyan
823abfdfd5
examples: Add esp-ssl example tests server/client
...
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Shubham Kulkarni
b148433fbd
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-21 17:28:54 +05:30
wangmengyang
b81c687327
remove original esp32-bt-lib submodule
2021-04-21 19:51:32 +08:00
Ivan Grokhotkov
0535195983
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-04-21 13:45:21 +02:00
Jiang Jiang Jian
822cdd81ef
Merge branch 'bugfix/correct_cod_check' into 'master'
...
esp-idf: Corrected check of Class of Device for discovered devices
Closes IDF-6548
See merge request espressif/esp-idf!12391
2021-04-21 11:38:31 +00:00
Ivan Grokhotkov
d4e8987a39
Merge branch 'feature/prevent_unwind_code_linking' into 'master'
...
prevent unwind code linking
Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153
See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Wang Meng Yang
81723243cf
Merge branch 'bugfix/ble_timeout_disconnected_no_report' into 'master'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13261
2021-04-21 09:43:33 +00:00
Mahavir Jain
2d472f47b8
Merge branch 'bugfix/enable_wifi_prov_example_c3' into 'master'
...
CI: re-enable wifi prov examples for C3
Closes IDFGH-4712
See merge request espressif/esp-idf!13260
2021-04-21 09:07:49 +00:00
Mahavir Jain
5692868e23
Merge branch 'feature/gatts_in_simple_ota' into 'master'
...
Feature/gatts in advanced https ota example
See merge request espressif/esp-idf!12593
2021-04-21 09:04:49 +00:00
“YangZhao”
1def09cc99
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
morris
0733adab5e
esp_eth: using esp_timer to check link status
2021-04-21 13:08:07 +08:00
morris
537617aec7
esp_eth: support user customized PHY io function
...
Closes https://www.github.com/espressif/esp-idf/issues/6745
2021-04-21 13:08:07 +08:00
morris
c833ec5533
global: remove esp_ssc.h
2021-04-21 13:08:07 +08:00
Mahavir Jain
104830107a
Merge branch 'fix/esp_https_client_compile_warning' into 'master'
...
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Closes IDFGH-5098
See merge request espressif/esp-idf!13192
2021-04-21 04:57:49 +00:00