Commit graph

9227 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
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
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
Aditya Patwardhan ea635c2bba esp_tls_wolfssl: fix incorrect error message after handshake fails 2020-06-18 10:10:40 +05:30
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
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
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
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 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
Jiang Jiang Jian d93b8b2939 Merge branch 'bugfix/blufi_buffer_overflow_report' into 'master'
Bugfix/blufi buffer overflow report

See merge request espressif/esp-idf!9177
2020-06-16 15:58:25 +08:00
Jiang Jiang Jian 0a297dda58 Merge branch 'bugfix/att_buffer_count_fixed' into 'master'
fix acl att buffer count not auccrate

Closes BT-744

See merge request espressif/esp-idf!9071
2020-06-16 15:57:50 +08:00
Jiang Jiang Jian d1aa22e20a Merge branch 'bugfix/airkiss_find_hidden_ap_fail' into 'master'
esp_wifi: fix the bug that airkiss find hidden AP fail

Closes WIFI-2392

See merge request espressif/esp-idf!9080
2020-06-16 14:45:22 +08:00
Angus Gratton a5683f2263 Merge branch 'bugfix/efuse_logs' into 'master'
esp32/esp32s2: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code

Closes IDFGH-3367

See merge request espressif/esp-idf!8904
2020-06-16 13:47:02 +08:00
Angus Gratton 61ab64439b Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
fixes for core dump regressions

See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +08:00
Ivan Grokhotkov 4395be9697 Merge branch 'feature/add_esp32s3_xtensa_cpu_config_files' into 'master'
xtensa: add CPU config files for esp32s3

See merge request espressif/esp-idf!9138
2020-06-16 06:40:25 +08:00
Ivan Grokhotkov 2db04d6e95 Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'
add esp32s3 preview target and rom symbol & header

Closes IDFGH-3474

See merge request espressif/esp-idf!9127
2020-06-16 06:38:43 +08:00
David Čermák f74d5d9517 Merge branch 'bugfix/ws_send_abort' into 'master'
websocket client: the client now aborts the connection if send fails.

Closes IDF-1744

See merge request espressif/esp-idf!8891
2020-06-16 03:36:17 +08:00
wangcheng 999ca60657 blufi: When the format of the received data packet is wrong, reply with an error response 2020-06-15 19:33:28 +08:00
Wang Cheng c65bd02d87 components/bt: Add a detailed description for the user to distinguish the function of the query buffer api. 2020-06-15 18:52:48 +08:00
Geng Yu Chao c453c2b919 Update the limited of function esp_ble_get_sendable_packets_num. 2020-06-15 18:02:34 +08:00
zhangyanjiao b73f62c95d esp_wifi: fix the bug that airkiss find hidden AP fail 2020-06-15 17:13:09 +08:00
Jiang Jiang Jian 2d896d9710 Merge branch 'mesh/bugfix_set_type_idle' into 'master'
mesh: fix bug of dynamic set type idle

Closes WIFI-2402, WIFI-2404, WIFI-2412, WIFI-2400, WIFI-2403, and WIFI-2387

See merge request espressif/esp-idf!8864
2020-06-15 16:49:13 +08:00
chenjianqiang cb4ed98df7 bugfix(timer): improve timer unit test case 2020-06-15 16:12:51 +08:00
Michael (XIAO Xufeng) 0d725c14cc Merge branch 'bugfix/fix_uart_read_write_different_in_buffer_type_issue' into 'master'
Bugfix(driver): fix uart_read_byte and uart_write_byte different in buffer type issue

Closes IDFGH-2418

See merge request espressif/esp-idf!8925
2020-06-15 15:55:53 +08:00
Michael (XIAO Xufeng) 35a34b0f94 Merge branch 'bugfix/freemodbus_fix_opt_perf_comm_fail' into 'master'
freemodbus fix comm fail when optimization for performance option is active

Closes IDFGH-2371

See merge request espressif/esp-idf!8682
2020-06-15 15:20:43 +08:00
Alex Lisitsyn b28b62b194 freemodbus: fix fragmented response frame causes next value fail
drop uart ll driver fix: soc: prevent speculative reads from FIFO at -O2 optimization
(new compiler fixes this issue)
2020-06-15 15:20:42 +08:00
houwenxiang c7e4a284ae test(UART): fix uart tx with ringbuffer test fail issue 2020-06-15 12:03:24 +08:00
chenyudong fa3b76ee9b mesh: fix bug of dynamic set type idle
1. fix bug of dynamic set type idle
2. fix esp_mesh_deinit blocking issue
3. fix ie.mesh_type do not match ie.layer
4. ps enabled devices use new assoc version
2020-06-15 03:03:57 +00:00
Krzysztof Budzynski 79a0e892a0 Merge branch 'feature/coredump_allow_variable_dumping' into 'master'
Added coredump user defined variable into coredump

Closes IDF-44

See merge request espressif/esp-idf!8730
2020-06-15 02:35:38 +08:00
Alexey Gerenkov 1deeadf4c5 Added coredump user defined variable into coredump 2020-06-15 02:35:38 +08:00