Commit graph

13882 commits

Author SHA1 Message Date
Renz Christian Bagaporo
c53ad56515 esp_system: startup flow modifications
Changes the startup flow to the ff:

hardware -> core libraries init  -> other libraries init -> os
init (optional) -> app_main

- hardware init resides in the port layer, and is the entry point

- core libraries init executes init functions of core components

- other libraries init executes init functions of other components (weak
references)

- after other lib is init, the app_main function is called, however,

 an OS can wrap the real call to app_main to init its own stuff, and
 *then* call the real app_main
2020-06-19 18:40:09 +10:00
Renz Christian Bagaporo
0f43a2620d esp_system: component init functions macro
Allows components to declare initialization function, such that the
startup code does not have direct dependency on the component.
2020-06-19 18:40:09 +10:00
Renz Bagaporo
bb5535ca5d esp32, esp32s2: move startup code into esp_system 2020-06-19 18:40:09 +10:00
Renz Christian Bagaporo
62ef63e835 esp32, esp32s2: move clk init functions to esp_system 2020-06-19 18:40:09 +10:00
Renz Bagaporo
39ef904fba soc: introduce hal function for cpu delay 2020-06-19 18:40:09 +10:00
Ivan Grokhotkov
cf155161c4 Merge branch 'feature/higher_level_com_gdb' into 'master'
CI: Use higher-level interaction with GDB in example tests and test apps

Closes IDF-1622

See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
Michael (XIAO Xufeng)
fda166f6bf esp_flash: decrease some of the performance threshold 2020-06-19 15:54:34 +08:00
zhangyanjiao
7cf59a8d18 esp_wifi:
Zhang Yan Jiao authored 1 day ago
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
2020-06-19 14:24:23 +08:00
Jiang Jiang Jian
4288a5978b Merge branch 'bugfix/fix_tx_dma_buffer_issue' into 'master'
esp_wifi: Fix TX DMA buffer issue

See merge request espressif/esp-idf!9046
2020-06-19 14:12:27 +08:00
Wang Ning
27f24a5d06 Add dimensions 2020-06-19 13:04:07 +08:00
Angus Gratton
b3ef89942f Merge branch 'feature/cmake_overriding_components_new_features' into 'master'
CMake: useful features for overriding components

See merge request espressif/esp-idf!8220
2020-06-19 11:56:56 +08:00
Angus Gratton
91d8c26349 Merge branch 'bugfix/fix_16mbit_psram_id_read_error' into 'master'
psram: fix 16mbit psram id read error

See merge request espressif/esp-idf!9083
2020-06-19 11:49:26 +08:00
Ivan Grokhotkov
23a679a7c5 tools: idf_monitor.py: show espcoredump.py error output on failure 2020-06-18 19:08:00 +02:00
Ivan Grokhotkov
50aabfa257 ci: update reference output of test_idf_monitor, minor cleanup 2020-06-18 19:08:00 +02:00
Ivan Grokhotkov
cbd1a95fd0 espcoredump: simplify handling of temporary files 2020-06-18 19:08:00 +02:00
Ivan Grokhotkov
a63f44cfda espcoredump: use pygdbmi for interaction with GDB
IDF now includes pygdbmi package as a dependency, so we can use it
for core dump parsing.
2020-06-18 19:07:59 +02:00
David Cermak
8f0ec8bd50 pppos client: modem netif fix ignoring potential modem-start error
esp-modem netif glue layer implements esp-netif attach callback to setup corresponding driver functions and start the modem. The error code of esp_modem_start_ppp() was ignored and ESP_OK returned in all cases. Fixed by passing esp_modem_start_ppp()'s error code to post_attach callback.

Closes https://github.com/espressif/esp-idf/issues/5430
2020-06-18 16:20:50 +02:00
aleks
30e97e0920 freemodbus: fix memcmp result truncated to 1 byte
Coverity ID: 291158
2020-06-18 12:33:02 +02:00
Mahavir Jain
0578214904 Merge branch 'fix/esp_tls_wolfssl_fix_cert_verify' into 'master'
esp_tls_wolfssl : fix incorrect error message after handshake fails

See merge request espressif/esp-idf!9219
2020-06-18 14:58:28 +08:00
Aditya Patwardhan
ea635c2bba esp_tls_wolfssl: fix incorrect error message after handshake fails 2020-06-18 10:10:40 +05:30
wangcheng
7bad9b77cc components/bt:Fix instant reverse and add ble connect paramter check. 2020-06-18 11:21:46 +08:00
Michael (XIAO Xufeng)
eeeaba4b8e Merge branch 'bugfix/optimize_timer_ut' into 'master'
improve timer unit test case

See merge request espressif/esp-idf!6883
2020-06-18 02:04:43 +08:00
morris
c963440a97 kconfig: fix IDF_ENV_FPGA not found 2020-06-17 21:39:22 +08:00
Ivan Grokhotkov
d1bf7a8743 Merge branch 'feature/retry_download_if_CRC_check_failed' into 'master'
ci: retry download if catched IOError/EOFError

