Commit graph

13704 commits

Author SHA1 Message Date
morris a34409cffc esp_rom: extract common CRC apis into esp_rom_crc.h 2020-06-23 16:40:14 +08:00
Michael (XIAO Xufeng) 26272af3b4 Merge branch 'test/esp_flash_rw_performance_thr' into 'master'
esp_flash: decrease some of the performance threshold

See merge request espressif/esp-idf!8843
2020-06-23 14:34:19 +08:00
Angus Gratton afce54540c Merge branch 'bugfix/jtag_parallel_num' into 'master'
CI: increase test_jtag_arm parallel count

See merge request espressif/esp-idf!9276
2020-06-23 14:12:38 +08:00
morris 68955bb260 ci: increase test_jtag_arm parallel count 2020-06-23 11:32:34 +08:00
Ivan Grokhotkov c140a66d3d Merge branch 'feature/coredump_pygdbmi' into 'master'
espcoredump: use pygdbmi for interaction with GDB

Closes IDF-48

See merge request espressif/esp-idf!8841
2020-06-23 01:44:45 +08:00
Ivan Grokhotkov 158ae5cbb1 Merge branch 'bugfix/freemodbus_fix_memcmp_coveriity_id291158' into 'master'
freemodbus: bug fix memcmp result truncated to 1 byte (coveriity id291158)

Closes IDF-1836

See merge request espressif/esp-idf!9239
2020-06-23 01:42:59 +08:00
Krzysztof Budzynski cacb5682dd Merge branch 'doc/fix_broken_links' into 'master'
Doc/fix broken links

See merge request espressif/esp-idf!9243
2020-06-22 20:42:59 +08:00
Marius Vikhammer 32761b9782 docs: fix link_roles not linking correctly for certain files
Link_roles could link incorrectly if the name of a file matched the name of a submodule
2020-06-22 20:42:59 +08:00
Jiang Jiang Jian 6453038ed6 Merge branch 'bugfix/wifi_update_tbtt_when_ap_reset_tsf' into 'master'
Add TBTT update when AP reset TSF

Closes WIFI-2444, WIFI-2445, and WIFI-2441

See merge request espressif/esp-idf!9216
2020-06-22 17:35:38 +08:00
Ivan Grokhotkov 3ffacb04b9 Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition' into 'master'
espcoredump: fix error reported for blank partition

Closes IDF-1727

See merge request espressif/esp-idf!8801
2020-06-22 15:54:19 +08:00
Alex Lisitsyn 0d85e0096c espcoredump: fix error reported for blank partition 2020-06-22 15:54:18 +08:00
Ivan Grokhotkov 5aae08e6b4 Merge branch 'feature/pyc_clean' into 'master'
tools/idf.py: Clean Python bytecode files

Closes IDFGH-3368

See merge request espressif/esp-idf!8907
2020-06-22 15:53:41 +08:00
Ivan Grokhotkov b3a76a9d83 Merge branch 'feature/idf_monitor_debug_ws' into 'master'
tools/idf_monitor: add WebSocket client for IDE integration

Closes IDF-1719

See merge request espressif/esp-idf!9032
2020-06-22 15:50:11 +08:00
Michael (XIAO Xufeng) 479269a52b Merge branch 'feature/configure_flash_write_chunk_size' into 'master'
spi_flash: add configuration option to select flash write chunk size

See merge request espressif/esp-idf!9067
2020-06-22 14:50:42 +08:00
Krzysztof Budzynski 4995fe510e Merge branch 'docs/saola_update' into 'master'
Add dimensions of ESP32-S2-Saola-1 User Guide

See merge request espressif/esp-idf!9249
2020-06-22 14:10:39 +08:00
Island 49d69bb235 Merge branch 'bugfix/connect_param_check_and_channel_map_bugs' into 'master'
components/bt:Fix channel map instant reverse and add ble connect paramter check

See merge request espressif/esp-idf!9066
2020-06-22 11:34:46 +08:00
David Čermák 93aa9163c7 Merge branch 'bugfix/pppos_ignored_modem_start_return' into 'master'
pppos client: modem netif fix ignoring potential modem-start error

Closes IDFGH-3470

See merge request espressif/esp-idf!9244
2020-06-19 20:48:49 +08:00
Ivan Grokhotkov 4e9e582134 Merge branch 'bugfix/check_missing_IDF_ENV_FPGA_environment' into 'master'
kconfig: fix IDF_ENV_FPGA not found

See merge request espressif/esp-idf!9200
2020-06-19 18:15:00 +08:00
Angus Gratton ca50718501 Merge branch 'refactor/startup' into 'master'
Startup flow refactor

See merge request espressif/esp-idf!7533
2020-06-19 18:07:13 +08:00
Renz Bagaporo 98f4ccaef5 esp_system: fix other core init issue
Core 1 was not being stopped when in single core mode resulting to GDB
timing out.
2020-06-19 18:40:10 +10:00
Renz Bagaporo 98dc1b0188 esp_system: introduce intermediary function to call after system init
This MR uses an intermediary function `start_app` to call after system
initialization instead of `app_main`.

In RTOS builds, freertos provides `start_app` and calls `app_main`.
In non-RTOS builds, user provides `start_app` directly.
2020-06-19 18:40:10 +10:00
Renz Bagaporo 08cbfa6187 esp_system: fix various review issues 2020-06-19 18:40:10 +10:00
Renz Bagaporo 5e59b4a812 freertos: mark port_xSchedulerRunning as volatile 2020-06-19 18:40:10 +10:00
Renz Bagaporo 3386316f81 docs: fix build issue requiring new location of cpu_start.c 2020-06-19 18:40:10 +10:00
Renz Bagaporo fe12997a07 ci: update build system tests 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo 67983d5c1c esp_system: restore order of some init functions 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo 20d17e648b esp32, esp32s2: remove dependency of cache err int init on freertos 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo 4d094eccca esp_system: move brownout init due to dependency issue 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo 362d7b8f71 efuse: spelling fix 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo 4bc53d44e3 xtensa: use early logging for trax config during startup 2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo ef2a44d251 esp_system: introduce single core mode proxy config 2020-06-19 18:40:10 +10:00
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