See merge request espressif/esp-idf!9134
2020-06-17 16:03:49 +08:00
Fu Hanxi
23822e2e3f ci: retry download if catched IOError/EOFError 2020-06-17 16:03:49 +08:00
Jiang Jiang Jian
8a5625e14c Merge branch 'bugfix/ble_conn_fail' into 'master'
Fix bugs from coex test

See merge request espressif/esp-idf!9097
2020-06-17 15:06:58 +08:00
xiehang
4eeedf62e1 esp_wifi: Fix TX DMA buffer issue 2020-06-17 14:37:12 +08:00
Jiang Jiang Jian
9f20d4113e Merge branch 'feature/make_tcp_rto_configurable' into 'master'
feat(lw-ip): make LW-IP TCP rto time configurable

Closes WIFI-2389

See merge request espressif/esp-idf!9091
2020-06-17 14:05:32 +08:00
Mahavir Jain
211cbef276 Merge branch 'bugfix/authorization_retries' into 'master'
http_client: Add http methods required for WebDAV and fix for authorization retries

Closes IDFGH-3441 and IDFGH-3445

See merge request espressif/esp-idf!9122
2020-06-17 13:28:54 +08:00
Jiang Jiang Jian
ca8462867d Merge branch 'bugfix/wpa3_ble_coex_issue' into 'master'
Fix WPA3 Auth timeout during BLE coex

See merge request espressif/esp-idf!8732
2020-06-17 13:18:30 +08:00
liminyang
8364bca3f4 docs:perfect 128-bit UUID description
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-17 11:58:41 +08:00
Jiang Jiang Jian
c3e6689777 Merge branch 'bugfix/customer_baidu_int_wdt_master' into 'master'
system: add soft solution for esp32 eco3 live lock issue

See merge request espressif/esp-idf!8968
2020-06-17 11:53:25 +08:00
baohongde
140b696009 components/bt: Fix ble disconnect due to instant of channel map update is too small 2020-06-17 03:52:32 +00:00
baohongde
75ca740d04 Set AFH in time(075dd35)
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 03:52:32 +00:00
baohongde
fd8f2c1a32 components/coex: Fix ble connecting fail in coexist 2020-06-17 03:52:32 +00:00
Nachiket Kukade
b8e8330c61 esp_wifi: Update wifi lib
Fix WPA3 Auth timeout during BLE coex
2020-06-17 11:08:55 +08:00
Jiang Jiang Jian
9ca8c9ffd0 Merge branch 'bugfix/addba_bar_fix' into 'master'
esp_wifi: addba fix and send bar in first ampdu

See merge request espressif/esp-idf!9124
2020-06-17 11:04:59 +08:00
Michael (XIAO Xufeng)
f7fb3e5846 Merge branch 'bugfix/esp32s2_lightsleep_uart_suspend' into 'master'
esp32s2: suspend UART output using XOFF before entering light sleep

Closes WIFI-2248 and WIFI-2249

See merge request espressif/esp-idf!8549
2020-06-17 10:58:06 +08:00
Angus Gratton
b3e77c7ce9 Merge branch 'bugfix/embed_file_symbol_names' into 'master'
cmake: fix C identifier generation from embedded file

See merge request espressif/esp-idf!9078
2020-06-17 07:57:27 +08:00
Ivan Grokhotkov
314d08e53f esp32s2: sleep_modes: remove dependency on driver/uart.h 2020-06-16 18:31:46 +02:00
Ivan Grokhotkov
194353af07 soc: add periph_ll_periph_enabled to clk_gate_ll.h 2020-06-16 18:13:14 +02:00
Ivan Grokhotkov
5b291c032a esp32s2: suspend UART output using XOFF before entering light sleep
Same logic as for the ESP32, except two changes:

* need to set UART_SW_FLOW_CON_EN bit for UART_FORCE_XOFF to take
  effect
* need to check if the peripheral is not clockgated and out of reset
2020-06-16 18:13:14 +02:00
Shubham Kulkarni
d36f5cf020 esp_http_client_example.c: Add fix to clear length of received data in case user_data buffer is passed 2020-06-16 20:48:40 +05:30
Shubham Kulkarni
1bbafb817d esp_http_client: Set user configurable authorization retries
Closes: https://github.com/espressif/esp-idf/issues/5407
2020-06-16 20:48:28 +05:30
Shubham Kulkarni
bcfd2f07ab esp_http_client: Add methods in esp_http_client_method_t required for WebDAV
Closes: https://github.com/espressif/esp-idf/issues/5402
2020-06-16 20:43:06 +05:30
Ivan Grokhotkov
b48cc853fc Merge branch 'bugfix/fix_uart_UT_fail_issue' into 'master'
Bugfix (UART):  fix uart UT test fail issue

See merge request espressif/esp-idf!9146
2020-06-16 22:06:19 +08:00
Jiang Jiang Jian
8c7c3ff899 Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
Bugfix/fix event bug in GAP API

Closes BT-594 and BT-595

See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
yuanjm
533bb3c46d feat(lwip): make LWIP TCP rto time configurable 2020-06-16 13:16:17 +00:00
ChenJianxing
03cca9abf7 esp_wifi: addba fix and send bar in first ampdu 2020-06-16 20:59:54 +08:00
Renz Bagaporo
9950c7f21d ci: add test for component override features 2020-06-16 20:42:47 +08:00